Fixed the above in
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/6QODLB6J5Z74YCVF6C3TLQPF4KK7RKB5/

On Fri, May 22, 2020 at 2:43 PM Stephen Panicho <s.pani...@gmail.com> wrote:

> Looks like I spoke too soon. I can get to the point where
> HostedEngineLocal comes up, but it fails to run engine-setup.
>
> The ansible output:
> [ 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"]}
>
> SSHing to the HostedEngineLocal to get the logs...
>
> /var/lib/ovirt-engine/setup/answers/20200522183241-setup.conf:
> # OTOPI answer file, generated by human dialog
> [environment:default]
>
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20200522183241-c7d1kh.log:
> I'll attach this one because it's huge.
>
> On Fri, May 22, 2020 at 2:11 PM Stephen Panicho <s.pani...@gmail.com>
> wrote:
>
>> That fixed it! Thanks so much for the help, Joop.
>>
>> On Fri, May 22, 2020 at 1:07 PM Joop <jvdw...@xs4all.nl> wrote:
>>
>>> On 22-5-2020 17:59, Stephen Panicho wrote:
>>>
>>> Hey Marcin. There aren't any logs for those services as they haven't
>>> been started yet. This failure happens very early in the deploy, just after
>>> the page where you configure the engine VM settings.
>>>
>>> Unfortunately, I can't try a redeploy on the same node because libvirtd
>>> is now in a bad state and can't come up at all. I now get the following
>>> error once we get past the Gluster Wizard and move on the the Hosted Engine
>>> Deploy:
>>> "libvirt is not running! Please ensure it is running before starting the
>>> wizard, so system capabilities can be queried."
>>>
>>> I'll sift through the ansible to see what it changed and report back.
>>> But I'd still like to get past this /etc/pki/CA/cacert.pem issue.
>>>
>>> On Fri, May 22, 2020 at 4:45 AM Marcin Sobczyk <msobc...@redhat.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> On 5/22/20 7:06 AM, Stephen Panicho wrote:
>>>>
>>>> Hi all! I'm using Cockpit to perform an HCI install, and it fails at
>>>> the hosted engine deploy. Libvirtd can't restart because of a missing
>>>> /etc/pki/CA/cacert.pem file.
>>>>
>>>> The log (tasks seemingly from
>>>> /usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/initial_clean.yml):
>>>> [ 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"}
>>>>
>>>> journalctl -u libvirtd:
>>>> May 22 04:33:25 node1 libvirtd[26392]: libvirt version: 5.6.0, package:
>>>> 10.el8 (CBS < <c...@centos.org>c...@centos.org>, 2020-02-27-01:09:46, )
>>>> May 22 04:33:25 node1 libvirtd[26392]: hostname: node1
>>>> May 22 04:33:25 node1 libvirtd[26392]: Cannot read CA certificate
>>>> '/etc/pki/CA/cacert.pem': No such file or directory
>>>> May 22 04:33:25 node1 systemd[1]: libvirtd.service: Main process
>>>> exited, code=exited, status=6/NOTCONFIGURED
>>>> May 22 04:33:25 node1 systemd[1]: libvirtd.service: Failed with result
>>>> 'exit-code'.
>>>> May 22 04:33:25 node1 systemd[1]: Failed to start Virtualization daemon.
>>>>
>>>> Can you please share journalctl logs for vdsmd and supervdsmd?
>>>>
>>> I hate it when I have to say: me too.
>>>
>>> BUT during test week I think Simone had the same problem and did a
>>> /usr/sbin/ovirt-hosted-engine-cleanup?? and then you can retry the deply
>>> from the wizard.
>>> To recapitulate: Follow the HCI cockpit wizard until you get the error
>>> then open a terminal and cleanup and then retry the deployment. It will
>>> succeed. Did this yesterday and it worked.
>>> Even tried to run cleanup before starting the wizard but thats a no
>>> success.
>>>
>>> Greetings
>>>
>>> Joop
>>>
>>> _______________________________________________
>>> 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/4PUIES2JGAFHJY6BJG5MQY4URRE3STKS/
>>>
>>
_______________________________________________
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/CAJBT7EWBDNHVSJME7KFHPDFHPBXXIJX/

Reply via email to