2022-09-15 17:49:10 |
Radosław Piliszek |
bug |
|
|
added bug |
2022-09-15 17:54:42 |
Radosław Piliszek |
description |
$ cat /etc/hosts
1.2.3.4 hostname.domainname hostname
$ cat /etc/hostname
hostname
$ hostname
hostname
$ hostname -s
hostname
$ hostname -f
hostname.domainname
nova-compute will log:
2022-09-15 18:45:48.608 7 ERROR nova.virt.libvirt.host [-] Connection to libvirt failed: authentication failed: authentication failed: libvirt.libvirtError: authentication failed: authentication failed
(fun fact: the error message says "authentication failed" 4 times - 4 times! - must be a serious violation ;-) )
libvirtd will log:
2022-09-15 16:45:48.606+0000: 3900339: error : virNetSASLSessionServerStep:594 : authentication failed: Failed to start SASL negotiation: -20 (SASL(-13): user not found: unable to canonify user and get auxprops)
2022-09-15 16:45:48.606+0000: 3900339: error : remoteDispatchAuthSaslStep:3985 : authentication failed: authentication failed |
$ cat /etc/hosts (or from the DNS)
1.2.3.4 hostname.domainname hostname
$ cat /etc/hostname
hostname
$ hostname
hostname
$ hostname -s
hostname
$ hostname -f
hostname.domainname
nova-compute will log:
2022-09-15 18:45:48.608 7 ERROR nova.virt.libvirt.host [-] Connection to libvirt failed: authentication failed: authentication failed: libvirt.libvirtError: authentication failed: authentication failed
(fun fact: the error message says "authentication failed" 4 times - 4 times! - must be a serious violation ;-) )
libvirtd will log:
2022-09-15 16:45:48.606+0000: 3900339: error : virNetSASLSessionServerStep:594 : authentication failed: Failed to start SASL negotiation: -20 (SASL(-13): user not found: unable to canonify user and get auxprops)
2022-09-15 16:45:48.606+0000: 3900339: error : remoteDispatchAuthSaslStep:3985 : authentication failed: authentication failed
The workaround is to modify /etc/hosts (or set for the first time if the original source is DNS) such that the FQDN becomes the alias:
$ cat /etc/hosts
1.2.3.4 hostname hostname.domainname
and then
$ hostname -f
hostname
and then restart nova_libvirtd (probably no need to restart nova_compute but it keeps restarting in a loop so hard to tell ;-) ).
BUT BEWARE!
If this hypervisor existed before, it will remain under the old FQDN name in Placement and previously running instances will not count against the usage!
TODO: report that bug separately
Current workaround to the workaround: shelve and unshelve the instances (though note this will obviously stop and restart them in the process). |
|
2022-09-22 06:43:22 |
Dr. Jens Harbott |
bug |
|
|
added subscriber Dr. Jens Harbott |
2023-02-10 22:38:01 |
Maksim Malchuk |
bug |
|
|
added subscriber Maksim Malchuk |
2024-04-12 10:09:43 |
OpenStack Infra |
kolla-ansible: status |
Triaged |
In Progress |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/antelope |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/antelope |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/yoga |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/yoga |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/caracal |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/caracal |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/bobcat |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/bobcat |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
nominated for series |
|
kolla-ansible/zed |
|
2024-04-12 10:10:23 |
Maksim Malchuk |
bug task added |
|
kolla-ansible/zed |
|
2024-04-12 10:10:32 |
Maksim Malchuk |
kolla-ansible/antelope: status |
New |
Confirmed |
|
2024-04-12 10:10:35 |
Maksim Malchuk |
kolla-ansible/bobcat: status |
New |
Confirmed |
|
2024-04-12 10:10:39 |
Maksim Malchuk |
kolla-ansible/yoga: status |
New |
Confirmed |
|
2024-04-12 10:10:41 |
Maksim Malchuk |
kolla-ansible/zed: status |
New |
Confirmed |
|
2024-04-12 10:10:45 |
Maksim Malchuk |
kolla-ansible/antelope: importance |
Undecided |
Medium |
|
2024-04-12 10:10:47 |
Maksim Malchuk |
kolla-ansible/bobcat: importance |
Undecided |
Medium |
|
2024-04-12 10:10:52 |
Maksim Malchuk |
kolla-ansible/caracal: importance |
Undecided |
Medium |
|
2024-04-12 10:10:54 |
Maksim Malchuk |
kolla-ansible/yoga: importance |
Undecided |
Medium |
|
2024-04-12 10:10:58 |
Maksim Malchuk |
kolla-ansible/zed: importance |
Undecided |
Medium |
|
2024-04-12 10:11:00 |
Maksim Malchuk |
kolla-ansible/caracal: assignee |
|
Maksim Malchuk (mmalchuk) |
|
2024-11-11 07:10:27 |
Tardis Network |
bug |
|
|
added subscriber Tardis Network |