MAAS boots inaccessible nodes when there's no SSH registered for a given user
Bug #986185 reported by
Diogo Matsubara
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Jeroen T. Vermeulen |
Bug Description
Consider the following situation:
1. User installas the MAAS server from scratch
2. User doesn't add a ssh key to his account
3. User enlists and commission a new node
4. MAAS boots that node and set it to Ready
After step 4, the node will talk to the MAAS server to get a SSH key, since there's no SSH key for the user, that node will be inaccessible over ssh. This is confusing because the node is in the Ready state but no one can use it.
Related branches
lp:~jtv/maas/pre-986185-exception-responses
- Julian Edwards (community): Approve
-
Diff: 140 lines (+65/-9)5 files modifiedsrc/maasserver/exceptions.py (+20/-0)
src/maasserver/middleware.py (+3/-6)
src/maasserver/tests/test_api.py (+1/-1)
src/maasserver/tests/test_exceptions.py (+40/-0)
src/maasserver/views/nodes.py (+1/-2)
lp:~jtv/maas/pre-986185-loosen-tests
- Julian Edwards (community): Approve
-
Diff: 60 lines (+13/-11)2 files modifiedsrc/maasserver/tests/test_forms.py (+12/-10)
src/maasserver/tests/test_views_nodes.py (+1/-1)
lp:~jtv/maas/bug-986185-conditional-node-actions
- Julian Edwards (community): Approve
-
Diff: 496 lines (+233/-63)5 files modifiedsrc/maasserver/forms.py (+103/-22)
src/maasserver/templates/maasserver/node_view.html (+11/-21)
src/maasserver/tests/test_forms.py (+99/-10)
src/maasserver/tests/test_views_nodes.py (+20/-8)
src/maasserver/views/nodes.py (+0/-2)
lp:~jtv/maas/bug-986185-start-node-requires-ssh-key
- Julian Edwards (community): Approve
-
Diff: 125 lines (+48/-3)3 files modifiedsrc/maasserver/forms.py (+26/-3)
src/maasserver/tests/test_forms.py (+20/-0)
src/maasserver/tests/test_views_nodes.py (+2/-0)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I fixed the docs in https:/ /wiki.ubuntu. com/ServerTeam/ MAAS/Juju to instruct the user to add a SSH, so this makes this bug less of a problem