Bug 1596668 - [3.9] allow a parameter to be passed in the StorageClass to target the disk being created in a different Azure resource group
Summary: [3.9] allow a parameter to be passed in the StorageClass to target the disk b...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 3.9.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.9.z
Assignee: Jan Safranek
QA Contact: Jianwei Hou
URL:
Whiteboard:
Depends On: 1589875 1596673
Blocks: 1596319
TreeView+ depends on / blocked
 
Reported: 2018-06-29 12:16 UTC by Jan Safranek
Modified: 2018-08-09 22:14 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1589875
Environment:
Last Closed: 2018-08-09 22:13:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2335 0 None None None 2018-08-09 22:14:41 UTC

Comment 1 Jan Safranek 2018-06-29 12:18:35 UTC
OSE PR: https://github.com/openshift/ose/pull/1333

Comment 3 Wenqi He 2018-07-26 08:32:00 UTC
Tested on below version:
oc v3.9.38
kubernetes v1.9.1+a0ce1bc657

# uname -a
Linux 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)

This bug is fixed.

# oc describe sc
Name:            azsc
IsDefaultClass:  No
Annotations:     <none>
Provisioner:     kubernetes.io/azure-disk
Parameters:      kind=Managed,resourceGroup=bz-1596319-extstr
ReclaimPolicy:   Delete
Events:          <none>

# oc get pvc
NAME          STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
azpvc         Bound     pvc-9827f38f-909c-11e8-ab03-000d3afd16d9   1Gi        RWO            azsc           2h

# oc get pods
dynamic                    1/1       Running   0          2h

# oc exec -it dynamic sh
/ # touch  /mnt/azure/wehe
/ # ls /mnt/azure/
lost+found  wehe

Comment 5 errata-xmlrpc 2018-08-09 22:13:49 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-2018:2335


Note You need to log in before you can comment on or make changes to this bug.