maas snap cli renders SyntaxWarning in the stderr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Alberto Donato | ||
2.9 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
$ maas -h
/snap/maas/
if word_sep is not '':
usage: maas [-h] COMMAND ...
optional arguments:
-h, --help show this help message and exit
drill down:
COMMAND
login Log in to a remote API, and remember its description and credentials.
logout Log out of a remote API, purging any stored credentials.
list List remote APIs that have been logged-in to.
refresh Refresh the API descriptions of all profiles.
init Initialise MAAS in the specified run mode.
config View or change controller configuration.
status Status of controller services.
migrate Perform migrations on connected database.
apikey Used to manage a user's API keys. Shows existing keys unless --generate or --delete is passed.
configauth Configure external authentication.
createadmin Create a MAAS administrator account.
changepassword
(Note the "SyntaxWarning" string; while it's not harmful at all, currently it breaks some FCE-related automation which relies on MAAS CLI outputs).
$ snap list maas
Name Version Rev Tracking Publisher Notes
maas 2.9.2-9165-
Related branches
- Alberto Donato (community): Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 31 lines (+1/-4)1 file modifiedsnap/snapcraft.yaml (+1/-4)
- MAAS Lander: Approve
- Adam Collard (community): Approve
-
Diff: 31 lines (+1/-4)1 file modifiedsnap/snapcraft.yaml (+1/-4)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Alberto Donato (ack) |
description: | updated |
Changed in maas: | |
milestone: | none → 2.10-beta1 |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This currently blocks all Field deployments using FCE with latest snapped MAAS, so subscribing field-critical.