ironic-staging-drivers/releasenotes/notes/ansible-improved-partitions-4ffd7d913287f60f.yaml
Pavlo Shchelokovskyy 1d6b1b89d2 [ansible] Improve partition images support
- partitioning scheme now closer resembles what's being done by IPA

  - for partition images the root partition is last so that it can grow
  - for whole-disk images, configdrive is created as far as possible

- added support for setting disk label for created partition table,
  supported are 'gpt' and 'msdos' (default)

  - for 'gpt' disks, a bios_grub partiton is prepended to standard ones

- 'parted' module for Ansible was renamed to ``ironic_parted`` to not
  shadow ``parted`` module included in Ansible 2.3
  It was also rewritten to be cleaner and more stable:

  - changed accepted module arguments
  - added support for units (MiB and % for now)
  - added more validations
  - left support for msdos and gpt partition tables only
  - partitions are created one by one, and actual block devices created
    are searched for and reported.
  - module returns only after all partitions are available for write

Change-Id: I4d6d7619c6f3ba25c29263ffe5d778698e598429
2017-06-16 19:25:51 +00:00

33 lines
1.3 KiB
YAML

---
features:
- |
``parted`` module for Ansible was renamed to ``ironic_parted`` to not
shadow the ``parted`` module included in Ansible 2.3.
It was also rewritten to be cleaner and more stable
- changed accepted module arguments
- added support for units (MiB and % for now)
- added more validations
- left support for msdos and gpt partition tables only
- partitions are created one by one, and actual block devices created
are searched for and reported.
- |
Ansible-deploy with local-booted partition images now creates
a partitioning scheme that closer resembles what's being done by
drivers that use ``ironic-python-agent``.
- for partition images the root partition is the last one created
so that it can grow with e.g. when using cloud-init's growroot
- for whole-disk images, configdrive is created as far as possible
upgrade:
- |
``parted`` module previosly provided by ansible-deploy driver was renamed
to ``ironic_parted`` and has significantly changed its interface and
returned values.
**Any out-of-tree playbooks utilizing the ``parted`` module supplied that
was provided by ansible-deploy driver are incompatible with this release and
must be changed accordingly to use the new module name and arguments!**