nova_libvirtd and nova_compute can't auth

Bug #2004579 reported by Arturo Borrero Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Invalid
Undecided
Unassigned

Bug Description

I'm trying to deploy openstack into a virtual machine with kolla-ansible (all-in-one mode).

I do all the steps recommended in the docs and still nova-compute refuses to start (and halts the 'deploy' kolla action):

$ kolla-ansible -i all-in-one bootstrap-servers
$ kolla-ansible -i all-in-one prechecks
$ kolla-ansible -i all-in-one deploy
[.. fails, nova-compute not starting ..]

$ grep -v ^# /etc/kolla/globals.yml | grep -v ^$
---
workaround_ansible_issue_8743: yes
kolla_base_distro: "debian"
kolla_internal_vip_address: "172.16.2.57"
network_interface: "ens3"
neutron_external_interface: "dummy1"
enable_haproxy: "no"
nova_compute_virt_type: "qemu"

Inspection of the nova-compute container logs yields:

[..]
2023-02-02 16:15:53.886 7 ERROR oslo_service.service nova.exception.HypervisorUnavailable: Connection to the hypervisor is broken on host
2023-02-02 16:15:53.886 7 ERROR oslo_service.service
2023-02-02 16:15:53.897 7 INFO nova.virt.libvirt.driver [-] Connection event '0' reason 'Failed to connect to libvirt: authentication failed: authentication failed'

Inspection of the nova-libvirt container logs yields:

[..]
2023-02-02 13:14:37.626+0000: 117058: info : libvirt version: 8.0.0, package: 1~bpo11+1 (Michael Tokarev <email address hidden> Thu, 27 Jan 2022 10:36:33 +0300)
2023-02-02 13:14:37.626+0000: 117058: info : hostname: arturo-kolla-test-single
2023-02-02 13:14:37.626+0000: 117058: error : dnsmasqCapsRefreshInternal:665 : Cannot check dnsmasq binary /usr/sbin/dnsmasq: No such file or directory
2023-02-02 13:14:37.991+0000: 117058: error : virHostCPUGetCPUID:1320 : Unable to open /dev/kvm: No such file or directory
2023-02-02 13:14:42.531+0000: 117046: error : virNetSASLSessionServerStep:603 : authentication failed: Failed to start SASL negotiation: -20 (SASL(-13): user not found: unable to canonify user and get auxprops)
2023-02-02 13:14:42.531+0000: 117046: error : remoteDispatchAuthSaslStep:3957 : authentication failed: authentication failed
2023-02-02 13:14:42.533+0000: 117019: error : virNetSocketReadWire:1793 : End of file while reading data: Input/output error

Find attached a file with full logs.

Revision history for this message
Arturo Borrero Gonzalez (arturoborrero) wrote :
Revision history for this message
Arturo Borrero Gonzalez (arturoborrero) wrote (last edit ):

More information about the environment.

Container images being used:
=== 8< ===
$ sudo docker ps | egrep compute\|libvirt
844ae175d7c3 quay.io/openstack.kolla/nova-compute:zed-debian-bullseye "dumb-init --single-…" 22 hours ago Restarting (0) 1 second ago nova_compute
9c4ae9872e2b quay.io/openstack.kolla/nova-libvirt:zed-debian-bullseye "dumb-init --single-…" 22 hours ago Up 22 hours (unhealthy) nova_libvirt
=== 8< ===

Credentials:
=== 8< ===
$ sudo cat /etc/kolla/nova-compute/auth.conf
[credentials-default]
authname=nova
password=UtybmJHqSRWU884TK65D3gMb7pmDIYp2D4yRSLoT

[auth-libvirt-default]
credentials=default
=== 8< ===

Credentials:
=== 8< ===
$ sudo cat /etc/kolla/nova-libvirt/auth.conf
[credentials-default]
authname=nova
password=UtybmJHqSRWU884TK65D3gMb7pmDIYp2D4yRSLoT

[auth-libvirt-default]
credentials=default
=== 8< ===

Revision history for this message
Arturo Borrero Gonzalez (arturoborrero) wrote :

The original report is about kolla-ansible version Zed. I get the same error when trying kolla-ansible version Yoga.

Perhaps something is wrong with my test environment?

Revision history for this message
Arturo Borrero Gonzalez (arturoborrero) wrote :

I created another VM from scratch in a different environment, even more clean than the previous one.

Now I can't reproduce the problem. It was clearly something related to my local system.

Sorry for the noise.

Changed in kolla-ansible:
status: New → Invalid
Revision history for this message
Arturo Borrero Gonzalez (arturoborrero) wrote (last edit ):

Further information. This bug is actually the same as:

https://bugs.launchpad.net/kolla-ansible/+bug/1989791

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.