Nova fails to start : [libvirt] cannot list SASL mechanisms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hello,
I'm trying to deploy Ussuri in all-in-one mode, on a Centos8 host. The installation is based on the latest stable Ussuri version for Kolla https:/
During the deployment, the following steps fails :
TASK [nova-cell : Waiting for nova-compute services to register themselves] *******
FAILED - RETRYING: Waiting for nova-compute services to register themselves (20 retries left).
...
FAILED - RETRYING: Waiting for nova-compute services to register themselves (1 retries left).
ok: [localhost -> localhost]
TASK [nova-cell : Fail if nova-compute service failed to register] *******
fatal: [localhost]: FAILED! => {"changed": false, "msg": "The Nova compute service failed to register itself on the following hosts: my-host.lab"}
Looking at the logs, nova is not able to authenticate, and libvirt is failing :
[ /var/log/
2022-09-26 09:35:45.648 7 ERROR nova.virt.
[ /var/log/
2022-09-26 09:35:45.648+0000: 1818403: info : libvirt version: 7.6.0, package: 6.el8 (CBS <email address hidden>, 2021-11-
2022-09-26 09:35:45.648+0000: 1818403: info : hostname: my-host.lab
2022-09-26 09:35:45.648+0000: 1818403: error : virNetSASLSessi
2022-09-26 09:35:45.648+0000: 1818403: error : remoteDispatchA
2022-09-26 09:35:45.648+0000: 1818378: error : virNetSocketRea
2022-09-26 09:35:49.886+0000: 1818405: error : virNetSASLSessi
2022-09-26 09:35:49.886+0000: 1818405: error : remoteDispatchA
The configured mech_list for SASL is :
[ /etc/kolla/
mech_list: DIGEST-MD5
Does anyone know what is the fix to the issue ? Thanks
* OS (e.g. from /etc/os-release): (Host) CentOS Stream release 8, the deployed containers use CentOS Linux release 8.5.2111
* Kernel (e.g. `uname -a`): 4.18.0-
* Docker version if applicable (e.g. `docker version`): 20.10.18
* Kolla-Ansible version (e.g. `git head or tag or stable branch` or pip package version if using release): Ussuri from stable branch
* Docker image Install type (source/binary): binary
* Docker image distribution: Ussuri
* Are you using official images from Docker Hub or self built? Docker Hub
* Share your inventory file, globals.yml and other configuration files if relevant
Hi, i had the same problem. In my case the problems was the fqdn-hostname in /etc/hosts. After remove the fqdn in the corresponding line for host them selfs and only leave the hostname in there, i restarted nova_libvirt and nova_compute was able to connect to libvirt. You can also append the inventory_hostname to libvirt_ sasl_authname but thats will prevent live-migration to work.
Regards
Tino