maas-region-admin apikey command missing --username

Bug #1481118 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Chris Johnston
1.7
Fix Released
Medium
Chris Johnston
1.8
Fix Released
Medium
Chris Johnston

Bug Description

The docs for 1.7 [1] state that to get your API Key via the command line you should run:

sudo maas-region-admin apikey my-username

Running this command you get a CommandError that you must provide a username with --username:

sudo maas-region-admin apikey admin
CommandError: You must provide a username with --username.

apt-cache policy maas-region-controller
maas-region-controller:
  Installed: 1.7.6+bzr3376-0ubuntu2~14.04.1
  Candidate: 1.7.6+bzr3376-0ubuntu2~14.04.1

[1] https://maas.ubuntu.com/docs1.7/maascli.html#api-key

Related branches

Changed in maas:
status: New → Fix Committed
Changed in maas:
importance: Undecided → Medium
assignee: nobody → Chris Johnston (cjohnston)
Changed in maas:
status: Fix Committed → Fix Released
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.