Could be a cinder - nova, FQDN - non-FQDN config mismatch but it is hard to tell.
Another angle to tackle this is by dissecting the stack trace:
So the error happens here[1]. The None condition can happen if there was a host_down without a host_up or if there was no host_up since __init__. Both host_up and down is called from the libvirt driver [2]. This code has debug log statements so we might be able to understand the situation better from the logs.
@Alphh23:
Do you have debug logs from nova-compute service?
Can you reproduce the problem and collect such logs?
Does a nova-compute service restart resolve the problem?
Does a compute host reboot resolves the problem?
Does a
$ openstack compute service set <host> <service> --disable
$ openstack compute service set <host> <service> --enable
resolves the problem?
Setting the nova bug Incomplete until for now but please set it back to New when you provided the requested information.
Could be a cinder - nova, FQDN - non-FQDN config mismatch but it is hard to tell.
Another angle to tackle this is by dissecting the stack trace:
So the error happens here[1]. The None condition can happen if there was a host_down without a host_up or if there was no host_up since __init__. Both host_up and down is called from the libvirt driver [2]. This code has debug log statements so we might be able to understand the situation better from the logs.
@Alphh23:
Do you have debug logs from nova-compute service?
Can you reproduce the problem and collect such logs?
Does a nova-compute service restart resolve the problem?
Does a compute host reboot resolves the problem?
Does a
$ openstack compute service set <host> <service> --disable
$ openstack compute service set <host> <service> --enable
resolves the problem?
Setting the nova bug Incomplete until for now but please set it back to New when you provided the requested information.
[1] https:/ /github. com/openstack/ nova/blob/ af3adcced959ab4 80b82e32cf22e95 3b97e66a58/ nova/virt/ libvirt/ volume/ mount.py# L89 /github. com/openstack/ nova/blob/ af3adcced959ab4 80b82e32cf22e95 3b97e66a58/ nova/virt/ libvirt/ driver. py#L3841
[2] https:/