[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-06-03 Thread Gianluca Cecchi
On Wed, Jun 3, 2020 at 4:15 PM Yedidyah Bar David  wrote:
[snip]

>
> This looks simply like libvirt was restarted too much too quickly. Did
> you restart it yourself before deploy?
>

No. I installed from iso and after restart I connected to cockpit and run
the gluster wizard for single host


> If not, and it's only due to the deploy process restarting it, then either:
> 1. That's ok, and we should simply configure systemd to allow that,
> 2. or there is some other problem, and restarting libvirt is just a
> symptom.
>
> > Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service:
> Failed with result 'exit-code'.
> > Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: Failed to start
> Virtualization daemon.
> > [root@ovirt01 g.cecchi]#
> >
> > Let me know what files do you want to analyze the problem
> > Under /var/log/ovirt-hosted-engine-setup I have:
> >
> > [root@ovirt01 ovirt-hosted-engine-setup]# ls -lrt
> > total 632
> > -rw-r--r--. 1 root root 123814 Jun  3 15:07
> ovirt-hosted-engine-setup-ansible-get_network_interfaces-20205315737-ooohyb.log
> > -rw-r--r--. 1 root root 126674 Jun  3 15:08
> ovirt-hosted-engine-setup-ansible-validate_hostnames-20205315737-oqixuw.log
> > -rw-r--r--. 1 root root 127548 Jun  3 15:10
> ovirt-hosted-engine-setup-ansible-validate_hostnames-202053151022-yls4qo.log
> > -rw-r--r--. 1 root root 261482 Jun  3 15:13
> ovirt-hosted-engine-setup-ansible-initial_clean-20205315123-7x25zv.log
> > [root@ovirt01 ovirt-hosted-engine-setup]#
>
> Perhaps check these for libvirt restarts, also /var/log/messages (or
> journalctl).
> Do you see there other errors?
>

The latest file contains these last lines with the summary:

2020-06-03 15:13:34,567+0200 INFO SUMMARY:
DurationTask Name

[ < 1 sec ] Execute just a specific set of steps
[  00:01  ] Force facts gathering
[  00:01  ] Install oVirt Hosted Engine packages
[ < 1 sec ] System configuration validations
[  00:01  ] Get all active network interfaces
[ < 1 sec ] Filter bonds with bad naming
[ < 1 sec ] Generate output list
[  00:01  ] Collect interface types
[ < 1 sec ] Get list of Team devices
[ < 1 sec ] Filter unsupported interface types
[ < 1 sec ] Prepare getent key
[ < 1 sec ] Get full hostname
[ < 1 sec ] Set hostname variable if not defined
[ < 1 sec ] Define host address variable if not defined
[ < 1 sec ] Get host address resolution
[ < 1 sec ] Parse host address resolution
[ < 1 sec ] Get target address from selected interface (IPv4)
[ < 1 sec ] Get target address from selected interface (IPv6)
[ < 1 sec ] Check for alias
[ < 1 sec ] Filter resolved address list
[ < 1 sec ] Get engine FQDN resolution
[ < 1 sec ] Parse engine he_fqdn resolution
[ < 1 sec ] Define he_cloud_init_host_name
[ < 1 sec ] Get uuid
[ < 1 sec ] Set he_vm_uuid
[ < 1 sec ] Get uuid
[ < 1 sec ] Set he_nic_uuid
[ < 1 sec ] Get uuid
[ < 1 sec ] Set he_cdrom_uuid
[ < 1 sec ] get timezone
[ < 1 sec ] Set he_time_zone
[  00:01  ] Check firewalld status
[ < 1 sec ] Get default gateway IPv4
[ < 1 sec ] Get default gateway IPv6
[ < 1 sec ] Set he_gateway
[ < 1 sec ] Generate unicast MAC address
[ < 1 sec ] Set he_vm_mac_addr
[ < 1 sec ] Get free memory
[ < 1 sec ] Get cached memory
[ < 1 sec ] Set Max memory
[ < 1 sec ] set he_mem_size_MB to max available if not defined
[ < 1 sec ] Populate service facts
[ < 1 sec ] get max cpus
[ < 1 sec ] Set he_maxvcpus
[ < 1 sec ] Set he_vcpus to maximum amount if not defined
[ < 1 sec ] Stop libvirt service
[  00:01  ] Drop vdsm config statements
[  00:01  ] Restore initial abrt config files
[  00:01  ] Restart abrtd service
[  00:01  ] Drop libvirt sasl2 configuration by vdsm
[  00:01  ] Stop and disable services
[ < 1 sec ] Restore initial libvirt default network configuration
[ FAILED  ] Start libvirt
2020-06-03 15:13:34,567+0200 DEBUG ansible on_any args
 kwargs


Previous lines of the same file contain:
...
2020-06-03 15:13:23,336+0200 DEBUG ansible on_any args localhostTASK:
ovirt.hosted_engine_setup : Check number of chosen CPUs kwargs
2020-06-03 15:13:23,631+0200 INFO ansible skipped {'status': 'SKIPPED',
'ansible_type': 'task', 'ansible_playbook': '/usr/share/ovirt-
hosted-engine-setup/ansible/trigger_role.yml', 'ansible_task': 'Check
number of chosen CPUs', 'ansible_host': 'localhost'}
2020-06-03 15:13:23,632+0200 DEBUG ansible on_any args
 kwargs
2020-06-03 15:13:23,944+0200 INFO ansible task start {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'ovirt.hosted_engine_setup : Stop libvirt service'}
2020-06-03 15:13:23,945+0200 DEBUG ansible on_any args TASK:
ovirt.hosted_engine_setup : Stop libvirt service kwargs
is_conditional:False
2020-06-03 15:13:23,945+0200 DEBUG 

[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-06-03 Thread Joop
On 3-6-2020 15:29, Gianluca Cecchi wrote:
> On Mon, May 25, 2020 at 8:50 AM Yedidyah Bar David  > wrote:
>
> On Sun, May 24, 2020 at 9:36 PM Gianluca Cecchi
> mailto:gianluca.cec...@gmail.com>> wrote:
> >
> > On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David
> mailto:d...@redhat.com>> wrote:
> >>
> >>
> >>
> >> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
> >> Missing /etc/pki/CA/cacert.pem":
> >>
> >> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
> >> mailto:gianluca.cec...@gmail.com>>
> wrote:
> >> >
> >> > I I remember correctly it happened to me during the beta
> cycle and the only "strange" character I used for the admin
> password was the @
> >> > Donna if it related with what you reported for the % character
> >>
> >> Did you open a bug?
> >>
> >> In any case, my above patch is not supposed to fix '@', only
> '%' (I think).
> >>
> >> Thanks and best regards,
> >>
> >
> > No, I didn't open a bug, because I scratched the system and
> installed again this time without the error, but I don't remember
> if I used the same password with the @ character or not
> > I will put attention in case of future 4.4 new installations
>
> Very well, thanks :-)
> -- 
> Didi
>
>
>
> Just to avoid opening a bug for a different thing, today I tried a
> single host HCI setup with the wizard and it failed.
> Installed from ovirt-node-ng final 4.4 iso.
> I see I have no /etc/pki/CA directory on the host at the moment, but I
> don't know if the install workflow had not arrived there yet or what.
> Last lines in my wizard window are these ones below.
I have had this too and saw that during the test week is was also reported.
The 'solution' was to run /usr/sbin/ovirt-hosted-engine-cleanup and let
the wizard stay where it is and afterwards click Redeploy VM and then it
will run to its conclusion. Don't know what precisely it fixes. Had a
look and couldn't find it.

Joop


> Password used contains only letters, numbers and the "_" character in
> this attempt
> I'm in the "Prepare VM" stage.
>
> [ INFO ] TASK [ovirt.hosted_engine_setup : Stop libvirt service]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Drop vdsm config statements]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial abrt config
> files]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restart abrtd service]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Drop libvirt sasl2
> configuration by vdsm]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Stop and disable services]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial libvirt
> default network configuration]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Start libvirt]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> "Unable to start service libvirtd: Job for libvirtd.service failed
> because the control process exited with error code.\nSee \"systemctl
> status libvirtd.service\" and \"journalctl -xe\" for details.\n"}
>
> Status of libvirtd service is this one:
>
> [root@ovirt01 g.cecchi]# systemctl status libvirtd -l --no-pager
> ● libvirtd.service - Virtualization daemon
>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
> vendor preset: enabled)
>   Drop-In: /etc/systemd/system/libvirtd.service.d
>└─unlimited-core.conf
>Active: failed (Result: exit-code) since Wed 2020-06-03 15:13:35
> CEST; 7min ago
>  Docs: man:libvirtd(8)
>https://libvirt.org
>   Process: 20001 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS
> (code=exited, status=6)
>  Main PID: 20001 (code=exited, status=6)
> Tasks: 2 (limit: 32768)
>Memory: 70.1M
>CGroup: /system.slice/libvirtd.service
>├─3926 /usr/sbin/dnsmasq
> --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
> --dhcp-script=/usr/libexec/libvirt_leaseshelper
>└─3927 /usr/sbin/dnsmasq
> --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
> --dhcp-script=/usr/libexec/libvirt_leaseshelper
>
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service:
> Service RestartSec=100ms expired, scheduling restart.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service:
> Scheduled restart job, restart counter is at 5.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: Stopped
> Virtualization daemon.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service:
> Start request repeated too quickly.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service:
> Failed with result 'exit-code'.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: Failed to start
> Virtualization daemon.
> [root@ovirt01 

[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-06-03 Thread Yedidyah Bar David
On Wed, Jun 3, 2020 at 4:30 PM Gianluca Cecchi
 wrote:
>
> On Mon, May 25, 2020 at 8:50 AM Yedidyah Bar David  wrote:
>>
>> On Sun, May 24, 2020 at 9:36 PM Gianluca Cecchi
>>  wrote:
>> >
>> > On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David  
>> > wrote:
>> >>
>> >>
>> >>
>> >> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
>> >> Missing /etc/pki/CA/cacert.pem":
>> >>
>> >> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
>> >>  wrote:
>> >> >
>> >> > I I remember correctly it happened to me during the beta cycle and the 
>> >> > only "strange" character I used for the admin password was the @
>> >> > Donna if it related with what you reported for the % character
>> >>
>> >> Did you open a bug?
>> >>
>> >> In any case, my above patch is not supposed to fix '@', only '%' (I 
>> >> think).
>> >>
>> >> Thanks and best regards,
>> >>
>> >
>> > No, I didn't open a bug, because I scratched the system and installed 
>> > again this time without the error, but I don't remember if I used the same 
>> > password with the @ character or not
>> > I will put attention in case of future 4.4 new installations
>>
>> Very well, thanks :-)
>> --
>> Didi
>
>
>
> Just to avoid opening a bug for a different thing, today I tried a single 
> host HCI setup with the wizard and it failed.
> Installed from ovirt-node-ng final 4.4 iso.
> I see I have no /etc/pki/CA directory on the host at the moment, but I don't 
> know if the install workflow had not arrived there yet or what.
> Last lines in my wizard window are these ones below.
> Password used contains only letters, numbers and the "_" character in this 
> attempt
> I'm in the "Prepare VM" stage.
>
> [ INFO ] TASK [ovirt.hosted_engine_setup : Stop libvirt service]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Drop vdsm config statements]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial abrt config files]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restart abrtd service]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Drop libvirt sasl2 configuration 
> by vdsm]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Stop and disable services]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial libvirt default 
> network configuration]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Start libvirt]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to 
> start service libvirtd: Job for libvirtd.service failed because the control 
> process exited with error code.\nSee \"systemctl status libvirtd.service\" 
> and \"journalctl -xe\" for details.\n"}
>
> Status of libvirtd service is this one:
>
> [root@ovirt01 g.cecchi]# systemctl status libvirtd -l --no-pager
> ● libvirtd.service - Virtualization daemon
>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor 
> preset: enabled)
>   Drop-In: /etc/systemd/system/libvirtd.service.d
>└─unlimited-core.conf
>Active: failed (Result: exit-code) since Wed 2020-06-03 15:13:35 CEST; 
> 7min ago
>  Docs: man:libvirtd(8)
>https://libvirt.org
>   Process: 20001 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, 
> status=6)
>  Main PID: 20001 (code=exited, status=6)
> Tasks: 2 (limit: 32768)
>Memory: 70.1M
>CGroup: /system.slice/libvirtd.service
>├─3926 /usr/sbin/dnsmasq 
> --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro 
> --dhcp-script=/usr/libexec/libvirt_leaseshelper
>└─3927 /usr/sbin/dnsmasq 
> --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro 
> --dhcp-script=/usr/libexec/libvirt_leaseshelper
>
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service: Service 
> RestartSec=100ms expired, scheduling restart.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service: 
> Scheduled restart job, restart counter is at 5.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: Stopped Virtualization 
> daemon.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service: Start 
> request repeated too quickly.

This looks simply like libvirt was restarted too much too quickly. Did
you restart it yourself before deploy?

If not, and it's only due to the deploy process restarting it, then either:
1. That's ok, and we should simply configure systemd to allow that,
2. or there is some other problem, and restarting libvirt is just a symptom.

> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service: Failed 
> with result 'exit-code'.
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: Failed to start 
> Virtualization daemon.
> [root@ovirt01 g.cecchi]#
>
> Let me know what files do you want to analyze the problem
> Under /var/log/ovirt-hosted-engine-setup I have:
>
> [root@ovirt01 

[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-06-03 Thread Gianluca Cecchi
On Mon, May 25, 2020 at 8:50 AM Yedidyah Bar David  wrote:

> On Sun, May 24, 2020 at 9:36 PM Gianluca Cecchi
>  wrote:
> >
> > On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David 
> wrote:
> >>
> >>
> >>
> >> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
> >> Missing /etc/pki/CA/cacert.pem":
> >>
> >> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
> >>  wrote:
> >> >
> >> > I I remember correctly it happened to me during the beta cycle and
> the only "strange" character I used for the admin password was the @
> >> > Donna if it related with what you reported for the % character
> >>
> >> Did you open a bug?
> >>
> >> In any case, my above patch is not supposed to fix '@', only '%' (I
> think).
> >>
> >> Thanks and best regards,
> >>
> >
> > No, I didn't open a bug, because I scratched the system and installed
> again this time without the error, but I don't remember if I used the same
> password with the @ character or not
> > I will put attention in case of future 4.4 new installations
>
> Very well, thanks :-)
> --
> Didi
>


Just to avoid opening a bug for a different thing, today I tried a single
host HCI setup with the wizard and it failed.
Installed from ovirt-node-ng final 4.4 iso.
I see I have no /etc/pki/CA directory on the host at the moment, but I
don't know if the install workflow had not arrived there yet or what.
Last lines in my wizard window are these ones below.
Password used contains only letters, numbers and the "_" character in this
attempt
I'm in the "Prepare VM" stage.

[ INFO ] TASK [ovirt.hosted_engine_setup : Stop libvirt service]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Drop vdsm config statements]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial abrt config
files]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Restart abrtd service]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Drop libvirt sasl2 configuration
by vdsm]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Stop and disable services]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial libvirt default
network configuration]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Start libvirt]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable
to start service libvirtd: Job for libvirtd.service failed because the
control process exited with error code.\nSee \"systemctl status
libvirtd.service\" and \"journalctl -xe\" for details.\n"}

Status of libvirtd service is this one:

[root@ovirt01 g.cecchi]# systemctl status libvirtd -l --no-pager
● libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
vendor preset: enabled)
  Drop-In: /etc/systemd/system/libvirtd.service.d
   └─unlimited-core.conf
   Active: failed (Result: exit-code) since Wed 2020-06-03 15:13:35 CEST;
7min ago
 Docs: man:libvirtd(8)
   https://libvirt.org
  Process: 20001 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited,
status=6)
 Main PID: 20001 (code=exited, status=6)
Tasks: 2 (limit: 32768)
   Memory: 70.1M
   CGroup: /system.slice/libvirtd.service
   ├─3926 /usr/sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/usr/libexec/libvirt_leaseshelper
   └─3927 /usr/sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
--dhcp-script=/usr/libexec/libvirt_leaseshelper

Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service:
Service RestartSec=100ms expired, scheduling restart.
Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service:
Scheduled restart job, restart counter is at 5.
Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: Stopped Virtualization
daemon.
Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service: Start
request repeated too quickly.
Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service: Failed
with result 'exit-code'.
Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: Failed to start
Virtualization daemon.
[root@ovirt01 g.cecchi]#

Let me know what files do you want to analyze the problem
Under /var/log/ovirt-hosted-engine-setup I have:

[root@ovirt01 ovirt-hosted-engine-setup]# ls -lrt
total 632
-rw-r--r--. 1 root root 123814 Jun  3 15:07
ovirt-hosted-engine-setup-ansible-get_network_interfaces-20205315737-ooohyb.log
-rw-r--r--. 1 root root 126674 Jun  3 15:08
ovirt-hosted-engine-setup-ansible-validate_hostnames-20205315737-oqixuw.log
-rw-r--r--. 1 root root 127548 Jun  3 15:10
ovirt-hosted-engine-setup-ansible-validate_hostnames-202053151022-yls4qo.log
-rw-r--r--. 1 root root 261482 Jun  3 15:13
ovirt-hosted-engine-setup-ansible-initial_clean-20205315123-7x25zv.log
[root@ovirt01 ovirt-hosted-engine-setup]#

In this environment no dns but entry in /etc/hosts of the server.
Host 

[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-27 Thread Strahil Nikolov via Users
Hey Didi,

yes  this  one.
The user has spent some time to fill in the template,  so we shouldn't expect 
that this user should also dedicate extra time to search for articles :)

Best Regards,
Strahil Nikolov

На 26 май 2020 г. 14:29:57 GMT+03:00, Yedidyah Bar David  
написа:
>On Tue, May 26, 2020 at 2:05 PM Strahil Nikolov 
>wrote:
>>
>> Hey Didi,
>>
>> usually  I fill in the bugzilla template . If it's possible ,  maybe
>we can change the oVirt bugzilla template to cover everything necessary
>?
>
>Do you refer to this:
>
>Description of problem:
>Version-Release number of selected component (if applicable):
>How reproducible:
>Steps to Reproduce:
>1.
>2.
>3.
>Actual results:
>Expected results:
>Additional info:
>
>?
>
>I think we can change it, no idea about details.
>
>That said, I think it's already detailed enough. You have in the form
>also a way to upload logs, etc.
>
>I think it's enough for every open-source-software-user to spend at
>least one time in his career the time needed to read one of the "how
>to report bugs" howtos on the net, no need to repeat it in the form.
>
>Also, like everything else, some experience in doing this helps a
>lot...
>
>Best regards,
>
>>
>> Best Regards,
>> Strahil Nikolov
>>
>> На 25 май 2020 г. 9:50:11 GMT+03:00, Yedidyah Bar David
> написа:
>> >On Sun, May 24, 2020 at 9:36 PM Gianluca Cecchi
>> > wrote:
>> >>
>> >> On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David
>
>> >wrote:
>> >>>
>> >>>
>> >>>
>> >>> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure
>-
>> >>> Missing /etc/pki/CA/cacert.pem":
>> >>>
>> >>> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
>> >>>  wrote:
>> >>> >
>> >>> > I I remember correctly it happened to me during the beta cycle
>and
>> >the only "strange" character I used for the admin password was the @
>> >>> > Donna if it related with what you reported for the % character
>> >>>
>> >>> Did you open a bug?
>> >>>
>> >>> In any case, my above patch is not supposed to fix '@', only '%'
>(I
>> >think).
>> >>>
>> >>> Thanks and best regards,
>> >>>
>> >>
>> >> No, I didn't open a bug, because I scratched the system and
>installed
>> >again this time without the error, but I don't remember if I used
>the
>> >same password with the @ character or not
>> >> I will put attention in case of future 4.4 new installations
>> >
>> >Very well, thanks :-)
>>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZZAO5I3W7AEDYVF3A43NIHYTC4B2T74B/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-26 Thread Yedidyah Bar David
On Tue, May 26, 2020 at 2:05 PM Strahil Nikolov  wrote:
>
> Hey Didi,
>
> usually  I fill in the bugzilla template . If it's possible ,  maybe we can 
> change the oVirt bugzilla template to cover everything necessary ?

Do you refer to this:

Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:

?

I think we can change it, no idea about details.

That said, I think it's already detailed enough. You have in the form
also a way to upload logs, etc.

I think it's enough for every open-source-software-user to spend at
least one time in his career the time needed to read one of the "how
to report bugs" howtos on the net, no need to repeat it in the form.

Also, like everything else, some experience in doing this helps a lot...

Best regards,

>
> Best Regards,
> Strahil Nikolov
>
> На 25 май 2020 г. 9:50:11 GMT+03:00, Yedidyah Bar David  
> написа:
> >On Sun, May 24, 2020 at 9:36 PM Gianluca Cecchi
> > wrote:
> >>
> >> On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David 
> >wrote:
> >>>
> >>>
> >>>
> >>> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
> >>> Missing /etc/pki/CA/cacert.pem":
> >>>
> >>> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
> >>>  wrote:
> >>> >
> >>> > I I remember correctly it happened to me during the beta cycle and
> >the only "strange" character I used for the admin password was the @
> >>> > Donna if it related with what you reported for the % character
> >>>
> >>> Did you open a bug?
> >>>
> >>> In any case, my above patch is not supposed to fix '@', only '%' (I
> >think).
> >>>
> >>> Thanks and best regards,
> >>>
> >>
> >> No, I didn't open a bug, because I scratched the system and installed
> >again this time without the error, but I don't remember if I used the
> >same password with the @ character or not
> >> I will put attention in case of future 4.4 new installations
> >
> >Very well, thanks :-)
>


-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7XKAKGHB2KVZZ2F54CU3QEBLPHMF2G7W/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-26 Thread Strahil Nikolov via Users
Hey Didi,

usually  I fill in the bugzilla template . If it's possible ,  maybe we can 
change the oVirt bugzilla template to cover everything necessary ?

Best Regards,
Strahil Nikolov

На 25 май 2020 г. 9:50:11 GMT+03:00, Yedidyah Bar David  
написа:
>On Sun, May 24, 2020 at 9:36 PM Gianluca Cecchi
> wrote:
>>
>> On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David 
>wrote:
>>>
>>>
>>>
>>> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
>>> Missing /etc/pki/CA/cacert.pem":
>>>
>>> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
>>>  wrote:
>>> >
>>> > I I remember correctly it happened to me during the beta cycle and
>the only "strange" character I used for the admin password was the @
>>> > Donna if it related with what you reported for the % character
>>>
>>> Did you open a bug?
>>>
>>> In any case, my above patch is not supposed to fix '@', only '%' (I
>think).
>>>
>>> Thanks and best regards,
>>>
>>
>> No, I didn't open a bug, because I scratched the system and installed
>again this time without the error, but I don't remember if I used the
>same password with the @ character or not
>> I will put attention in case of future 4.4 new installations
>
>Very well, thanks :-)
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GVN2I677TJ4V3IDMGNL7QZGPD35X6CA5/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-25 Thread Yedidyah Bar David
On Sun, May 24, 2020 at 9:36 PM Gianluca Cecchi
 wrote:
>
> On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David  wrote:
>>
>>
>>
>> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
>> Missing /etc/pki/CA/cacert.pem":
>>
>> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
>>  wrote:
>> >
>> > I I remember correctly it happened to me during the beta cycle and the 
>> > only "strange" character I used for the admin password was the @
>> > Donna if it related with what you reported for the % character
>>
>> Did you open a bug?
>>
>> In any case, my above patch is not supposed to fix '@', only '%' (I think).
>>
>> Thanks and best regards,
>>
>
> No, I didn't open a bug, because I scratched the system and installed again 
> this time without the error, but I don't remember if I used the same password 
> with the @ character or not
> I will put attention in case of future 4.4 new installations

Very well, thanks :-)
-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HEZ2QQDQLT6FTOLYQPRMCMTBS7VW7BTW/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-25 Thread Yedidyah Bar David
On Sun, May 24, 2020 at 5:44 PM Stephen Panicho  wrote:
>
> Created a bug report at https://bugzilla.redhat.com/show_bug.cgi?id=1839533 
> (forgive me if this is improperly categorized...)

Thanks!

A note, also to everyone:

The most important part of a bug report is an accurate and complete
reproduction description.
The second most important is enough relevant logs.
Metadata is not important in the report. It's important later on, but
someone will manage to fix it later on...
Well, metadata might be important for making sure the bug won't be
forgotten somewhere. But sending the link like you did now is also
enough for that.

That's, obviously, IMHO :-)

There are several articles on the net about "how to submit a good bug
report" or stuff like that. It's been many years since I read one, but
I think they'll agree with the above.

Best regards,

>
> On Sun, May 24, 2020 at 5:47 AM Yedidyah Bar David  wrote:
>>
>> On Sun, May 24, 2020 at 12:08 PM Yedidyah Bar David  wrote:
>> >
>> > On Sun, May 24, 2020 at 9:51 AM Strahil Nikolov via Users
>> >  wrote:
>> > >
>> > > Hi Stephen,
>> > >
>> > > I think it's a regression. Could you open an issue/bug .
>> >
>> > It is. Thanks for the report. Here is a fix:
>> >
>> > https://gerrit.ovirt.org/109244
>> >
>> > Did any of you open a bug? If not, I'll open one. Thanks.
>> >
>> > Best regards,
>>
>> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
>> Missing /etc/pki/CA/cacert.pem":
>>
>> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
>>  wrote:
>> >
>> > I I remember correctly it happened to me during the beta cycle and the 
>> > only "strange" character I used for the admin password was the @
>> > Donna if it related with what you reported for the % character
>>
>> Did you open a bug?
>>
>> In any case, my above patch is not supposed to fix '@', only '%' (I think).
>>
>> Thanks and best regards,
>>
>> >
>> > >
>> > > Best Regards,
>> > > Strahil Nikolov
>> > >
>> > > На 24 май 2020 г. 2:28:41 GMT+03:00, Stephen Panicho 
>> > >  написа:
>> > >>
>> > >> I encountered this error when deploying the Hosted Engine via Cockpit:
>> > >>
>> > >> [ INFO ] TASK [ovirt.engine-setup : Run engine-setup with answerfile]
>> > >> [ ERROR ] fatal: [localhost -> engine.ovirt.trashnet.xyz]: FAILED! => 
>> > >> {"changed": true, "cmd": ["engine-setup", "--accept-defaults", 
>> > >> "--config-append=/root/ovirt-engine-answers"], "delta": 
>> > >> "0:00:01.396490", "end": "2020-05-22 18:32:41.965984", "msg": "non-zero 
>> > >> return code", "rc": 1, "start": "2020-05-22 18:32:40.569494", "stderr": 
>> > >> "", "stderr_lines": [], "stdout": "[ INFO ] Stage: Initializing\n[ 
>> > >> ERROR ] Failed to execute stage 'Initializing': '%' must be followed by 
>> > >> '%' or '(', found: '%JUUj'\n[ INFO ] Stage: Clean up\n Log file is 
>> > >> located at 
>> > >> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log\n[
>> > >>  ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no 
>> > >> attribute 'cleanup'\n[ INFO ] Generating answer file 
>> > >> '/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'\n[ INFO 
>> > >> ] Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] 
>> > >> Execution of setup failed", "stdout_lines": ["[ INFO ] Stage: 
>> > >> Initializing", "[ ERROR ] Failed to execute stage 'Initializing': '%' 
>> > >> must be followed by '%' or '(', found: '%JUUj'", "[ INFO ] Stage: Clean 
>> > >> up", " Log file is located at 
>> > >> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log",
>> > >>  "[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has 
>> > >> no attribute 'cleanup'", "[ INFO ] Generating answer file 
>> > >> '/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'", "[ 
>> > >> INFO ] Stage: Pre-termination", "[ INFO ] Stage: Termination", "[ ERROR 
>> > >> ] Execution of setup failed"]}
>> > >>
>> > >> The important bit is this: Failed to execute stage 'Initializing': '%' 
>> > >> must be followed by '%' or '(', found: '%JUUj'"
>> > >>
>> > >> Hey! Those are the last few characters of the admin password. Note that 
>> > >> I don't mean the root password to the VM, but the one for the "admin" 
>> > >> user of the web interface. I added some debug lines to the Ansible play 
>> > >> to see the answerfile that was being generated.
>> > >>
>> > >> OVESETUP_CONFIG/adminPassword=str:&6#b%JUUj
>> > >>
>> > >> Apparently engine-setup can no longer handle an answerfile with a "%" 
>> > >> character in it. This same password worked in 4.3.
>> > >>
>> > >> Once I changed the admin password, installation progressed normally.
>> > >
>> > >
>> > > --
>> > > Изпратено от моето Андроид у-во чрез K-9 Mail. Моля да ме извините за 
>> > > краткият ми изказ.
>> > > ___
>> > > Users mailing list -- users@ovirt.org
>> > > To unsubscribe send an email to users-le...@ovirt.org
>> > > Privacy Statement: 

[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-24 Thread Gianluca Cecchi
On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David  wrote:

>
>
> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
> Missing /etc/pki/CA/cacert.pem":
>
> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
>  wrote:
> >
> > I I remember correctly it happened to me during the beta cycle and the
> only "strange" character I used for the admin password was the @
> > Donna if it related with what you reported for the % character
>
> Did you open a bug?
>
> In any case, my above patch is not supposed to fix '@', only '%' (I think).
>
> Thanks and best regards,
>
>
No, I didn't open a bug, because I scratched the system and installed again
this time without the error, but I don't remember if I used the same
password with the @ character or not
I will put attention in case of future 4.4 new installations

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E442BICPCBJPC3LYCFPCVXOZFIVPLXV4/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-24 Thread Stephen Panicho
Created a bug report at https://bugzilla.redhat.com/show_bug.cgi?id=1839533
(forgive me if this is improperly categorized...)

On Sun, May 24, 2020 at 5:47 AM Yedidyah Bar David  wrote:

> On Sun, May 24, 2020 at 12:08 PM Yedidyah Bar David 
> wrote:
> >
> > On Sun, May 24, 2020 at 9:51 AM Strahil Nikolov via Users
> >  wrote:
> > >
> > > Hi Stephen,
> > >
> > > I think it's a regression. Could you open an issue/bug .
> >
> > It is. Thanks for the report. Here is a fix:
> >
> > https://gerrit.ovirt.org/109244
> >
> > Did any of you open a bug? If not, I'll open one. Thanks.
> >
> > Best regards,
>
> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
> Missing /etc/pki/CA/cacert.pem":
>
> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
>  wrote:
> >
> > I I remember correctly it happened to me during the beta cycle and the
> only "strange" character I used for the admin password was the @
> > Donna if it related with what you reported for the % character
>
> Did you open a bug?
>
> In any case, my above patch is not supposed to fix '@', only '%' (I think).
>
> Thanks and best regards,
>
> >
> > >
> > > Best Regards,
> > > Strahil Nikolov
> > >
> > > На 24 май 2020 г. 2:28:41 GMT+03:00, Stephen Panicho <
> s.pani...@gmail.com> написа:
> > >>
> > >> I encountered this error when deploying the Hosted Engine via Cockpit:
> > >>
> > >> [ INFO ] TASK [ovirt.engine-setup : Run engine-setup with answerfile]
> > >> [ ERROR ] fatal: [localhost -> engine.ovirt.trashnet.xyz]: FAILED!
> => {"changed": true, "cmd": ["engine-setup", "--accept-defaults",
> "--config-append=/root/ovirt-engine-answers"], "delta": "0:00:01.396490",
> "end": "2020-05-22 18:32:41.965984", "msg": "non-zero return code", "rc":
> 1, "start": "2020-05-22 18:32:40.569494", "stderr": "", "stderr_lines": [],
> "stdout": "[ INFO ] Stage: Initializing\n[ ERROR ] Failed to execute stage
> 'Initializing': '%' must be followed by '%' or '(', found: '%JUUj'\n[ INFO
> ] Stage: Clean up\n Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log\n[
> ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no
> attribute 'cleanup'\n[ INFO ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'\n[ INFO ]
> Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] Execution of
> setup failed", "stdout_lines": ["[ INFO ] Stage: Initializing", "[ ERROR ]
> Failed to execute stage 'Initializing': '%' must be followed by '%' or '(',
> found: '%JUUj'", "[ INFO ] Stage: Clean up", " Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log",
> "[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no
> attribute 'cleanup'", "[ INFO ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'", "[ INFO ]
> Stage: Pre-termination", "[ INFO ] Stage: Termination", "[ ERROR ]
> Execution of setup failed"]}
> > >>
> > >> The important bit is this: Failed to execute stage 'Initializing':
> '%' must be followed by '%' or '(', found: '%JUUj'"
> > >>
> > >> Hey! Those are the last few characters of the admin password. Note
> that I don't mean the root password to the VM, but the one for the "admin"
> user of the web interface. I added some debug lines to the Ansible play to
> see the answerfile that was being generated.
> > >>
> > >> OVESETUP_CONFIG/adminPassword=str:&6#b%JUUj
> > >>
> > >> Apparently engine-setup can no longer handle an answerfile with a "%"
> character in it. This same password worked in 4.3.
> > >>
> > >> Once I changed the admin password, installation progressed normally.
> > >
> > >
> > > --
> > > Изпратено от моето Андроид у-во чрез K-9 Mail. Моля да ме извините за
> краткият ми изказ.
> > > ___
> > > Users mailing list -- users@ovirt.org
> > > To unsubscribe send an email to users-le...@ovirt.org
> > > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > > oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> > > List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/OHDBPINYMOJVS3PYBNF2IVW72QZOSRTV/
> >
> >
> >
> > --
> > Didi
>
>
>
> --
> Didi
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WOY36ZACG2FGEVDMQVJOTJCMXS3URQXL/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-24 Thread Yedidyah Bar David
On Sun, May 24, 2020 at 12:08 PM Yedidyah Bar David  wrote:
>
> On Sun, May 24, 2020 at 9:51 AM Strahil Nikolov via Users
>  wrote:
> >
> > Hi Stephen,
> >
> > I think it's a regression. Could you open an issue/bug .
>
> It is. Thanks for the report. Here is a fix:
>
> https://gerrit.ovirt.org/109244
>
> Did any of you open a bug? If not, I'll open one. Thanks.
>
> Best regards,

Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
Missing /etc/pki/CA/cacert.pem":

On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
 wrote:
>
> I I remember correctly it happened to me during the beta cycle and the only 
> "strange" character I used for the admin password was the @
> Donna if it related with what you reported for the % character

Did you open a bug?

In any case, my above patch is not supposed to fix '@', only '%' (I think).

Thanks and best regards,

>
> >
> > Best Regards,
> > Strahil Nikolov
> >
> > На 24 май 2020 г. 2:28:41 GMT+03:00, Stephen Panicho  
> > написа:
> >>
> >> I encountered this error when deploying the Hosted Engine via Cockpit:
> >>
> >> [ INFO ] TASK [ovirt.engine-setup : Run engine-setup with answerfile]
> >> [ ERROR ] fatal: [localhost -> engine.ovirt.trashnet.xyz]: FAILED! => 
> >> {"changed": true, "cmd": ["engine-setup", "--accept-defaults", 
> >> "--config-append=/root/ovirt-engine-answers"], "delta": "0:00:01.396490", 
> >> "end": "2020-05-22 18:32:41.965984", "msg": "non-zero return code", "rc": 
> >> 1, "start": "2020-05-22 18:32:40.569494", "stderr": "", "stderr_lines": 
> >> [], "stdout": "[ INFO ] Stage: Initializing\n[ ERROR ] Failed to execute 
> >> stage 'Initializing': '%' must be followed by '%' or '(', found: 
> >> '%JUUj'\n[ INFO ] Stage: Clean up\n Log file is located at 
> >> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log\n[
> >>  ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no 
> >> attribute 'cleanup'\n[ INFO ] Generating answer file 
> >> '/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'\n[ INFO ] 
> >> Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] Execution 
> >> of setup failed", "stdout_lines": ["[ INFO ] Stage: Initializing", "[ 
> >> ERROR ] Failed to execute stage 'Initializing': '%' must be followed by 
> >> '%' or '(', found: '%JUUj'", "[ INFO ] Stage: Clean up", " Log file is 
> >> located at 
> >> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log", 
> >> "[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no 
> >> attribute 'cleanup'", "[ INFO ] Generating answer file 
> >> '/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'", "[ INFO 
> >> ] Stage: Pre-termination", "[ INFO ] Stage: Termination", "[ ERROR ] 
> >> Execution of setup failed"]}
> >>
> >> The important bit is this: Failed to execute stage 'Initializing': '%' 
> >> must be followed by '%' or '(', found: '%JUUj'"
> >>
> >> Hey! Those are the last few characters of the admin password. Note that I 
> >> don't mean the root password to the VM, but the one for the "admin" user 
> >> of the web interface. I added some debug lines to the Ansible play to see 
> >> the answerfile that was being generated.
> >>
> >> OVESETUP_CONFIG/adminPassword=str:&6#b%JUUj
> >>
> >> Apparently engine-setup can no longer handle an answerfile with a "%" 
> >> character in it. This same password worked in 4.3.
> >>
> >> Once I changed the admin password, installation progressed normally.
> >
> >
> > --
> > Изпратено от моето Андроид у-во чрез K-9 Mail. Моля да ме извините за 
> > краткият ми изказ.
> > ___
> > Users mailing list -- users@ovirt.org
> > To unsubscribe send an email to users-le...@ovirt.org
> > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > oVirt Code of Conduct: 
> > https://www.ovirt.org/community/about/community-guidelines/
> > List Archives: 
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/OHDBPINYMOJVS3PYBNF2IVW72QZOSRTV/
>
>
>
> --
> Didi



-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/36M32KPJTGR6OV3VTDUQHVVIGSKL3DYO/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-24 Thread Yedidyah Bar David
On Sun, May 24, 2020 at 9:51 AM Strahil Nikolov via Users
 wrote:
>
> Hi Stephen,
>
> I think it's a regression. Could you open an issue/bug .

It is. Thanks for the report. Here is a fix:

https://gerrit.ovirt.org/109244

Did any of you open a bug? If not, I'll open one. Thanks.

Best regards,

>
> Best Regards,
> Strahil Nikolov
>
> На 24 май 2020 г. 2:28:41 GMT+03:00, Stephen Panicho  
> написа:
>>
>> I encountered this error when deploying the Hosted Engine via Cockpit:
>>
>> [ INFO ] TASK [ovirt.engine-setup : Run engine-setup with answerfile]
>> [ ERROR ] fatal: [localhost -> engine.ovirt.trashnet.xyz]: FAILED! => 
>> {"changed": true, "cmd": ["engine-setup", "--accept-defaults", 
>> "--config-append=/root/ovirt-engine-answers"], "delta": "0:00:01.396490", 
>> "end": "2020-05-22 18:32:41.965984", "msg": "non-zero return code", "rc": 1, 
>> "start": "2020-05-22 18:32:40.569494", "stderr": "", "stderr_lines": [], 
>> "stdout": "[ INFO ] Stage: Initializing\n[ ERROR ] Failed to execute stage 
>> 'Initializing': '%' must be followed by '%' or '(', found: '%JUUj'\n[ INFO ] 
>> Stage: Clean up\n Log file is located at 
>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log\n[ 
>> ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no 
>> attribute 'cleanup'\n[ INFO ] Generating answer file 
>> '/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'\n[ INFO ] 
>> Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] Execution of 
>> setup failed", "stdout_lines": ["[ INFO ] Stage: Initializing", "[ ERROR ] 
>> Failed to execute stage 'Initializing': '%' must be followed by '%' or '(', 
>> found: '%JUUj'", "[ INFO ] Stage: Clean up", " Log file is located at 
>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log", 
>> "[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no 
>> attribute 'cleanup'", "[ INFO ] Generating answer file 
>> '/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'", "[ INFO ] 
>> Stage: Pre-termination", "[ INFO ] Stage: Termination", "[ ERROR ] Execution 
>> of setup failed"]}
>>
>> The important bit is this: Failed to execute stage 'Initializing': '%' must 
>> be followed by '%' or '(', found: '%JUUj'"
>>
>> Hey! Those are the last few characters of the admin password. Note that I 
>> don't mean the root password to the VM, but the one for the "admin" user of 
>> the web interface. I added some debug lines to the Ansible play to see the 
>> answerfile that was being generated.
>>
>> OVESETUP_CONFIG/adminPassword=str:&6#b%JUUj
>>
>> Apparently engine-setup can no longer handle an answerfile with a "%" 
>> character in it. This same password worked in 4.3.
>>
>> Once I changed the admin password, installation progressed normally.
>
>
> --
> Изпратено от моето Андроид у-во чрез K-9 Mail. Моля да ме извините за 
> краткият ми изказ.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/OHDBPINYMOJVS3PYBNF2IVW72QZOSRTV/



-- 
Didi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YWKDW4YUYKG74QMXCH4ZZ3O3OJYEWPQM/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-05-24 Thread Strahil Nikolov via Users
Hi Stephen,

I think it's a regression. Could you open an issue/bug .

Best Regards,
Strahil Nikolov

На 24 май 2020 г. 2:28:41 GMT+03:00, Stephen Panicho  
написа:
>I encountered this error when deploying the Hosted Engine via Cockpit:
>
>[ INFO ] TASK [ovirt.engine-setup : Run engine-setup with answerfile]
>[ ERROR ] fatal: [localhost -> engine.ovirt.trashnet.xyz]: FAILED! =>
>{"changed": true, "cmd": ["engine-setup", "--accept-defaults",
>"--config-append=/root/ovirt-engine-answers"], "delta":
>"0:00:01.396490",
>"end": "2020-05-22 18:32:41.965984", "msg": "non-zero return code",
>"rc":
>1, "start": "2020-05-22 18:32:40.569494", "stderr": "", "stderr_lines":
>[],
>"stdout": "[ INFO ] Stage: Initializing\n[ ERROR ] Failed to execute
>stage
>'Initializing': '%' must be followed by '%' or '(', found: '%JUUj'\n[
>INFO
>] Stage: Clean up\n Log file is located at
>/var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log\n[
>ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no
>attribute 'cleanup'\n[ INFO ] Generating answer file
>'/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'\n[ INFO
>]
>Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ]
>Execution of
>setup failed", "stdout_lines": ["[ INFO ] Stage: Initializing", "[
>ERROR ]
>Failed to execute stage 'Initializing': '%' must be followed by '%' or
>'(',
>found: '%JUUj'", "[ INFO ] Stage: Clean up", " Log file is located at
>/var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log",
>"[ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no
>attribute 'cleanup'", "[ INFO ] Generating answer file
>'/var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf'", "[
>INFO ]
>Stage: Pre-termination", "[ INFO ] Stage: Termination", "[ ERROR ]
>Execution of setup failed"]}
>
>The important bit is this: Failed to execute stage 'Initializing': '%'
>must
>be followed by '%' or '(', found: '%JUUj'"
>
>Hey! Those are the last few characters of the admin password. Note that
>I
>don't mean the root password to the VM, but the one for the "admin"
>user of
>the web interface. I added some debug lines to the Ansible play to see
>the
>answerfile that was being generated.
>
>OVESETUP_CONFIG/adminPassword=str:&6#b%JUUj
>
>Apparently engine-setup can no longer handle an answerfile with a "%"
>character in it. This same password worked in 4.3.
>
>Once I changed the admin password, installation progressed normally.

-- 
Изпратено от моето Андроид у-во чрез K-9 Mail. Моля да ме извините за краткият 
ми изказ.___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OHDBPINYMOJVS3PYBNF2IVW72QZOSRTV/