cluster list fails between bootstrap and deploy in maas deploment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
New
|
Undecided
|
Unassigned |
Bug Description
Running 2024.1/edge rel 552
If you try to list cluster nodes after bootstrap, you get just an error like below:
16:35:24 + sunbeam cluster bootstrap -m /home/ubuntu/
16:56:39 Bootstrap controller components complete.
16:56:41 + sunbeam cluster list
16:56:44 > Querying cluster status ... Computing cluster status
16:56:44 Error: Failed to query model status.
This changed a bit in this release, until rel 551 I was getting a slightly different output:
15:32:20 + sunbeam cluster list
15:32:23 > Querying cluster status ... Computing cluster status
15:32:23 An unexpected error has occurred. Please run 'sunbeam inspect' to generate an inspection report.
15:32:23 Error: Model 'openstack-
Anyway, the problem seems to be that the "deploy" command has not been run yet so there is no "openstack-
If you run this same command again after "deploy" stage, it works well, showing both juju controllers and sunbeam nodes.
IMHO it should work without errors even before "deploy", showing just the juju controllers instead.