ipmipower returns a zero exit status when password invalid
Bug #1364617 reported by
David Britton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Julian Edwards | ||
freeipmi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If the password is invalid, ipmi power reports:
ubuntu@comfy:~$ ipmipower -D LAN_2_0 -u root -p SOMETHING_HERE -h 10.104.222.67 -s
10.104.222.67: password invalid
ubuntu@comfy:~$ echo $?
0
ubuntu@comfy:~$
This is a problem since there is nothing in the logs about it failing.
I would expect maas would detect this situation and error.
Related branches
lp:~julian-edwards/maas/ipmi-password-failure-detect
- Raphaël Badin (community): Approve
-
Diff: 22 lines (+10/-1)1 file modifiedetc/maas/templates/power/ipmi.template (+10/-1)
summary: |
- ipmipower password invalid + ipmipower returns a zero exit status when password invalid |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: power server-hwe |
Changed in maas: | |
milestone: | none → 1.7.0 |
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello,
Thanks for opening the bug. Now that is fixed in the recent releases, I am simply marking this as "Fix Released". Should you still be facing problems related to this, please open a new bug and we can then work something out. This is simply to clear and clean up old bugs.
Hope that makes sense. Thank you!