cluster list fails between bootstrap and deploy in maas deploment

Bug #2072143 reported by Andre Ruiz
6
This bug affects 1 person
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/manifest.yaml
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-machines' not found

Anyway, the problem seems to be that the "deploy" command has not been run yet so there is no "openstack-machines" model in juju.

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.

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.