Merge "Add new DIB upper constraints variables"

This commit is contained in:
Zuul 2022-09-15 10:18:11 +00:00 committed by Gerrit Code Review
commit 608951fcce
9 changed files with 36 additions and 1 deletions

View File

@ -88,6 +88,10 @@ ipa_build_dib_packages: []
# used for building IPA images. Default is {{ pip_upper_constraints_file }}.
ipa_build_upper_constraints_file: "{{ pip_upper_constraints_file }}"
# Upper constraints file for installation of DIB to build IPA images.
# Default is empty string.
ipa_build_dib_upper_constraints_file: ""
###############################################################################
# Ironic Python Agent (IPA) images configuration.

View File

@ -93,3 +93,7 @@ overcloud_dib_git_elements: >-
# used for building overcloud host disk images. Default is {{
# pip_upper_constraints_file }}.
overcloud_dib_upper_constraints_file: "{{ pip_upper_constraints_file }}"
# Upper constraints file for installation of DIB to build overcloud host disk images.
# Default is empty string.
overcloud_dib_dib_upper_constraints_file: ""

View File

@ -26,6 +26,7 @@
os_images_venv: "{{ virtualenv_path }}/overcloud-host-image-dib"
os_images_package_state: latest
os_images_upper_constraints_file: "{{ overcloud_dib_upper_constraints_file }}"
os_images_dib_upper_constraints_file: "{{ overcloud_dib_dib_upper_constraints_file }}"
os_images_cache: "{{ image_cache_path }}"
os_images_common: ""
os_images_list: "{{ overcloud_dib_host_images }}"

View File

@ -40,6 +40,7 @@
os_images_venv: "{{ virtualenv_path }}/ipa-build-dib"
os_images_package_state: latest
os_images_upper_constraints_file: "{{ ipa_build_upper_constraints_file }}"
os_images_dib_upper_constraints_file: "{{ ipa_build_dib_upper_constraints_file }}"
os_images_cache: "{{ image_cache_path }}"
os_images_common: ""
os_images_list:

View File

@ -99,6 +99,9 @@ the configuration drive built by Bifrost during provisioning.
Upper constraints file for installing packages in the virtual environment
used for building overcloud host disk images. Default is ``{{
pip_upper_constraints_file }}``.
``overcloud_dib_dib_upper_constraints_file``
Upper constraints file for installation of DIB to build overcloud
host disk images. Default is empty string.
Disk images are built with the following command:

View File

@ -68,6 +68,10 @@
# used for building IPA images. Default is {{ pip_upper_constraints_file }}.
#ipa_build_upper_constraints_file:
# Upper constraints file for installation of DIB to build IPA images.
# Default is empty string.
#ipa_build_dib_upper_constraints_file:
###############################################################################
# Ironic Python Agent (IPA) images configuration.

View File

@ -79,6 +79,10 @@
# pip_upper_constraints_file }}.
#overcloud_dib_upper_constraints_file:
# Upper constraints file for installation of DIB to build overcloud host
# disk images. Default is empty string.
#overcloud_dib_dib_upper_constraints_file:
###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes

View File

@ -0,0 +1,14 @@
---
upgrade:
- |
Updates the ``stackhpc.os-images`` to version to 0.16.0. This new releases
separates configuration of upper constraints for diskimage-builder (DIB)
from those used by the OpenStack SDK and client. This allows operators to
use a newer version of DIB while keeping compatible versions of the
OpenStack SDK and client. This is configured with the following variables:
* ``ipa_build_dib_upper_constraints_file`` in ``ipa.yml``
* ``overcloud_dib_dib_upper_constraints_file`` in ``overcloud-dib.yml``
The variables are empty by default in order to allow for Rocky9
image builds.

View File

@ -43,7 +43,7 @@ roles:
- src: stackhpc.mellanox-switch
version: v1.0.0
- src: stackhpc.os-images
version: v1.15.0
version: v1.16.0
- src: stackhpc.os-ironic-state
version: v1.3.1
- src: stackhpc.os-networks