-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.15.0
-
None
-
Important
-
No
-
Rejected
-
False
-
Description of problem:
After the worker nodes scaled up to 2 from 1, the infrastructureTopology value should be updated to `HighlyAvailable`. The must-gather log: https://gcsweb-qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.13-multi-nightly-baremetal-upi-ovn-ipv4-f14/1725989976824352768/artifacts/baremetal-upi-ovn-ipv4-f14/gather-must-gather/artifacts/
MacBook-Pro:~ jianzhang$ omg get infrastructures cluster -o yaml 2023-12-01 18:49:24.010 | WARNING | omg.utils.load_yaml:<module>:10 - yaml.CSafeLoader failed to load, using SafeLoader apiVersion: config.openshift.io/v1 kind: Infrastructure metadata: ... controlPlaneTopology: HighlyAvailable etcdDiscoveryDomain: '' infrastructureName: ci-op-j1003401-726hh infrastructureTopology: SingleReplica platform: None platformStatus: type: None MacBook-Pro:~ jianzhang$ omg get nodes 2023-12-01 18:49:32.302 | WARNING | omg.utils.load_yaml:<module>:10 - yaml.CSafeLoader failed to load, using SafeLoader NAME STATUS ROLES AGE VERSION master-02.ci-op-j1003401.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Ready control-plane,master 5h12m v1.26.9+fd9ae58 worker-00.ci-op-j1003401.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Ready worker 4h57m v1.26.9+fd9ae58 master-00.ci-op-j1003401.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Ready control-plane,master 5h13m v1.26.9+fd9ae58 master-01.ci-op-j1003401.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Ready control-plane,master 5h13m v1.26.9+fd9ae58 worker-a-00.ci-op-j1003401.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Ready worker 4h57m v1.26.9+fd9ae58
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. Install OCP with 1 worker. 2. Scale up worker node to 2 3. Check the infrastructureTopology
Actual results:
The infrastructureTopology still is SingleReplica.
infrastructureTopology: SingleReplica
Expected results:
The infrastructureTopology should be updated to `HighlyAvailable` automatically.
Additional info:
Relevant doc: https://docs.openshift.com/dedicated/operators/operator_sdk/osdk-ha-sno.html#osdk-ha-sno-api_osdk-ha-sno
- When the control plane replica count is less than 3, the controlPlaneTopology status is set to SingleReplica. Otherwise, it is set to HighlyAvailable.
- When the worker replica count is 0, the control plane nodes are also configured as workers. Therefore, the infrastructureTopology status will be the same as the controlPlaneTopology status.
- When the worker replica count is 1, the infrastructureTopology is set to SingleReplica. Otherwise, it is set to HighlyAvailable.
- is related to
-
OCPBUGS-9009 Provide details about the impact of installing "workers" with replica 1 in the infrastructureTopology
- Closed
- relates to
-
RFE-5005 Add a way to update (automatic or manual) infrastructureTopology cluster parameter
- Backlog
-
RFE-5489 Customize cluster infrastructureTopology after cluster installation
- Backlog
- links to