From 1dc6d98be73a4f5c795d66a9c8bd35c779e1f682 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 17 May 2021 16:17:27 +0100 Subject: [PATCH] Revert "Use OpenStack Wallaby release" This reverts commit 3f76d7d134d1f484d2ea21fddd0fbee00788e837. The version of IPA images has been pinned to wallaby to ensure they are compatible with the Wallaby Ironic in current Kolla master images. Without this, bare metal tests fail with 'Not found: Extension with id iscsi not found.' Ironic removed the iscsi driver in Xena. Change-Id: Ia4c70965d9f3f099046591bac7f702ee982fef71 --- ansible/group_vars/all/ipa | 4 +++- ansible/group_vars/all/openstack | 6 +++--- etc/kayobe/openstack.yml | 4 ++-- tox.ini | 10 +++++----- zuul.d/jobs.yaml | 6 ------ 5 files changed, 13 insertions(+), 17 deletions(-) diff --git a/ansible/group_vars/all/ipa b/ansible/group_vars/all/ipa index 77bae9f9b..4e7244755 100644 --- a/ansible/group_vars/all/ipa +++ b/ansible/group_vars/all/ipa @@ -88,7 +88,9 @@ ipa_build_upper_constraints_file: "{{ pip_upper_constraints_file }}" # Suffix of upstream Ironic deployment image files. Default is based on # {{ openstack_branch }}. -ipa_images_upstream_url_suffix: "-{{ openstack_branch | replace('/', '-') }}" +#ipa_images_upstream_url_suffix: "-{{ openstack_branch | replace('/', '-') }}" +# TODO(mgoddard): revert to the above when Kolla images contain master/Xena. +ipa_images_upstream_url_suffix: "-stable-wallaby" # Name of Ironic deployment kernel image to register in Glance. ipa_images_kernel_name: "ipa.kernel" diff --git a/ansible/group_vars/all/openstack b/ansible/group_vars/all/openstack index 82d387540..86bf653e7 100644 --- a/ansible/group_vars/all/openstack +++ b/ansible/group_vars/all/openstack @@ -2,10 +2,10 @@ ############################################################################### # OpenStack release configuration. -# Name of the current OpenStack release. Default is "wallaby". -openstack_release: "wallaby" +# Name of the current OpenStack release. Default is "master". +openstack_release: "master" -# Name of the current OpenStack branch. Default is "stable/wallaby". +# Name of the current OpenStack branch. Default is "master". openstack_branch: >- {% if openstack_release != 'master' %}stable/{% endif %}{{ openstack_release | lower }} diff --git a/etc/kayobe/openstack.yml b/etc/kayobe/openstack.yml index 52c43ca50..1acfd0756 100644 --- a/etc/kayobe/openstack.yml +++ b/etc/kayobe/openstack.yml @@ -2,10 +2,10 @@ ############################################################################### # OpenStack release configuration. -# Name of the current OpenStack release. Default is "wallaby". +# Name of the current OpenStack release. Default is "master". #openstack_release: -# Name of the current OpenStack branch. Default is "stable/wallaby". +# Name of the current OpenStack branch. Default is "master". #openstack_branch: ############################################################################### diff --git a/tox.ini b/tox.ini index bc6ec21e8..bb75ac49e 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ setenv = OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = stestr run {posargs} @@ -27,7 +27,7 @@ commands = stestr run {posargs} [testenv:pep8] # sphinx8 needs the sphinx package which is required via doc/requirements.txt deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt -r{toxinidir}/test-requirements.txt @@ -42,7 +42,7 @@ commands = [testenv:venv] deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/doc/requirements.txt commands = {posargs} @@ -60,7 +60,7 @@ commands = [testenv:molecule] deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = @@ -109,7 +109,7 @@ commands = [testenv:docs] deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build/html diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index e7ca53bb2..5c7748d03 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -59,14 +59,8 @@ - name: openstack/kayobe - name: openstack/kayobe-config-dev - name: openstack/kolla - # TODO(mnasiadka): Remove when kayobe stable/wallaby exists. - override-checkout: stable/wallaby - name: openstack/kolla-ansible - # TODO(mnasiadka): Remove when kayobe stable/wallaby exists. - override-checkout: stable/wallaby - name: openstack/requirements - # TODO(mnasiadka): Remove when kayobe stable/wallaby exists. - override-checkout: stable/wallaby - name: openstack/tenks irrelevant-files: - ^.*\.rst$