sunbeam cluster list not implemented for MAAS deployments

Bug #2067434 reported by Nobuto Murata
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Snap
Triaged
High
Unassigned

Bug Description

After following the tutorial:
https://microstack.run/docs/multi-node-maas

`sunbeam cluster list` fails.

$ sunbeam --verbose cluster list

           DEBUG Plugin validation: Command validation registered in group enable base.py:449
           DEBUG Plugin validation: Command validation registered in group disable base.py:449
           DEBUG Registering plugin images-sync base.py:411
           DEBUG Validating commands: <bound method EnableDisablePlugin.commands of <sunbeam.plugins.images_sync.plugin.ImagesSyncPlugin object at 0x7e46563166b0>> base.py:287
           DEBUG Validation successful base.py:311
           DEBUG Registered groups: {'cluster': <CatchGroup cluster>, 'configure': <Group configure>, 'deployment': <CatchGroup deployment>, 'deployment.add': base.py:417
                    <CatchGroup add>, 'deployment.machine': <CatchGroup machine>, 'deployment.network': <CatchGroup network>, 'deployment.space': <CatchGroup space>,
                    'deployment.zone': <CatchGroup zone>, 'disable': <CatchGroup disable>, 'disable.tls': <Group disable-tls>, 'enable': <CatchGroup enable>,
                    'enable.tls': <Group enable-tls>, 'inspect': <Group inspect>, 'manifest': <CatchGroup manifest>, 'proxy': <CatchGroup proxy>, 'repo': <CatchGroup
                    repo>, 'utils': <CatchGroup utils>, 'init': <CatchGroup init>}
           DEBUG Plugin images-sync: Command images-sync registered in group enable base.py:449
           DEBUG Plugin images-sync: Command images-sync registered in group disable base.py:449
           DEBUG [get] https://192.168.151.101:7000/1.0/config/Plugin-repo, args={'allow_redirects': True} service.py:120
           DEBUG https://192.168.151.101:7000 "GET /1.0/config/Plugin-repo HTTP/1.1" 404 125 connectionpool.py:474
           DEBUG Response(<Response [404]>) = {"type":"error","status":"","status_code":0,"operation":"","error_code":404,"error":"ConfigItem not service.py:122
                    found","metadata":null}

           DEBUG ConfigItem not found plugin.py:165
           DEBUG Registering external repo plugins [] plugin.py:365
           DEBUG utils.py:283
                    Traceback (most recent call last):
                      File "/snap/openstack/507/lib/python3.10/site-packages/sunbeam/utils.py", line 277, in __call__
                        return self.main(*args, **kwargs)
                      File "/snap/openstack/507/lib/python3.10/site-packages/click/core.py", line 1078, in main
                        rv = self.invoke(ctx)
                      File "/snap/openstack/507/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
                        return _process_result(sub_ctx.command.invoke(sub_ctx))
                      File "/snap/openstack/507/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
                        return _process_result(sub_ctx.command.invoke(sub_ctx))
                      File "/snap/openstack/507/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
                        return ctx.invoke(self.callback, **ctx.params)
                      File "/snap/openstack/507/lib/python3.10/site-packages/click/core.py", line 783, in invoke
                        return __callback(*args, **kwargs)
                      File "/snap/openstack/507/lib/python3.10/site-packages/sunbeam/provider/maas/commands.py", line 749, in list_nodes
                        raise NotImplementedError
                    NotImplementedError
           WARNING An unexpected error has occurred. Please run 'sunbeam inspect' to generate an inspection report. utils.py:288
           ERROR Error: utils.py:289

Tags: open-2192
Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :
Changed in snap-openstack:
status: New → Confirmed
Revision history for this message
Andre Ruiz (andre-ruiz) wrote :

Just adding a comment that I think the juju role should also be listed together with the other roles in the cluster list output.

tags: added: open-2192
Changed in snap-openstack:
importance: Undecided → High
Revision history for this message
James Page (james-page) wrote :

In the backlog of release tasks.

I think sunbeam inspect really needs full consideration in the context of a MAAS deployment as nothing is on the local node.

Changed in snap-openstack:
status: Confirmed → Triaged
James Page (james-page)
summary: - maas/commands.py", line 749, in list_nodes: NotImplementedError
+ sunbeam cluster list not implemented for MAAS deployments
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.