Build overcloud host images via DIB by default
Changes overcloud_dib_build_host_images to true, as promised in I93d242889e225b4e60254f6b9cc5eeb457294ac8. Change-Id: I322432985535348fb4ebe5bff7db5dd68f16b340
This commit is contained in:
parent
744ca0918f
commit
50f5fb14e3
@ -7,8 +7,8 @@
|
|||||||
# Whether to build host disk images with DIB directly instead of through
|
# Whether to build host disk images with DIB directly instead of through
|
||||||
# Bifrost. Setting it to true disables Bifrost image build and allows images to
|
# Bifrost. Setting it to true disables Bifrost image build and allows images to
|
||||||
# be built with the `kayobe overcloud host image build` command. Default value
|
# be built with the `kayobe overcloud host image build` command. Default value
|
||||||
# is {{ os_distribution == 'rocky' }}. This will change in a future release.
|
# is true.
|
||||||
overcloud_dib_build_host_images: "{{ os_distribution == 'rocky' }}"
|
overcloud_dib_build_host_images: true
|
||||||
|
|
||||||
# List of additional build host packages to install.
|
# List of additional build host packages to install.
|
||||||
overcloud_dib_host_packages_extra: []
|
overcloud_dib_host_packages_extra: []
|
||||||
@ -96,4 +96,4 @@ overcloud_dib_upper_constraints_file: "{{ pip_upper_constraints_file }}"
|
|||||||
|
|
||||||
# Upper constraints file for installation of DIB to build overcloud host disk images.
|
# Upper constraints file for installation of DIB to build overcloud host disk images.
|
||||||
# Default is empty string.
|
# Default is empty string.
|
||||||
overcloud_dib_dib_upper_constraints_file: ""
|
overcloud_dib_dib_upper_constraints_file: ""
|
||||||
|
@ -42,7 +42,7 @@ Overcloud root disk image configuration
|
|||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
This configuration only applies when ``overcloud_dib_build_host_images``
|
This configuration only applies when ``overcloud_dib_build_host_images``
|
||||||
(set in ``${KAYOBE_CONFIG_PATH}/overcloud-dib.yml``) is not changed to true.
|
(set in ``${KAYOBE_CONFIG_PATH}/overcloud-dib.yml``) is changed to false.
|
||||||
|
|
||||||
Bifrost uses Diskimage builder (DIB) to build a root disk image that is
|
Bifrost uses Diskimage builder (DIB) to build a root disk image that is
|
||||||
deployed to overcloud hosts when they are provisioned. The following options
|
deployed to overcloud hosts when they are provisioned. The following options
|
||||||
|
@ -19,8 +19,7 @@ following option:
|
|||||||
Whether to build host disk images with DIB directly instead of through
|
Whether to build host disk images with DIB directly instead of through
|
||||||
Bifrost. Setting it to true disables Bifrost image build and allows images
|
Bifrost. Setting it to true disables Bifrost image build and allows images
|
||||||
to be built with the ``kayobe overcloud host image build`` command. Default
|
to be built with the ``kayobe overcloud host image build`` command. Default
|
||||||
value is false, except on Rocky where it is true. This will change in a
|
value is true since the Zed release.
|
||||||
future release.
|
|
||||||
|
|
||||||
With this option enabled, Bifrost will be configured to stop building a root
|
With this option enabled, Bifrost will be configured to stop building a root
|
||||||
disk image. This will become the default behaviour in a future release.
|
disk image. This will become the default behaviour in a future release.
|
||||||
|
@ -172,8 +172,8 @@ At this point the seed services need to be deployed on the seed VM. These
|
|||||||
services are deployed in the ``bifrost_deploy`` container.
|
services are deployed in the ``bifrost_deploy`` container.
|
||||||
|
|
||||||
This command will also build the Operating System image that will be used to
|
This command will also build the Operating System image that will be used to
|
||||||
deploy the overcloud nodes using Disk Image Builder (DIB), unless
|
deploy the overcloud nodes using Disk Image Builder (DIB), if
|
||||||
``overcloud_dib_build_host_images`` is set to ``True``.
|
``overcloud_dib_build_host_images`` is set to ``False``.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
@ -229,8 +229,7 @@ Building Overcloud Host Disk Images
|
|||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
This step is only relevant if ``overcloud_dib_build_host_images`` is set to
|
This step is only relevant if ``overcloud_dib_build_host_images`` is set to
|
||||||
``True``. By default, a host disk image is automatically built by Bifrost
|
``True``, which is the default since the Zed release.
|
||||||
unless you're running Rocky Linux - which requires this step.
|
|
||||||
|
|
||||||
Host disk images are deployed on overcloud hosts during provisioning. To build
|
Host disk images are deployed on overcloud hosts during provisioning. To build
|
||||||
host disk images::
|
host disk images::
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Whether to build host disk images with DIB directly instead of through
|
# Whether to build host disk images with DIB directly instead of through
|
||||||
# Bifrost. Setting it to true disables Bifrost image build and allows images to
|
# Bifrost. Setting it to true disables Bifrost image build and allows images to
|
||||||
# be built with the `kayobe overcloud host image build` command. Default value
|
# be built with the `kayobe overcloud host image build` command. Default value
|
||||||
# is {{ os_distribution == 'rocky' }}. This will change in a future release.
|
# is true.
|
||||||
#overcloud_dib_build_host_images:
|
#overcloud_dib_build_host_images:
|
||||||
|
|
||||||
# List of additional build host packages to install. Default is an empty list.
|
# List of additional build host packages to install. Default is an empty list.
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Overcloud host images are now built via DIB by default, rather than
|
||||||
|
Bifrost. The old behaviour may be obtained by setting
|
||||||
|
``overcloud_dib_build_host_images`` to ``false``.
|
Loading…
Reference in New Issue
Block a user