Bug 1596319 - [3.10] allow a parameter to be passed in the StorageClass to target the disk being created in a different Azure resource group
Summary: [3.10] allow a parameter to be passed in the StorageClass to target the disk ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 3.10.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.10.z
Assignee: Jan Safranek
QA Contact: Wenqi He
URL:
Whiteboard:
Depends On: 1589875 1596668 1596673
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-28 15:25 UTC by Jan Safranek
Modified: 2018-09-22 04:56 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-09-22 04:55:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2660 0 None None None 2018-09-22 04:56:04 UTC

Comment 1 Jan Safranek 2018-06-28 15:33:09 UTC
3.10 PR: https://github.com/openshift/origin/pull/20130

Comment 4 Jan Safranek 2018-07-04 11:39:06 UTC
OSE 3.10(.1) PR: https://github.com/openshift/ose/pull/1340

Comment 5 Bradley Childs 2018-08-23 15:38:00 UTC
PR against origin 3.10 (waiting to merge): https://github.com/openshift/origin/pull/20130

Comment 8 Wenqi He 2018-09-07 06:24:30 UTC
Tested on below version:
openshift v3.10.44
kubernetes v1.10.0+b81c8f8

# uname -a
Linux storage-master-etcd-nfs-1 3.10.0-862.10.2.el7.x86_64 #1 SMP Wed Jul 4 09:41:38 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.5 (Maipo)

This bug is fixed. External resource group works now on 3.10.

# oc describe sc externalsc
Name:                  externalsc
IsDefaultClass:        No
Annotations:           <none>
Provisioner:           kubernetes.io/azure-disk
Parameters:            kind=Managed,resourceGroup=openshift-qe,storageaccounttype=Standard_LRS
AllowVolumeExpansion:  <unset>
MountOptions:          <none>
ReclaimPolicy:         Delete
VolumeBindingMode:     Immediate
Events:                <none>

$ oc get pvc
NAME      STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
azpvc     Bound     pvc-dabb2849-b265-11e8-99bc-000d3a0dca32   1Gi        RWO            externalsc     12s

$ oc get pods
NAME      READY     STATUS    RESTARTS   AGE
pod       1/1       Running   0          1m

$ oc exec -it pod sh
sh-4.2$ ls
anaconda-post.log  dev	hello		 home  lib64	   media  opt	root  sbin  sys  usr
bin		   etc	hello-openshift  lib   lost+found  mnt	  proc	run   srv   tmp  var
sh-4.2$ touch /mnt/azure/wehe
sh-4.2$ ls /mnt/azure/
wehe

Comment 10 errata-xmlrpc 2018-09-22 04:55:14 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:2660


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