maas-ipmi-autodetect-tool fails to detect IPMI on midway
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned | ||
Saucy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Machines successfully enlist, but IPMI autodetection fails. This causes MAAS to fail to have any power control parameters for enlisted nodes, which means that manual intervention is required and MAAS fails to "Just Work".
[Upstream Fix]
Revision 1717 in trunk.
[Development Fix]
Pending upstream release/snapshot.
[Stable Fix]
A minimal "import glob" patch should work here.
[Regression Potential]
"glob" is a standard Python library function, and there should be no impact in importing it. If some change to maas-ipmi-
[Original Description]
maas 1.4+bzr1693+
It appears to me that this would affect Highbank, Midway and anything else that does local IPMI detection using this snippet on Saucy.
During enlistment:
Traceback (most recent call last):
File "/tmp/sh.
main()
File "/tmp/sh.
(status, ipmi_version) = detect_ipmi()
File "/tmp/sh.
found = glob.glob(
NameError: global name 'glob' is not defined
Looks like this was fixed in upstream trunk in revision 1717. This may need a Saucy SRU.
Workaround: add "import glob" to /etc/maas/
Status changed to 'Confirmed' because the bug affects multiple users.