tripleo-quickstart/roles/convert-image
Sagi Shnaidman 7e834e1ba1 Reduce memory for undercloud image convert
Image convertion to undercloud fails because of lack of memory,
decrease it to 2048 MB, to avoid "Can not allocate memory" error.
Also add yum clean before any yum operations on image.

Change-Id: I07ea1bc812cc80f1306ed1cc56bbe2658ea0834d
2017-12-26 19:41:50 +02:00
..
defaults Reduce memory for undercloud image convert 2017-12-26 19:41:50 +02:00
meta Add blank newline at the end of file 2017-03-27 10:40:32 +02:00
tasks Reduce memory for undercloud image convert 2017-12-26 19:41:50 +02:00
templates Reduce memory for undercloud image convert 2017-12-26 19:41:50 +02:00
README.md Make the convert-image role more generic 2017-10-02 12:52:50 +00:00

README.md

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

The convert-image role transforms a overcloud-full 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)