-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.13
-
None
-
Moderate
-
No
-
False
-
Description of problem:
When running in-tree Azure Disk tests with in-line or pre-provisioned volumes, the test creates a Pod / PV only with region label.
Version-Release number of selected component (if applicable):
4.13
Steps to Reproduce:
- Install a 4.13 cluster in useast2 region and with TechPreviewNoUpgrade enabled during installation and https://github.com/openshift/cloud-provider-azure/pull/33 compiled in. If you enable TechPreviewNoUpgrade later, it will work.
- Run an e2e test with a pre-provisioned Azure Disk PV:
./openshift-tests run-test "[sig-storage] In-tree Volumes [Driver: azure-disk] [Testpattern: Pre-provisioned PV (ext4)] volumes should store data [Suite:openshift/conformance/parallel] [Suite:k8s]
- In a separate window, monitor created PVs:
oc get pv -o yaml -w
Actual results:
PV is created with:
nodeAffinity: required: nodeSelectorTerms: - matchExpressions: - key: topology.kubernetes.io/region operator: In values: - westus
Expected results:
PV with both region and zone affinity.
Similarly, Pods with in-line volumes should have their nodeAffinity (or nodeSelector) towards nodes in the right zone.
- is blocked by
-
STOR-1263 Update Control Plane Kubernetes Version to 1.27
- Closed
- relates to
-
OCPCLOUD-1861 Rebase/update to K8s 1.26 for Cloud Provider Azure
- Closed
- links to