Bug 1513859
| Summary: | Failed to mount Azure File as a Persistent Volume in Azure regional cloud (Germany and so on) | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Takayoshi Tanaka <tatanaka> | |
| Component: | Storage | Assignee: | hchen | |
| Status: | CLOSED ERRATA | QA Contact: | Wenqi He <wehe> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 3.6.1 | CC: | aos-bugs, aos-storage-staff, bchilds, eparis, florian.herzog, gchakkar, hchen, mtaru, pdwyer, tatanaka, wehe, xtian | |
| Target Milestone: | --- | |||
| Target Release: | 3.9.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1532809 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-28 14:12:08 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: | ||||
| Bug Blocks: | 1532809 | |||
|
Description
Takayoshi Tanaka
2017-11-16 06:37:43 UTC
fix is bundled at https://github.com/openshift/origin/pull/17052 Test on below version: openshift v3.9.0-0.22.0 kubernetes v1.9.1+a0ce1bc657 The azure file failed to mount. Please track in bug #1536362 @Takayoshi Hi, seems my azure account cannot create vm on Germany, China, and the countries you mentioned. Could you please help me verify this bug when it is ready next time? Otherwise I will choose a very less used region to verify this but not the one you mentioned. Thanks. move to ON_QA and wait for verification Hi Wenqi, I still have my valid account for Azure Germany. I can test it with this account. Or, if you want your account, I'll ask Microsoft engineer. This account is provided by Microsoft engineer for testing purpose. Hi Takayoshi, Yes pls help to verify it. I think we can verify this on latest 3.7 firstly as the customer request. For 3.9, it blocks by bug #1536362, all the Azure file could not be used from my test. We track that later. I know there is installation blocker bug for Azure, and I heard Glenn has work around and also you tried it successfully? Thanks Tested on below version:
openshift v3.9.3
kubernetes v1.9.1+a0ce1bc657
Azure file works well on Germany region both with 3.7 and 3.9:
$ oc get pv pv-azureshare1 -o yaml
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/bound-by-controller: "yes"
creationTimestamp: 2018-03-08T06:45:04Z
name: pv-azureshare1
resourceVersion: "3456456"
selfLink: /api/v1/persistentvolumes/pv-azureshare1
uid: 3b66aea3-229c-11e8-8d0a-0017fa104c4b
spec:
accessModes:
- ReadWriteMany
azureFile:
secretName: azure-secret-file
secretNamespace: null
shareName: fileshare1
capacity:
storage: 1Gi
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: pvc-fileshare
namespace: test
resourceVersion: "3456454"
uid: c84a22ea-229c-11e8-8d0a-0017fa104c4b
persistentVolumeReclaimPolicy: Retain
status:
phase: Bound
$ oc get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
pvc-fileshare Bound pv-azureshare1 1Gi RWX 5m
$ oc get pods
NAME READY STATUS RESTARTS AGE
azure 1/1 Running 0 5m
$ cat pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: azure
spec:
containers:
- name: test-pod
image: centos
command:
- "/bin/sh"
args:
- "-c"
- "sleep 3600000"
volumeMounts:
- name: azure-pvc
mountPath: /mnt/azure
volumes:
- name: azure-pvc
persistentVolumeClaim:
claimName: pvc-fileshare
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:0489 |