-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
0
-
False
-
-
False
-
?
-
rhos-workloads-compute
-
None
-
-
-
-
Important
To Reproduce Steps to reproduce the behavior:
- Create the libvirt-secret secret with correct structure, and a password of length 60
- Deploy RHOSO as usual, with minimum two computes
- Once deployed, connect to one compute
- sudo -i to become root
- list VMs on the second compute using virsh -c qemu+tls://SECOND_COMPUTE/system list
- See the Authentication failure
Expected behavior
Id Name State --------------------
Bug impact
I hit the issue with a 60-char password, but I don't know what's the actual threshold.
A customer may have specific policies for password length, and they may have to use length over the undocumented limitation.
The authentication failure leads to nova migration issues. In addition, such an error doesn't seem to be properly reported in the console (I'll open another issue).
Known workaround
- I could get it passing with a 16-char password
Additional context
- the issue is located in the way /etc/libvirt/passwd.db is filled[1]
- /etc/libvirt/auth.conf has the correct password with all of the 60 chars
- all .conf files in both /etc/sasl2 and /etc/libvirt have matching sha256sum on both nodes
- manually setting the 60-char password in SASL had it passing, leading to the thoughts about initial password tempering over the configuration steps
*Note*: I'm not sure about the actual component. I couldn't trace back the way the password was injected in the container. I don't know exactly what step was tempering with it either.
- is related to
-
OSPRH-26411 Nova reports migration as "complete" even when it fails
-
- Refinement
-