nova-conductor may crash during deploy due to haproxy-keystone 504
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Dan Smith | ||
Wallaby |
In Progress
|
Undecided
|
Unassigned | ||
Xena |
In Progress
|
Undecided
|
Unassigned | ||
Yoga |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
keystone was busy (behind haproxy)
nova-conductor:
2019-10-04 15:39:17.103 6 CRITICAL nova [-] Unhandled error: GatewayTimeout: Gateway Timeout (HTTP 504)
2019-10-04 15:39:17.103 6 ERROR nova Traceback (most recent call last):
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova sys.exit(main())
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova topic=rpcapi.
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova periodic_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova self.manager = manager_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova self.compute_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova self.report_client = report.
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova self._client = self._create_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova client = self._adapter or utils.get_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova return getattr(conn, service_type)
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova endpoint = proxy_mod.
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova return self.session.
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova return auth.get_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova allow_version_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova service_catalog = self.get_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova self.auth_ref = self.get_
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova return self._plugin.
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova authenticated=
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova return self.request(url, 'POST', **kwargs)
2019-10-04 15:39:17.103 6 ERROR nova File "/var/lib/
2019-10-04 15:39:17.103 6 ERROR nova raise exceptions.
2019-10-04 15:39:17.103 6 ERROR nova GatewayTimeout: Gateway Timeout (HTTP 504)
2019-10-04 15:39:17.103 6 ERROR nova
Changed in kolla-ansible: | |
importance: | High → Medium |
Changed in kolla-ansible: | |
importance: | Medium → Low |
milestone: | 9.0.0 → none |
Changed in nova: | |
assignee: | nobody → Dan Smith (danms) |
Changed in kolla-ansible: | |
importance: | Low → Undecided |
status: | Triaged → Invalid |
no longer affects: | kolla-ansible |
It's blowing up trying to get the service catalog from keystone to get the endpoint URL for the placement service. We could do something like in bug 1807219 and offload that placement SchedulerReport Client instantiation to a singleton lazy-load pattern so it's not hit when conductor starts up but if keystone is having problems we could just fail later when trying to lazy-load the client, so I'm not sure if that's helpful. I'd consider this very low priority since the root problem appears to be in keystone.