Comment 2 for bug 1557434

Revision history for this message
Michael Foord (mfoord) wrote : Re: CLI version command doesn't work (2.0)

Nope, was logged in.

$ maas login maas http://172.16.0.2/MAAS XXXXX

You are now logged in to the MAAS server at
http://172.16.0.2/MAAS/api/2.0/ with the profile name 'maas'.

For help with the available commands, try:

  maas maas --help

$ maas maas version
usage: /usr/bin/maas [-h] COMMAND ...

optional arguments:
  -h, --help show this help message and exit

drill down:
  COMMAND
    refresh Refresh the API descriptions of all profiles.
    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.
    maas Interact with http://172.16.0.2/MAAS/api/2.0/

http://maas.ubuntu.com/

'Namespace' object has no attribute 'execute'