''boot-resources'' command doesn't exist ?

Adam Collard adam.collard at canonical.com
Sat Feb 18 19:30:03 UTC 2017


At a guess, I suspect the account you're using from the CLI (i.e. the
credentials passed to 'maas login') are not associated with an Admin
account on MAAS. Unprivileged users only have access to a subset of the
full MAAS API.


On Sat, 18 Feb 2017 at 19:14, Amira Hamila <hamilaemira at gmail.com> wrote:

>
>
> *Hello ! *
>
> *when  I try using the "boot-resources'' command, this error message shows
> up :*
>
> usage: /usr/lib/python2.7/dist-packages/maascli/__main__.py admin
>        [-h] COMMAND ...
>
> Issue commands to the MAAS region controller at http://10.0.2.15:5240/MAAS/api/1.0/.
>
> optional arguments:
>   -h, --help   show this help message and exit
>
> drill down:
>   COMMAND
>     files      Manage the collection of all the files in this MAAS.
>     node-groups
>                Manage the collection of all the nodegroups in this MAAS.
>     nodes      Manage the collection of all the nodes in the MAAS.
>     version    Information about this MAAS instance.
>
> This is a profile.  Any commands you issue on this profile will
> operate on the MAAS region server.
>
> The command information you see here comes from the region server's
> API; it may differ for different profiles.  If you believe the API may
> have changed, use the command's 'refresh' sub-command to fetch the
> latest version of this help information from the server.
>
> argument COMMAND: invalid choice: u'boot-resources' (choose from 'files', 'node-groups', 'nodes', 'version')
>
> *Any idea why? *
>
> --
> Maas-devel mailing list
> Maas-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/maas-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170218/4dd0d3df/attachment.html>


More information about the Maas-devel mailing list