[Bug 1847039] Re: autopkgtest: nova-conductor fails to startup
James Page
james.page at ubuntu.com
Wed Oct 9 09:13:16 UTC 2019
The nova-conductor process requires a valid connection to keystone to
retrieve the service endpoint for the placement service on startup.
The autopkgtest does not setup and configure keystone and placement as
part of the test configuration.
That said running the database migrations as part of the autopkgtest
still adds alot of value to my suggestion is to disable the daemon
checks for this cycle.
We really need a more complete 'basic openstack test environment' for
autopkgtests and daemons are increasingly non-functional and will
terminate if all dependent resources are not configured and running.
** Changed in: nova (Ubuntu)
Status: New => In Progress
** Changed in: nova (Ubuntu)
Importance: Undecided => High
** Changed in: nova (Ubuntu)
Assignee: (unassigned) => James Page (james-page)
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1847039
Title:
autopkgtest: nova-conductor fails to startup
Status in nova package in Ubuntu:
In Progress
Bug description:
2019-10-07 09:53:28.471 20991 CRITICAL nova [-] Unhandled error: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
2019-10-07 09:53:28.471 20991 ERROR nova Traceback (most recent call last):
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/bin/nova-conductor", line 10, in <module>
2019-10-07 09:53:28.471 20991 ERROR nova sys.exit(main())
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/nova/cmd/conductor.py", line 44, in main
2019-10-07 09:53:28.471 20991 ERROR nova topic=rpcapi.RPC_TOPIC)
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/nova/service.py", line 257, in create
2019-10-07 09:53:28.471 20991 ERROR nova periodic_interval_max=periodic_interval_max)
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/nova/service.py", line 129, in __init__
2019-10-07 09:53:28.471 20991 ERROR nova self.manager = manager_class(host=self.host, *args, **kwargs)
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/nova/conductor/manager.py", line 117, in __init__
2019-10-07 09:53:28.471 20991 ERROR nova self.compute_task_mgr = ComputeTaskManager()
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/nova/conductor/manager.py", line 243, in __init__
2019-10-07 09:53:28.471 20991 ERROR nova self.report_client = report.SchedulerReportClient()
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 186, in __init__
2019-10-07 09:53:28.471 20991 ERROR nova self._client = self._create_client()
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 229, in _create_client
2019-10-07 09:53:28.471 20991 ERROR nova client = self._adapter or utils.get_sdk_adapter('placement')
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/nova/utils.py", line 1039, in get_sdk_adapter
2019-10-07 09:53:28.471 20991 ERROR nova return getattr(conn, service_type)
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/openstack/service_description.py", line 92, in __get__
2019-10-07 09:53:28.471 20991 ERROR nova endpoint = proxy_mod.Proxy.get_endpoint(proxy)
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/keystoneauth1/adapter.py", line 282, in get_endpoint
2019-10-07 09:53:28.471 20991 ERROR nova return self.session.get_endpoint(auth or self.auth, **kwargs)
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1198, in get_endpoint
2019-10-07 09:53:28.471 20991 ERROR nova auth = self._auth_required(auth, 'determine endpoint URL')
2019-10-07 09:53:28.471 20991 ERROR nova File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1138, in _auth_required
2019-10-07 09:53:28.471 20991 ERROR nova raise exceptions.MissingAuthPlugin(msg_fmt % msg)
2019-10-07 09:53:28.471 20991 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
2019-10-07 09:53:28.471 20991 ERROR nova
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: nova-conductor 2:20.0.0~rc1-0ubuntu2
ProcVersionSignature: Ubuntu 5.3.0-17.18-generic 5.3.1
Uname: Linux 5.3.0-17-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Mon Oct 7 09:51:51 2019
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nova
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1847039/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list