maas/images/maas-rack-controller
Phil Sphicas 03ebbaaca3 maas-rack image: improve IPMI error handling
MAAS uses ipmipower to power nodes on and off. The ipmipower command
sometimes fails with the message:
    x.x.x.x: BMC error
but exits with return code of 0.

Because MAAS is not aware of this specific error, and is also not able
to detect the power state from the output, the built in retry logic is
not used, resulting in failed deployments or nodes in Power Error.

This patch adds "BMC error" to the list of known retriable errors, and
also adds additional retries.

Error strings from ipmipower 1.4:
http://git.savannah.gnu.org/cgit/freeipmi.git/tree/ipmipower/ipmipower_output.c?h=Release-1_4_0_branch#n52

IPMI_ERRORS known to MAAS 2.3:
https://git.launchpad.net/maas/tree/src/provisioningserver/drivers/power/ipmi.py?h=2.3#n50

Change-Id: Ia4b10e47855d67ba81e9ab800be3d780f8b38cac
2019-11-29 09:42:45 -08:00
..
scripts (fix) Give systemd service access to env 2019-01-25 11:22:59 -06:00
2.3_hostheader.patch (fix) Fix static ports in MAAS ingress 2018-12-07 22:18:45 +00:00
2.3_ipmi_error.patch maas-rack image: improve IPMI error handling 2019-11-29 09:42:45 -08:00
2.3_mac_address.patch [WIP] [fix] Patch issues in upstream MAAS 2018-11-15 16:42:47 -06:00
2.3_nic_filter.patch [470918] Update MaaS to 2.3.5 2018-10-11 09:03:46 -05:00
2.3_secure_headers.patch Patch Twisted to secure response headers 2019-10-10 17:32:32 -05:00
Dockerfile maas-rack image: improve IPMI error handling 2019-11-29 09:42:45 -08:00
README.md Fix: various documentation and URL fixes 2018-09-24 12:53:27 +02:00

README.md

Docker Repository on Quay Ubuntu MaaS Rack Controller