Hi,

the issue has been fixed on master, it seems that you are using old ovirt-engine and/or old ansible-runner-service. Please upgrade to latest released ovirt-engine with ansible-runner-service-1.0.2 and python3-ansible-runner-1.4.5

Regards,
Martin


On Wed, May 6, 2020 at 6:50 AM Sakari Poussa <spoussa@gmail.com> wrote:
Hi,

I am using 4.4 beta4 and not able to add new hosts to the datacenter. Also "Enroll Certificate" fails.

On nodes, I get the following error message:

libvirtd[20399]: Unable to import CA certificate list /etc/pki/vdsm/certs/cacert.pem

The root cause is the malformed cert:

$ cat /etc/pki/vdsm/certs/cacert.pem
-----BEGIN CERTIFICATE-----\nMIID XXX

That, is the .pem file is just one long line with \n characters instead of real newlines. If I convert the \n to real newlines libvirtd starts but that is not the end solution since other issues surfaces. 

The malforming happens when the engine copies (via ansible) the CA cert to the node(s).

Any ideas what is going on?

Thanks, Sakari




_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/TZ6EA3X257YGFYQTLFRILGGCQKQKTT2V/


--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.