ironic-python-agent/ironic_python_agent
Olivier Bourdon d1ec63bd1f Fix for fatal error when GPT was used and only MBR was cleaned
You can generate this error if after having provisioned a node
using GPT partitioning, you clean its MBR using say
dd if=/dev/zero bs=1024 count=1 of=/dev/sda
and then cleanup all Ironic/Bifrost informations to get it
reprovisioned.
In this case sgdisk -Z returns an error and last_error field
in Ironic contains:
Error writing image to device: Writing image to device
        /dev/sda failed with exit code 2
Caution: invalid main GPT header, but valid backup;
        regenerating main header\nfrom backup!\n
        \nInvalid partition data!\

Change-Id: Ib617737fff5e40cb376edda0232e0726d9c71231
(cherry picked from commit 5fcf3f066c)
2018-06-08 05:40:14 +00: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 Use lshw in place of dmidecode for the default hardware manager 2018-01-30 15:54:10 +00: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