[2.0-bzr5059] Adding a rack using dpkg-reconfigure isn't intuitive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned |
Bug Description
I wanted to add a rack controller to MAAS, so I ran "dpkg-reconfigure -plow maas-rack-
I entered the MAAS URL I wanted to register with, then was presented with a dialog that read:
"""
The MAAS Rack Controller needs to contact the MAAS server
with a share secret. Set the shared secret here.
"""
Two UX issues with this dialog:
(1) Since my typing is obscured by '*' symbols, I can't tell if I made an error or not. (hopefully I'm just copying and pasting -- though it must have been visible on my screen momentarily for me top copy it? anyway, we'll ignore that for now too)
(2) [more importantly] The user isn't instructed where to find the shared secret. One way to find it is to look at /var/lib/
At a minimum, we should instruct the user how to find the shared secret.
Related branches
- Andres Rodriguez (community): Approve
- Newell Jensen (community): Approve
-
Diff: 39 lines (+9/-7)3 files modifieddebian/maas-common.templates (+3/-2)
debian/maas-rack-controller.templates (+3/-2)
debian/maas-rack-udeb.templates (+3/-3)
- Mike Pontillo (community): Approve
- Gavin Panella (community): Abstain
-
Diff: 357 lines (+305/-3)4 files modifiedsrc/provisioningserver/__main__.py (+2/-0)
src/provisioningserver/register_command.py (+124/-0)
src/provisioningserver/tests/test_register_command.py (+172/-0)
src/provisioningserver/utils/script.py (+7/-3)
Related: https:/ /code.launchpad .net/~newell- jensen/ maas/rack_ register_ command/ +merge/ 295101