Enabling debug from snap traceback

Bug #1914588 reported by Adam Collard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Adam Collard
2.9
Fix Released
High
Adam Collard

Bug Description

$ sudo snap run maas config --enable-debug
Traceback (most recent call last):
  File "/snap/maas/11322/bin/maas", line 8, in <module>
    sys.exit(main())
  File "/snap/maas/11322/lib/python3.8/site-packages/maascli/__init__.py", line 44, in main
    options.execute(options)
  File "/snap/maas/11322/lib/python3.8/site-packages/maascli/snappy.py", line 433, in __call__
    raise exc
  File "/snap/maas/11322/lib/python3.8/site-packages/maascli/snappy.py", line 430, in __call__
    self.handle(options)
  File "/snap/maas/11322/lib/python3.8/site-packages/maascli/snappy.py", line 822, in handle
    if options.mode != running_mode:
AttributeError: 'Namespace' object has no attribute 'mode'

$ snap list maas
Name Version Rev Tracking Publisher Notes
maas 2.9.1-9153-g.66318f531 11322 2.9/stable canonical✓

Related branches

Changed in maas:
status: New → Fix Committed
importance: Undecided → Critical
importance: Critical → High
assignee: nobody → Adam Collard (adam-collard)
milestone: none → 2.10-beta1
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers