Static routes CLI commands are broken

Bug #2060178 reported by Jacopo Rota
This bug report is a duplicate of:  Bug #2024466: vm-host parameters help is wrong. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
High
Alessandro Marcolini
3.5
Triaged
High
Alessandro Marcolini

Bug Description

Tested on maas 3.5

ubuntu@maas-edge:~$ maas admin static-routes
usage: maas admin static-routes [-h] COMMAND ...

Manage static routes.

options:
  -h, --help show this help message and exit

drill down:
  COMMAND
    create Create a static route
    read List static routes

too few arguments
ubuntu@maas-edge:~$ maas admin static-routes read
usage: maas [-h] COMMAND ...

options:
  -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.
    config-tls Configure MAAS Region TLS.
    config-vault Configure MAAS Region Vault integration.
    createadmin Create a MAAS administrator account.
    changepassword
                  Change a MAAS user's password.
    admin Interact with http://localhost:5240/MAAS/api/2.0/

https://maas.io/

'Namespace' object has no attribute 'data'

Same for all the other static-route* commands

Jacopo Rota (r00ta)
Changed in maas:
milestone: none → 3.5.0
milestone: 3.5.0 → 3.6.0
summary: - Static routes read in the CLI is broken
+ Static routes CLI commands are broken
description: updated
description: updated
Jacopo Rota (r00ta)
Changed in maas:
assignee: nobody → Alessandro Marcolini (alemar99)
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.