Verified in 4.14.0-0.nightly-2023-08-11-055332.
$ openstack availability zone list --compute
+-----------+-------------+
| Zone Name | Zone Status |
+-----------+-------------+
| internal | available |
| AZ0 | available |
| AZ1 | available |
| AZ2 | available |
+-----------+-------------+
$ openstack availability zone list --volume
+-----------+-------------+
| Zone Name | Zone Status |
+-----------+-------------+
| nova | available |
+-----------+-------------+
**
Master node's rootVolume AZ validation
Node AZ is set but no rootVolume AZ (from install-config.yaml):
compute:
- name: worker
platform:
openstack:
zones: []
additionalNetworkIDs: []
type: "m4.xlarge"
replicas: 2
controlPlane:
name: master
platform:
openstack:
zones: ['AZ0', 'AZ1', 'AZ2']
additionalNetworkIDs: []
type: "m4.xlarge"
rootVolume:
size: 100
type: tripleo
zones: []
replicas: 3
The installer raises the validation error:
DEBUG OpenShift Installer 4.14.0-0.nightly-2023-08-11-055332
DEBUG Built from commit 0be5579f9c69d275db0600f41fac1686068a62c8
DEBUG Fetching Metadata...
DEBUG Loading Metadata...
DEBUG Loading Cluster ID...
DEBUG Loading Install Config...
DEBUG Loading SSH Key...
DEBUG Loading Base Domain...
DEBUG Loading Platform...
DEBUG Loading Cluster Name...
DEBUG Loading Base Domain...
DEBUG Loading Platform...
DEBUG Loading Networking...
DEBUG Loading Platform...
DEBUG Loading Pull Secret...
DEBUG Loading Platform...
ERROR failed to fetch Metadata: failed to load asset "Install Config": failed to create install config: invalid "install-config.yaml" file: controlPlane.platform.openstack.rootVolume.zones: Required value: root volume availability zones must be specified when compute availability zones are specified
Worker node's rootVolume AZ validation
Node AZ is set but no rootVolume AZ (from install-config.yaml):
compute:
- name: worker
platform:
openstack:
zones: ['AZ0', 'AZ1', 'AZ2']
additionalNetworkIDs: []
type: "m4.xlarge"
rootVolume:
size: 100
type: tripleo
zones: []
replicas: 2
controlPlane:
name: master
platform:
openstack:
zones: []
additionalNetworkIDs: []
type: "m4.xlarge"
replicas: 3
The installer raises the validation error:
DEBUG OpenShift Installer 4.14.0-0.nightly-2023-08-11-055332
DEBUG Built from commit 0be5579f9c69d275db0600f41fac1686068a62c8
DEBUG Fetching Metadata...
DEBUG Loading Metadata...
DEBUG Loading Cluster ID...
DEBUG Loading Install Config...
DEBUG Loading SSH Key...
DEBUG Loading Base Domain...
DEBUG Loading Platform...
DEBUG Loading Cluster Name...
DEBUG Loading Base Domain...
DEBUG Loading Platform...
DEBUG Loading Networking...
DEBUG Loading Platform...
DEBUG Loading Pull Secret...
DEBUG Loading Platform...
ERROR failed to fetch Metadata: failed to load asset "Install Config": failed to create install config: invalid "install-config.yaml" file: compute[0].platform.openstack.rootVolume.zones: Required value: root volume availability zones must be specified when compute availability zones are specified
Since the problem described in this issue should be resolved in a recent advisory, it has been closed.
For information on the advisory (Important: OpenShift Container Platform 4.14.0 bug fix and security update), and where to find the updated files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2023:5006