Starting nodes en mass without ssh keys gives bad error message
Bug #1293701 reported by
Tycho Andersen
This bug report is a duplicate of:
Bug #1439199: Imprecise error message when trying to deploy machines without having SSH keys.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Medium
|
Unassigned |
Bug Description
A bulk node start gives me a little blue banner that says:
"""The action "Start selected nodes" could not be performed on 8 nodes because their state does not allow that action."""
Really the problem is that I don't have any ssh keys.
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: ui |
To post a comment you must log in.
This is a UX problem really: when a bulk action fails on multiple nodes, each failure might be for a different reason. Since we cannot simply aggregate all the messages in one giant message (because it would be a bit unreadable and potentially very long) we display a summary message that is not very informative.
I agree that we should improve this. Here are a few possibilities:
- Since the number of possible failures is limited, we could regroup the failures by type and display something like "The action 'xx' could not be performed on 3 nodes: on 2 nodes, it couldn't be performed because XYZ, on 1 node, because ABC. "
- We could simply aggregate all the failures and crop the resulting message; plus a tooltip to show the complete message.