nova-compute on noble blocked due to libvirtd not started

Bug #2071839 reported by Peter Sabaini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
New
Undecided
Unassigned

Bug Description

In CI I could see nova-compute remaining blocked:

nova-compute/0* blocked idle 11 172.16.0.159 Services not running that should be: libvirtd

In the crashdump libvirtd.service seems to get deactivated:

2024-07-03T14:22:26.210583+00:00 juju-299bc3-zaza-0085f7273275-11 systemd[1]: Starting libvirtd.service - libvirt legacy monolithic daemon...
2024-07-03T14:22:26.247688+00:00 juju-299bc3-zaza-0085f7273275-11 systemd[1]: Started libvirtd.service - libvirt legacy monolithic daemon.
2024-07-03T14:23:33.572277+00:00 juju-299bc3-zaza-0085f7273275-11 systemd[1]: Stopping libvirtd.service - libvirt legacy monolithic daemon...
2024-07-03T14:23:33.578356+00:00 juju-299bc3-zaza-0085f7273275-11 systemd[1]: libvirtd.service: Deactivated successfully.
2024-07-03T14:23:33.578562+00:00 juju-299bc3-zaza-0085f7273275-11 systemd[1]: Stopped libvirtd.service - libvirt legacy monolithic daemon.

Also can see juju tracebacks in unit-nova-compute-0.log:

2024-07-03 15:21:16.749 46512 CRITICAL nova [None req-a64998e1-8549-412b-9a21-3607665f9307 - - - - - -] Unhandled error: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
2024-07-03 15:21:16.749 46512 ERROR nova Traceback (most recent call last):
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/bin/nova-compute", line 10, in <module>
2024-07-03 15:21:16.749 46512 ERROR nova sys.exit(main())
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/nova/cmd/compute.py", line 59, in main
2024-07-03 15:21:16.749 46512 ERROR nova server = service.Service.create(binary='nova-compute',
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/nova/service.py", line 252, in create
2024-07-03 15:21:16.749 46512 ERROR nova service_obj = cls(host, binary, topic, manager,
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/nova/service.py", line 116, in __init__
2024-07-03 15:21:16.749 46512 ERROR nova self.manager = manager_class(host=self.host, *args, **kwargs)
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/nova/compute/manager.py", line 633, in __init__
2024-07-03 15:21:16.749 46512 ERROR nova self.reportclient = report.SchedulerReportClient()
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 234, in __init__
2024-07-03 15:21:16.749 46512 ERROR nova self._client = self._create_client()
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 277, in _create_client
2024-07-03 15:21:16.749 46512 ERROR nova client = self._adapter or utils.get_sdk_adapter('placement')
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/nova/utils.py", line 995, in get_sdk_adapter
2024-07-03 15:21:16.749 46512 ERROR nova return getattr(conn, service_type)
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/openstack/service_description.py", line 89, in __get__
2024-07-03 15:21:16.749 46512 ERROR nova proxy = self._make_proxy(instance)
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/openstack/service_description.py", line 289, in _make_proxy
2024-07-03 15:21:16.749 46512 ERROR nova found_version = temp_adapter.get_api_major_version()
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/keystoneauth1/adapter.py", line 352, in get_api_major_version
2024-07-03 15:21:16.749 46512 ERROR nova return self.session.get_api_major_version(auth or self.auth, **kwargs)
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1288, in get_api_major_version
2024-07-03 15:21:16.749 46512 ERROR nova auth = self._auth_required(auth, 'determine endpoint URL')
2024-07-03 15:21:16.749 46512 ERROR nova ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-03 15:21:16.749 46512 ERROR nova File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1194, in _auth_required
2024-07-03 15:21:16.749 46512 ERROR nova raise exceptions.MissingAuthPlugin(msg_fmt % msg)
2024-07-03 15:21:16.749 46512 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
2024-07-03 15:21:16.749 46512 ERROR nova

Version nova-compute 29.0.1 from latest/edge, rev 742
Running on ubuntu@24.04

CI Artefacts:
https://openstack-ci-reports.ubuntu.com/artifacts/717/923361/4/check/noble-caracal/717dbca/index.html

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.