diff --git a/ansible/group_vars/all/ipa b/ansible/group_vars/all/ipa index 77bae9f9b..1ed548e2a 100644 --- a/ansible/group_vars/all/ipa +++ b/ansible/group_vars/all/ipa @@ -16,8 +16,8 @@ ipa_build_source_version: "{{ openstack_branch }}" # URL of IPA builder source repository. ipa_builder_source_url: "https://opendev.org/openstack/ironic-python-agent-builder" -# Version of IPA builder source repository. Default is master. -ipa_builder_source_version: master +# Version of IPA builder source repository. Default is {{ openstack_branch }}. +ipa_builder_source_version: "{{ openstack_branch }}" # List of default Diskimage Builder (DIB) elements to use when building IPA # images. Default is ["centos", "enable-serial-console", @@ -45,8 +45,8 @@ ipa_build_dib_env_default: # TODO(mgoddard): Use {{ os_release }} here when we use os_distribution # above. DIB_RELEASE: "8-stream" - DIB_REPOLOCATION_ironic_agent: "{{ ipa_build_source_url }}" - DIB_REPOREF_ironic_agent: "{{ ipa_build_source_version }}" + DIB_REPOLOCATION_ironic_python_agent: "{{ ipa_build_source_url }}" + DIB_REPOREF_ironic_python_agent: "{{ ipa_build_source_version }}" # Dictionary of additional environment variables to provide to Diskimage # Builder (DIB) during IPA image build. diff --git a/etc/kayobe/ipa.yml b/etc/kayobe/ipa.yml index e0f2094f8..519ca2a59 100644 --- a/etc/kayobe/ipa.yml +++ b/etc/kayobe/ipa.yml @@ -16,7 +16,7 @@ # URL of IPA builder source repository. #ipa_builder_source_url: -# Version of IPA builder source repository. Default is master. +# Version of IPA builder source repository. Default is {{ openstack_branch }}. #ipa_builder_source_version: # List of default Diskimage Builder (DIB) elements to use when building IPA diff --git a/releasenotes/notes/ipa-branch-b29c377c531013a8.yaml b/releasenotes/notes/ipa-branch-b29c377c531013a8.yaml new file mode 100644 index 000000000..b7a34e17a --- /dev/null +++ b/releasenotes/notes/ipa-branch-b29c377c531013a8.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes an issue with IPA image builds which used the ``master`` + branch of ``ironic-python-agent``, even on stable releases + of Kayobe, or when explicitly setting ``ipa_build_source_version``.