-
Notifications
You must be signed in to change notification settings - Fork 43
Stop and disable libvirtd-tls.socket in intial clean #328
Conversation
If the libvirtd-tls.socket service is not disabled, then the libvirtd will fail to start with error "Cannot read certificate '/etc/pki/libvirt/servercert.pem': No such file or directory." if we reattempt after a failed deployment. The libvirtd will check for the certificates if the tls socket service is enabled and fails with the mentioned errors.
Hello contributor, thanks for submitting a PR for this project! I am the bot who triggers "standard-CI" builds for this project. In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:
|
ci add to whitelist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me but maintainers should review
Thanks @nijinashok, we already added it to the HE cleanup tool |
I think it will be great to add this to deployment as well. Most of the cleanup codes are available in the deployment too and most of the time deployment works without running ovirt-hosted-engine-cleanup. |
this commit will bring us closer to redeploy HE without having to perform the manual cleanup. |
I think that you must run the cleanup. If you will not use the cleanup you may have some leftovers (files, IP rules, memory allocation, etc.) on the host and the deployment can fail because of that, and in general, it's bad practice. |
if we really want to pursue that policy we must also enforce it, |
discussed with @arachmani offline, it does make sense to merge since it also fixes https://bugzilla.redhat.com/show_bug.cgi?id=1834422 |
If the libvirtd-tls.socket service is not disabled, then the libvirtd will fail to start with error "Cannot read certificate '/etc/pki/libvirt/servercert.pem': No such file or directory." if we reattempt after a failed deployment.
The libvirtd will check for the certificates if the tls socket service is enabled and fails with the mentioned error. This issue happens if we reattempt the deployment when it fails after the libvirtd was configured for the vdsm.