| Summary: | Need to include 'metadata' in Cinder's VolumeSnapshot object in Horizon API | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Vivek Agrawal <vivek.agrawal> | ||||
| Component: | python-django-horizon | Assignee: | Beth White <beth.white> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Ido Ovadia <iovadia> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | aortega, athomas, beth.white, jschluet, lruzicka, mrunge, rdopiera, srevivo, vivek.agrawal | ||||
| Target Milestone: | --- | Keywords: | ZStream | ||||
| Target Release: | 8.0 (Liberty) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-django-horizon-8.0.1-9.el7ost | Doc Type: | Bug Fix | ||||
| Doc Text: |
Previously, the VolumeSnapshot object in the "cinder.py" script did not handle the metadata of snapshots. Consequently, the Volume Snapshot metadata could not be viewed in the horizon UI. The problem has been fixed and now the metadata can be viewed in horizon.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 1406350 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-03-08 18:15:19 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: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1406350 | ||||||
| Attachments: |
|
||||||
|
Description
Vivek Agrawal
2016-03-15 03:53:08 UTC
Which version are you using? Which URL are you trying? Are you working as admin? I am trying it on OSP8 beta. I have tried this with OSP4 which is parallel to Havana release of Openstack and this was part of that. But this behavior is also absent in OpenStack after Havana. I am trying to access snapshot object from pages like snapshot listing or launch instance(which lists snapshots) where I would like to access some custom metadata which has been stored. But now it becomes un-accessible so I have opened this bug. The review on Openstack Horizon has got a +2. Now the fix can be readily pulled. Failed QA
=========
rpm -qa | grep horizon
python-django-horizon-8.0.1-9.el7ost.noarch
cinder snapshot-show 767b950d-8a1b-443e-8abc-0f631a9484d9
+--------------------------------------------+-------------------------------------------+
| Property | Value |
+--------------------------------------------+-------------------------------------------+
| created_at | 2017-01-12T09:31:45.000000 |
| description | Snapshot metadata test |
| id | 767b950d-8a1b-443e-8abc-0f631a9484d9 |
| metadata | {u'Project': u'Admin', u'user': u'Admin'} |
| name | vol-test-snaoshot |
| os-extended-snapshot-attributes:progress | 100% |
| os-extended-snapshot-attributes:project_id | c677f0db2ffd4b38920b82781b556cb3 |
| size | 1 |
| status | available |
| volume_id | 1c41a79b-d19f-48c2-909f-167e9ee65d32 |
+--------------------------------------------+-------------------------------------------+
But cant see snapshots metadata on Horizon. Screenshot is enclosed.
Created attachment 1239983 [details]
volume snapshot - missing metadata
I can see snapshot metadata in the UI now. 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://rhn.redhat.com/errata/RHBA-2017-0469.html |