ipmipower returns a zero exit status when password invalid

Bug #1364617 reported by David Britton
6
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

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
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

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!

Changed in freeipmi (Ubuntu):
status: New → 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.