Bug 1503015
| Summary: | Creating volumesnapshot does not generate volumesnapshotdata. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Liang Xia <lxia> | ||||
| Component: | Storage | Assignee: | Tomas Smetana <tsmetana> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Jianwei Hou <jhou> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.7.0 | CC: | aos-bugs, aos-storage-staff, xtian | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.7.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||
| Doc Text: |
undefined
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-11-28 22:17:38 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: | |||||||
| Attachments: |
|
||||||
Created attachment 1339616 [details]
contoller and provisioner log
Tested on below version, # openshift version openshift v3.7.0-0.178.0 kubernetes v1.7.6+a08f5eeb62 etcd 3.2.8 openshift-external-storage-snapshot-provisioner-0.0.1-3.git78d6339.el7.x86_64 openshift-external-storage-snapshot-controller-0.0.1-3.git78d6339.el7.x86_64 Creating volumesnapshot will gennerate volumesnapshotdata. Bug is fixed. Based on #comment 8, move bug to verified. 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/RHSA-2017:3188 |
Description of problem: Creating volumesnapshot does not generate volumesnapshotdata. Version-Release number of selected component (if applicable): openshift v3.7.0-0.153.0 kubernetes v1.7.6+a08f5eeb62 etcd 3.2.8 How reproducible: Always Steps to Reproduce: 1. Set up OCP cluster. 2. Start snapshot controller and provisioner. # snapshot-controller -cloudprovider=gce -kubeconfig=$HOME/.kube/config &> controller.log & # snapshot-pv-provisioner -cloudprovider=gce -kubeconfig=$HOME/.kube/config &> provisioner.log & 3. Login in as end user, and create project, pvc and pod. $ cat pvc.yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: gce-pvc spec: accessModes: [ "ReadWriteOnce" ] resources: requests: storage: 3Gi 4. Check pvc is bound with dynamic provisioned pv/volume, check pod is runing. 5. Write some data into the mounted volume path. 6. Create a snapshot via cluster-admin (Due to bug 1502945, can not use end user here). $ cat snapshot.yaml apiVersion: volume-snapshot-data.external-storage.k8s.io/v1 kind: VolumeSnapshot metadata: name: snapshot-1 namespace: myns spec: persistentVolumeClaimName: gce-pvc 7. Check volumesnapshot and volumesnapshotdata. # oc get volumesnapshot,volumesnapshotdata --all-namespaces Actual results: volumesnapshot exist, but NO volumesnapshotdata. Expected results: There are volumesnapshotdata which co-exist with volumesnapshot. Additonal info: snapshot.log.gzip which contains controller and provisioner logs.