Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1860829

Summary: After upgrading to 4.3.28 customer observed mistmatch between node labels (region=CanadaCentral) and pv affinity (region=canadacentral)
Product: OpenShift Container Platform Reporter: Alberto <agarcial>
Component: Cloud ComputeAssignee: Alberto <agarcial>
Cloud Compute sub component: Other Providers QA Contact: sunzhaohua <zhsun>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: agarcial, aos-bugs, bmilne, emahoney, jokerman, mimccune, mjudeiki, rbost, rdave, sponnaga, zhsun
Version: 4.3.z   
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1860128
: 1860830 (view as bug list) Environment:
Last Closed: 2020-08-10 13:50:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1860128    
Bug Blocks: 1860830    

Comment 1 Alberto 2020-07-27 09:11:03 UTC
This is already included in >= 4.5 https://github.com/openshift/origin/blob/release-4.5/vendor/k8s.io/kubernetes/staging/src/k8s.io/legacy-cloud-providers/azure/azure_standard.go#L492-L494

Moving to MODIFIED for QA to validate.

Comment 4 sunzhaohua 2020-07-29 10:07:55 UTC
Verified
clusterversion: 4.5.0-0.nightly-2020-07-28-212824
steps:
1. Create a cluster in Azure Canada Central. 
2. Check "oc get configmap cloud-provider-config -n openshift-config"  `UseInstanceMetadata=True` is set. 
3. Create PVC using dynamic storage class.
$ oc get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                        STORAGECLASS      REASON   AGE
pvc-6565aa5b-fa68-41ba-a97d-ef0fa7a679a0   1Gi        RWO            Delete           Bound    openshift-machine-api/pvc1   managed-premium            3h30m
$ oc get pvc
NAME   STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS      AGE
pvc1   Bound    pvc-6565aa5b-fa68-41ba-a97d-ef0fa7a679a0   1Gi        RWO            managed-premium   3h45m
$ oc get po
task-pv-pod                                    1/1     Running   0          3h31m

Comment 6 errata-xmlrpc 2020-08-10 13:50:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.5.5 bug fix 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/RHBA-2020:3188