keystone can be active even when Service not bootstrapped and it leads to Timed out while waiting for units openstack-hypervisor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Fix Released
|
High
|
Guillaume Boutry | ||
Sunbeam Charms |
Fix Released
|
High
|
Unassigned |
Bug Description
Following the MAAS tutorial:
https:/
keystone (and possibly others) can be "active" even when "Service not bootstrapped".
That can mislead Sunbeam to proceed with other steps and those steps can hit the timeout unnecessarily (time to wait for keystone and possibly others to be ready *after* workload status gets "active" + its own timeout).
$ sunbeam cluster deploy --manifest manifest.yaml
Timed out while waiting for units openstack-
Error: Timed out while waiting for units openstack-
$ juju show-status-log -m openstack keystone/0 --days 1 | tail
24 May 2024 03:57:24Z workload maintenance (bootstrap) Service not bootstrapped
24 May 2024 04:01:24Z workload active
24 May 2024 04:01:24Z workload maintenance (bootstrap) Service not bootstrapped
24 May 2024 04:07:12Z workload active
24 May 2024 04:07:12Z workload maintenance (bootstrap) Service not bootstrapped
24 May 2024 04:13:06Z workload active
24 May 2024 04:13:06Z workload maintenance (bootstrap) Service not bootstrapped
24 May 2024 04:18:55Z workload active
24 May 2024 04:18:55Z workload maintenance (bootstrap) Service not bootstrapped
24 May 2024 04:18:55Z workload active
$ juju show-status-log -m openstack-machines openstack-
24 May 2024 03:19:41Z juju-unit executing running identity-
24 May 2024 03:20:04Z juju-unit executing running identity-
24 May 2024 03:21:40Z juju-unit executing running identity-
24 May 2024 03:22:03Z juju-unit executing running identity-
24 May 2024 03:23:39Z juju-unit executing running nova-service-
24 May 2024 03:24:03Z juju-unit executing running nova-service-
24 May 2024 03:25:38Z juju-unit executing running nova-service-
24 May 2024 03:26:00Z juju-unit executing running nova-service-
24 May 2024 03:27:34Z juju-unit idle
24 May 2024 04:20:59Z workload active
^^^ there is a huge gap between 3:27 and 4:20, and during that period keystone signals it's active but "Service not bootstrapped".
Changed in snap-openstack: | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
importance: | Undecided → High |
tags: | added: open-2188 |
Changed in snap-openstack: | |
assignee: | nobody → Guillaume Boutry (gboutry) |
status: | Triaged → In Progress |
Fix proposed to branch: main /review. opendev. org/c/openstack /sunbeam- charms/ +/921401
Review: https:/