Mask libvirtd sockets which prevents cloudstack-agent from being setup#4756
Conversation
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
@Pearl1594 I think -l works with libvirtd6 as well, on Ubuntu 20.04 you need to mask few things I think. (https://rohityadav.cloud/blog/cloudstack-rpi4-kvm/#kvm-host-setup) |
bec676c to
8bec6df
Compare
8bec6df to
7e38d71
Compare
|
@rhtyd -l doesn't seem to be working with libvirt 6.0.0, following is the exception that is noticed: I've rebased the PR off 4.15 |
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
@Pearl1594 the errors I think are hinting towards disabling the sockets: systemctl mask libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tls.socket libvirtd-tcp.socket |
|
Check the code wrt Ubuntu, I think the scripts do this for Ubuntu 20.04 already @Pearl1594 |
|
Thanks @rhtyd - I'll take that as reference and align to it. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2870 |
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2871 |
b08f261 to
69982c9
Compare
yep. I added the lines. |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3669)
|
|
@blueorangutan test centos8 kvm-centos8 |
|
@rhtyd a Trillian-Jenkins test job (centos8 mgmt + kvm-centos8) has been kicked to run smoke tests |
|
Trillian test result (tid-3672)
|
shwstppr
left a comment
There was a problem hiding this comment.
Code changes LGTM.
OOBM tests failing with Unable to Get Channel Cipher Suites\nSet Session Privilege Level to ADMINISTRATOR failed\nError: Unable to establish IPMI v2 / RMCP+ session\n. This need to be checked
Description
This PR fixes the issue of libvirtd service not starting successfully, which leads to failure in setting up of cloudstack-agent
Addresses: #4754
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested:
Issue noticed when cloudstack-setup-agent is run (while adding hosts):
Post Fix: