Previously, the `VolumeSnapshot` object in 'horizon/openstack_dashboard/api/cinder.py' was accessed by multiple views in Dashboard. However, the object did not have metadata populated for the snapshot because it was not initiated. Consequently, there was no visible metadata for the object.
With this update, metadata was added to the `VolumeSnapshot` object. As a result, the volume snapshot metadata can now be viewed in Dashboard.
Hi, this is in reply to 'No metadata show on Horizon. Screenshot is enclosed.'
I am sure this must have been figured out by engineering there. In case it has not surfaced yet then I would like to bring it to notice that 'Showing metadata for snapshot' was not part of 'Mitaka' in Horizon. The code has been added to OpenStack Horizon master as part of current 'Ocata' release. I thought of putting the comment in case it is useful(Please ignore if I am out of context). Following is the review link from OpenStack reviews https://review.openstack.org/#/c/335020/.
Comment 8Radomir Dopieralski
2017-03-02 12:28:32 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://rhn.redhat.com/errata/RHBA-2017-0466.html
Failed QA ========== rpm -qa|grep horizon python-django-horizon-9.0.1-4.el7ost.noarch I have created a snapshot and add a metadata to [stack@undercloud-0 ~]$ cinder snapshot-metadata-show eebcf67b-83e8-4435-a203-65567b55b119 +-------------------+-------+ | Metadata-property | Value | +-------------------+-------+ | Project | admin | | User | admin | +-------------------+-------+ [stack@undercloud-0 ~]$ cinder snapshot-show eebcf67b-83e8-4435-a203-65567b55b119 +--------------------------------------------+-------------------------------------------+ | Property | Value | +--------------------------------------------+-------------------------------------------+ | created_at | 2017-01-15T11:35:53.000000 | | description | my snapshot test | | id | eebcf67b-83e8-4435-a203-65567b55b119 | | metadata | {u'Project': u'admin', u'User': u'admin'} | | name | test_vol_snp | | os-extended-snapshot-attributes:progress | 100% | | os-extended-snapshot-attributes:project_id | 40b277aa4e5e42b39979401b68a9dcbe | | size | 1 | | status | available | | updated_at | 2017-01-15T11:35:53.000000 | | volume_id | 2968b83c-9969-4f58-8042-31af09a91afe | +--------------------------------------------+-------------------------------------------+ No metadata show on Horizon. Screenshot is enclosed.