overcloud image build: Use CentOS Stream 9 by default

TripleO and RDO no longer support CentOS 8 Stream since Zed. Thus we
should use CentOS Stream 9 by default instead of the unsupported old
version.

Closes-Bug: #1996567
Change-Id: I4c17917b3c99b17ddca5a00a03486831ee2d9284
This commit is contained in:
Takashi Kajinami 2022-11-15 12:54:40 +09:00
parent 0cba88a0c1
commit edd1ab318d
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Now the ``openstack overcloud image build`` command uses CentOS Stream 9 as
base os by default.

View File

@ -50,7 +50,7 @@ class TestOvercloudImageBuild(TestPluginV1):
['/usr/share/openstack-tripleo-common/image-yaml/'
'overcloud-images-python3.yaml',
'/usr/share/openstack-tripleo-common/image-yaml/'
'overcloud-images-centos8.yaml'],
'overcloud-images-centos9.yaml'],
output_directory='.',
skip=True,
images=None)

View File

@ -43,7 +43,7 @@ class BuildOvercloudImage(command.Command):
IMAGE_YAML_PATH = "/usr/share/openstack-tripleo-common/image-yaml"
DEFAULT_YAML = ['overcloud-images-python3.yaml',
'overcloud-images-centos8.yaml']
'overcloud-images-centos9.yaml']
REQUIRED_PACKAGES = [
'openstack-tripleo-common',
'openstack-ironic-python-agent-builder',