tripleo-quickstart/roles/convert-image
Rafael Castillo 33ea54f0c3 Ensure ifcfg-eth0 script exists for all centos releases
Similar to [0], this ensures eth0 is configured for converted overcloud
images.

Posted with new change-id from original patch at [1] as it exceeded
the allowed number of updates.

[0] https://review.opendev.org/c/openstack/tripleo-quickstart/+/799574
[1] https://review.opendev.org/c/openstack/tripleo-quickstart/+/830870

Closes-Bug: #1962178
Change-Id: Icb0528082f695e6334aff282530b6e9065374a0b
2022-02-28 09:53:53 +02:00
..
defaults Fix convert image package list 2020-03-05 15:11:04 +05:30
meta Make the playbook's yaml file start with "---" 2019-07-14 21:11:50 +08:00
tasks Fix quoting of task name {{ overcloud_image }} 2021-09-17 10:12:52 +12:00
templates Ensure ifcfg-eth0 script exists for all centos releases 2022-02-28 09:53:53 +02:00
README.md Do not hard-code overcloud-full image name 2021-09-14 11:43:29 +00:00

Convert an overcloud-full.qcow2 into an image to boot an undercloud from

The convert-image role transforms an overcloud image into one which an undercloud can be booted from in order to save time on package installs, while not needing to maintain/host a specific undercloud image.

Variables

  • convert_image_working_dir: -- directory to be used for image conversion
  • convert_image_template: jinja template for the script which does the conversion
  • convert_image_update: Boolean controlling whether to run an update as part of the image conversion
  • convert_image_remove_pkgs: List of packages that need to be removed from the overcloud image
  • convert_image_install_pkgs: List of packages that need to be installed on the overcloud image
  • convert_image_tempest_plugins: List of tempest plugins to install (This is separate from the install list so that it can be allowed to fail without failing the conversion)
  • overcloud_full_root_pwd: If set the defined password will set for the root user on the overcloudl image. The resulting overcloud and undercloud instances will have the password set.