Hi,

Yedidyah Bar David wrote:

In any case (perhaps not relevant to you right now, if indeed engine-setup
succeeded), usually the engine vm is left running at the end of a failed
deploy. If it's still the local vm, you can find its IP address by searching
the ansible logs for local_vm_ip, then you can ssh to it from the host.

For fixing the "empty engine-logs dirs", now pushed this:

https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/pull/325

Didn't test yet, it's just a guess.

I followed up on your remark that the engine may indeed be running. And it is, sorry for not seeing this earlier.

Anyway, I was thus able to take a look in /var/log/ovirt-engine/setup in the HE VM and found the following error (I found a couple of more "suspicious" lines, but this one sticks out).

2020-05-27 00:17:09,660+0200 DEBUG otopi.context context._executeMethod:145 method exception
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/M2Crypto/BIO.py", line 279, in openfile
    f = open(filename, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/pki/ovirt-engine/qemu-ca.pem'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/pki/ca.py", line 699, in _miscUpgrade
    if self._expired(self._x509_load_cert(ca_file)):
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/pki/ca.py", line 94, in _x509_load_cert
    res = X509.load_cert(f)
  File "/usr/lib64/python3.6/site-packages/M2Crypto/X509.py", line 802, in load_cert
    with BIO.openfile(file) as bio:
  File "/usr/lib64/python3.6/site-packages/M2Crypto/BIO.py", line 281, in openfile
    raise BIOError(ex.args)
M2Crypto.BIO.BIOError: (2, 'No such file or directory')
2020-05-27 00:17:09,663+0200 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Misc configuration': (2, 'No such file or directory')

Best regards
Oli
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/IU2N3PECOV6VFGBWKXMHXDSEKCTVNZTB/

Reply via email to