ironic-python-agent/releasenotes/notes
Lucas Alvares Gomes d528728090 Add erase_devices_metadata cleaning step
This patch is adding a new cleaning step called "erase_devices_metadata"
to the GenericHardwareManager. This step is responsible for erasing the
metadata of the disks present in the node (partition tables, signatures,
filesystem identifiers etc...).

It's important to note that the "erase_devices" cleaning step will also
remove all these metadatas (because it will zero/shred the whole disk)
but, it takes a lot of time to run and for some usages of Ironic only
cleaning the device metadata and leaving the data from previous tenants
on the disk after the machine is recycled is fine. That's the use case
for systems using Ironic just to install the same base image onto many
nodes which will run another cloud on top afterwards (TripleO).

The new cleaning step has a default priority of 99, so it should run
before the "erase_devices" cleaning step so that we can guarantee that
the metadata was removed even in case of a failure when cleaning the
disks.

The version of the GenericHardwareManager was bumped to "1.1" with the
addition of this new clean step.

This patch make use of the "destroy_disk_metadata" method from ironic-lib
to get rid of the metadata.

Closes-Bug: #1603411
Change-Id: I3d7b39d5ee3e03ce63185e4168b1ac954a896c93
2016-07-28 11:14:11 +01:00
..
.placeholder Add reno for release notes management 2015-12-16 16:04:29 -08:00
add-disk-wait-config-opts-fe805292baca8029.yaml Add configuration options for DISK_WAIT 2016-06-20 18:47:26 -04:00
add-log-extension-35ca22cc0709af4c.yaml Add a log extension 2016-06-28 17:02:11 +01:00
add-pci-devices-info-3f86934a505d1b31.yaml Add PCI devices collector to inspector 2016-06-24 14:50:58 +02:00
add-portal-port-arg-6d4faec2f709c8e9.yaml add new portal_port argument into iscsi.start_iscsi_target api 2016-03-24 13:32:42 +00:00
add-unit-test-cc4a1a05859ad17d.yaml Reduced restriction of parsing for dmidecode output 2016-02-22 22:46:28 +00:00
add-vendor-info-56be9a8605d80bf0.yaml Add 'system_vendor' information to data 2016-02-15 10:19:17 +09:00
additional-wwn-hints-ffd02ceafcb3dc70.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
advertise-address-c3b152fe475fb539.yaml Bind to interface routable to the ironic host, not a random one 2016-03-21 14:21:12 +00:00
agent_partition_image-91941adc6683c673.yaml Add support for partition images in agent driver. 2016-03-18 08:21:01 +00:00
boot-info-f18336ada089f6dd.yaml Add boot information into the inventory 2016-05-26 17:05:11 +02:00
coreos-uses-chroot-8a01ba0b38a4a4f4.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
cpu-flags-e3cec7e5cba069ef.yaml Returns CPU flags in the CPU inventory 2016-06-01 16:12:32 +02:00
device-hints-from-node-object-9a689f5a4175a1a6.yaml Get root device hints from the node object 2016-05-26 14:52:15 +01:00
disk-label-fix-536897e41a4d817f.yaml Add disk_label support for partition images 2016-03-22 16:59:38 +00:00
disk-wait-2e0e85e0947f80e9.yaml Wait for at least one suitable disk to appear on start up 2016-05-24 10:36:45 +02:00
enable-cleaning-fallback-57e8c9aa2f24e63d.yaml Provide fallback from ATA erase to shredding 2016-04-08 15:55:06 -04:00
erase-device-metadata-clean-step-31b4a615c0ff7f18.yaml Add erase_devices_metadata cleaning step 2016-07-28 11:14:11 +01:00
fix-vfd-mount-for-capitalized-device-name-db7f519e900f4e22.yaml Fix vfd mount for capitalized device name 2016-02-08 16:33:14 +09:00
handle-configdrive-large-disks-3517e9fcf16c7f39.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
improve-tgtd-status-d17173dc8f67959f.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
inspection-wait-for-ips-223e39b65fef31bd.yaml Wait for the interfaces to get IP addresses before inspection 2016-04-05 20:03:33 +02:00
inspection-wait-for-ips-v2-146016f758d7010c.yaml [inspection] wait for the PXE DHCP by default and remove the carrier check 2016-05-10 18:12:46 +02:00
ipa-debug-68c86101b1fdc3d9.yaml Allow enabling debug level via kernel cmdline 2016-02-26 12:34:20 +01:00
iscsi-detection-on-diskless-hw-f27dcce3aaa35ac2.yaml Follow-up text changes for 327807 2016-07-21 09:54:51 -04:00
logs-collector-non-ascii-010339bf256443c8.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
name-root-device-hints-0cfc8c90d03c8bf0.yaml Extend root device hints to support device name 2016-02-02 10:32:39 +00:00
new-sync-command-6f5fa55df2fd5903.yaml Add sync() command to the standby module 2016-03-18 15:20:48 +00:00
prefix-lldp-timeout-50acc656313d8dd2.yaml lldp-timeout kernel parameter missing ipa- prefix 2016-06-03 12:17:55 -04:00
remove-sysrq-2c2804930180f408.yaml Replace SYSRQ commands 2016-03-21 12:57:50 +00:00
root-device-hints-rotational-67e6e61074c26561.yaml Extend root device hints to support "rotational" 2016-07-11 14:30:35 +01:00
sleep-ebe58fbe07d30219.yaml Add a configurable sleep before IPA starts working 2016-05-24 10:39:52 +02:00
stream-raw-images-d2e245aaed991d86.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
support-image-proxy-e2987a6589375451.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
support-linux-io-6bbd7ff1f0d70a0e.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
support-lldp-in-inventory-4ab6e45ccd35dace.yaml Support LLDP data as part of interfaces in inventory 2016-06-22 18:26:04 +01:00
udev-settle-f75db34db990ad68.yaml Wait for udev to settle before listing the block devices 2016-03-02 10:54:51 +00:00
use-latest-coreos-87f826d26b46548d.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
use-system-random-00b0721c8ebd0c5a.yaml Catch up release notes for Mitaka 2015-12-16 16:34:21 -08:00
wait-for-interfaces-before-lookup-9bf38852b2f176a1.yaml Wait for at least one interface before node lookup 2016-06-14 12:36:52 +00:00