Bug 1822667

Summary: [4.4][OSP] [BUG] Controllers don't seem to respect 'ignore-volume-az = true'
Product: OpenShift Container Platform Reporter: Mike Fedosin <mfedosin>
Component: StorageAssignee: Mike Fedosin <mfedosin>
Status: CLOSED ERRATA QA Contact: Wei Duan <wduan>
Severity: high Docs Contact:
Priority: high    
Version: 4.2.zCC: andcosta, aos-bugs, bbennett, chaoyang, hekumar, ingvarr.zhmakin, jsafrane, lxia, m.andre, mfedosin, mtaru, nagrawal
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1786446 Environment:
Last Closed: 2020-05-18 13:35:02 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: 1786446    
Bug Blocks: 1822680    

Comment 1 Jan Safranek 2020-04-21 14:03:36 UTC
Waiting for 4.4.z to open.
https://github.com/openshift/origin/pull/24854

Comment 5 Wei Duan 2020-05-12 02:28:25 UTC
Verified pass.

[wduan@MINT 01_general]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.4.0-0.nightly-2020-05-08-224132   True        False         99m     Cluster version is 4.4.0-0.nightly-2020-05-08-224132


[wduan@MINT 01_general]$ oc get pv pvc-ff1366b6-8e8b-4fd4-b7e7-6c4535663a0a --show-labels
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM             STORAGECLASS   REASON   AGE   LABELS
pvc-ff1366b6-8e8b-4fd4-b7e7-6c4535663a0a   2Gi        RWO            Delete           Bound    wduan01/mypvc01   standard                54s   <none>

[wduan@MINT 01_general]$ oc get pv pvc-ff1366b6-8e8b-4fd4-b7e7-6c4535663a0a -o yaml
apiVersion: v1
kind: PersistentVolume
metadata:
  annotations:
    kubernetes.io/createdby: cinder-dynamic-provisioner
    pv.kubernetes.io/bound-by-controller: "yes"
    pv.kubernetes.io/provisioned-by: kubernetes.io/cinder
  creationTimestamp: "2020-05-12T02:25:19Z"
  finalizers:
  - kubernetes.io/pv-protection
  name: pvc-ff1366b6-8e8b-4fd4-b7e7-6c4535663a0a
  resourceVersion: "58213"
  selfLink: /api/v1/persistentvolumes/pvc-ff1366b6-8e8b-4fd4-b7e7-6c4535663a0a
  uid: 9d2782d1-9204-403f-9b4b-0d131ff19750
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 2Gi
  cinder:
    volumeID: f2d72129-c10a-41b7-a400-b1ebd95c0670
  claimRef:
    apiVersion: v1
    kind: PersistentVolumeClaim
    name: mypvc01
    namespace: wduan01
    resourceVersion: "58209"
    uid: ff1366b6-8e8b-4fd4-b7e7-6c4535663a0a
  persistentVolumeReclaimPolicy: Delete
  storageClassName: standard
  volumeMode: Filesystem
status:
  phase: Bound

Comment 7 errata-xmlrpc 2020-05-18 13:35:02 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, 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:2133