ironic-python-agent/ironic_python_agent
Pierre Riteau dc154a1652 Fix BMC IP address detection on CoreOS images
On CoreOS images, IPA runs in a Debian Jessie chroot which uses mawk as
its default awk implementation. However, mawk doesn't support POSIX
character classes such as [:space:], which means get_bmc_address() fails
to parse the BMC IP address from the output of ipmitool.

This patch replaces the use of [[:space:]] by [ \t] which is equivalent
for the purpose of parsing the output of ipmitool. Note that matching on
tab characters is not strictly required as the packaged version of
ipmitool only uses space characters, but is left in case tabs are used
in other versions.

Change-Id: I0e3306a4d4584ca28e03608e9f7270b770960a39
Story: #2004121
Task: #27571
(cherry picked from commit 8eecadb0a8)
2018-10-22 12:11:52 +01:00
..
api Remove /ironic-python-agent/api/app.wsgi 2017-12-14 14:20:14 +07:00
cmd Remove old lookup/heartbeat from IPA 2016-11-09 16:34:44 +00:00
extensions Replace use of functools.wraps() with six.wraps() 2018-02-01 15:15:00 -08:00
hardware_managers Execute error in _detect_cna_card 2018-01-26 18:34:56 +00:00
shell Fix for fatal error when GPT was used and only MBR was cleaned 2018-06-08 05:40:14 +00:00
tests Merge "Use lshw in place of dmidecode for the default hardware manager" 2018-02-01 00:00:31 +00:00
__init__.py Use # instead of """ for copyright blocks 2014-04-10 07:14:06 -07:00
agent.py Follow-up patch for rescue extension for CoreOS 2018-01-30 19:00:13 +00:00
config.py Fix waiting for target disk to appear 2017-10-16 15:39:25 +02:00
dmi_inspector.py Collect processor, memory and BIOS output of dmidecode - follow-up 2017-07-27 07:30:54 -07:00
encoding.py Create a SerializableComparable class 2015-09-11 13:44:09 -07:00
errors.py NUMA-topology collector 2017-05-16 08:07:58 -04:00
hardware.py Fix BMC IP address detection on CoreOS images 2018-10-22 12:11:52 +01:00
inspector.py Clean up deprecated items in the inspection code 2017-09-19 14:05:13 +02:00
ironic_api_client.py Include IPA Version during heartbeat 2017-12-07 12:16:06 +00:00
netutils.py [LLDP] Skip NICs that say they are ready but are unreadable. 2017-11-28 17:25:43 +00:00
numa_inspector.py Fix compatibility with Pint 0.5 2017-05-22 17:05:53 +02:00
utils.py When ouputting to /dev/null should open in write mode 2018-02-06 23:01:53 -08:00
version.py Add sphinx build + basic documentation 2015-03-31 16:22:12 -07:00