Bug 1596319
| Summary: | [3.10] allow a parameter to be passed in the StorageClass to target the disk being created in a different Azure resource group | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jan Safranek <jsafrane> |
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED ERRATA | QA Contact: | Wenqi He <wehe> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.10.0 | CC: | aos-bugs, aos-storage-staff, bbennett, bchilds, jhou, jokerman, jsafrane, mmccomas, pdwyer, smunilla |
| Target Milestone: | --- | ||
| Target Release: | 3.10.z | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1589875 | Environment: | |
| Last Closed: | 2018-09-22 04:55:14 UTC | Type: | Bug |
| 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: | 1589875, 1596668, 1596673 | ||
| Bug Blocks: | |||
|
Comment 1
Jan Safranek
2018-06-28 15:33:09 UTC
OSE 3.10(.1) PR: https://github.com/openshift/ose/pull/1340 PR against origin 3.10 (waiting to merge): https://github.com/openshift/origin/pull/20130 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 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 |