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 <[email protected]> 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 > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/maas-devel >
-- Maas-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel
