MAAS prompts user to run `maas createadmin`; instead of `maas createsuperuser`

Bug #1272014 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Tycho Andersen

Bug Description

If no users have been created for MAAS, the MAAS front page will prompt the user to run `maas createadmin` on the server. This instruction should be to run `maas createsuperuser`.

Related branches

Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is the correct action, createadmin is a maas wrapper around the Django createsuperuser command.

Changed in maas:
status: New → Invalid
Revision history for this message
Raphaël Badin (rvb) wrote :

This maas wrapper (createadmin) was created only to let non-interactive tools create users. The django command (createsuperuser) is the one that should be advertised to users because it asks for all the parameters needed instead of failing if parameters are missing.

createadmin is clumsy to use interactively:
http://paste.ubuntu.com/6807109/

createsuperuser is not:
http://paste.ubuntu.com/6807107/

This was changed in revision 1721 because of bug 1243917 but I think this change was a mistake.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Oh bugger what a mess. :/

Changed in maas:
status: Invalid → Triaged
importance: Undecided → Low
Gavin Panella (allenap)
Changed in maas:
milestone: none → 14.04
assignee: nobody → Tycho Andersen (tycho-s)
status: Triaged → In Progress
Raphaël Badin (rvb)
Changed in maas:
status: In Progress → Fix Committed
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.