Support additional build host packages for IPA & overcloud
Adds support for installing additional build host dependencies when building IPA and overcloud host images via 'ipa_build_dib_host_packages_extra' and 'overcloud_dib_host_packages_extra'. Support for installing additional host packages was added in stackhpc.os-images v1.15.0 [1]. [1] https://github.com/stackhpc/ansible-role-os-images/pull/63 Change-Id: I1a05d448031cb415cec4cd601a030abdb8a5eba5
This commit is contained in:
parent
a2f9801034
commit
0e4af118eb
@ -19,6 +19,9 @@ ipa_builder_source_url: "https://opendev.org/openstack/ironic-python-agent-build
|
||||
# Version of IPA builder source repository. Default is {{ openstack_branch }}.
|
||||
ipa_builder_source_version: "{{ openstack_branch }}"
|
||||
|
||||
# List of additional build host packages to install.
|
||||
ipa_build_dib_host_packages_extra: []
|
||||
|
||||
# List of default Diskimage Builder (DIB) elements to use when building IPA
|
||||
# images. Default is ["centos", "enable-serial-console",
|
||||
# "ironic-python-agent-ramdisk"].
|
||||
|
@ -10,6 +10,9 @@
|
||||
# is {{ os_distribution == 'rocky' }}. This will change in a future release.
|
||||
overcloud_dib_build_host_images: "{{ os_distribution == 'rocky' }}"
|
||||
|
||||
# List of additional build host packages to install.
|
||||
overcloud_dib_host_packages_extra: []
|
||||
|
||||
# List of overcloud host disk images to build. Each element is a dict defining
|
||||
# an image in a format accepted by the stackhpc.os-images role. Default is to
|
||||
# build an image named "deployment_image" configured with the overcloud_dib_*
|
||||
|
@ -22,6 +22,7 @@
|
||||
include_role:
|
||||
name: stackhpc.os-images
|
||||
vars:
|
||||
os_images_package_dependencies_extra: "{{ overcloud_dib_host_packages_extra | select | list }}"
|
||||
os_images_venv: "{{ virtualenv_path }}/overcloud-host-image-dib"
|
||||
os_images_package_state: latest
|
||||
os_images_upper_constraints_file: "{{ overcloud_dib_upper_constraints_file }}"
|
||||
|
@ -36,6 +36,7 @@
|
||||
include_role:
|
||||
name: stackhpc.os-images
|
||||
vars:
|
||||
os_images_package_dependencies_extra: "{{ ipa_build_dib_host_packages_extra | select | list }}"
|
||||
os_images_venv: "{{ virtualenv_path }}/ipa-build-dib"
|
||||
os_images_package_state: latest
|
||||
os_images_upper_constraints_file: "{{ ipa_build_upper_constraints_file }}"
|
||||
|
@ -26,6 +26,7 @@
|
||||
include_role:
|
||||
name: stackhpc.os-images
|
||||
vars:
|
||||
os_images_package_dependencies_extra: "{{ ipa_build_dib_host_packages_extra | select | list }}"
|
||||
os_images_venv: "{{ virtualenv_path }}/ipa-build-dib"
|
||||
os_images_package_state: latest
|
||||
os_images_upper_constraints_file: "{{ ipa_build_upper_constraints_file }}"
|
||||
|
@ -44,6 +44,9 @@ image build``.
|
||||
https://opendev.org/openstack/ironic-python-agent-builder
|
||||
``ipa_builder_source_version``
|
||||
Version of IPA builder source repository. Default is ``master``.
|
||||
``ipa_build_dib_host_packages_extra``
|
||||
List of additional build host packages to install. Default is an empty
|
||||
list.
|
||||
``ipa_build_dib_elements_default``
|
||||
List of default Diskimage Builder (DIB) elements to use when building IPA
|
||||
images. Default is ``["centos", "enable-serial-console",
|
||||
|
@ -41,6 +41,8 @@ Linux is used.
|
||||
`Cloud-init <https://cloudinit.readthedocs.io/en/latest/>`__ is used to process
|
||||
the configuration drive built by Bifrost during provisioning.
|
||||
|
||||
``overcloud_dib_host_packages_extra``
|
||||
List of additional host packages to install. Default is an empty list.
|
||||
``overcloud_dib_host_images``
|
||||
List of overcloud host disk images to build. Each element is a dict
|
||||
defining an image in a format accepted by the `stackhpc.os-images
|
||||
|
@ -19,6 +19,9 @@
|
||||
# Version of IPA builder source repository. Default is {{ openstack_branch }}.
|
||||
#ipa_builder_source_version:
|
||||
|
||||
# List of additional build host packages to install. Default is an empty list.
|
||||
#ipa_build_dib_host_packages_extra:
|
||||
|
||||
# List of default Diskimage Builder (DIB) elements to use when building IPA
|
||||
# images. Default is ["centos", "enable-serial-console",
|
||||
# "ironic-python-agent-ramdisk"].
|
||||
|
@ -10,6 +10,9 @@
|
||||
# is {{ os_distribution == 'rocky' }}. This will change in a future release.
|
||||
#overcloud_dib_build_host_images:
|
||||
|
||||
# List of additional build host packages to install. Default is an empty list.
|
||||
#overcloud_dib_host_packages_extra:
|
||||
|
||||
# List of overcloud host disk images to build. Each element is a dict defining
|
||||
# an image in a format accepted by the stackhpc.os-images role. Default is to
|
||||
# build an image named "deployment_image" configured with the overcloud_dib_*
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Adds support for installing additional build host dependencies when
|
||||
building IPA and overcloud host images via
|
||||
``ipa_build_dib_host_packages_extra`` and
|
||||
``overcloud_dib_host_packages_extra``.
|
@ -43,7 +43,7 @@ roles:
|
||||
- src: stackhpc.mellanox-switch
|
||||
version: v1.0.0
|
||||
- src: stackhpc.os-images
|
||||
version: v1.11.0
|
||||
version: v1.15.0
|
||||
- src: stackhpc.os-ironic-state
|
||||
version: v1.3.1
|
||||
- src: stackhpc.os-networks
|
||||
|
Loading…
x
Reference in New Issue
Block a user