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):
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:
- In a separate window, monitor created PVs:
PV is created with:
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.