Ask Your Question
0

I need to populate custom attributes for an image , from horizon

asked 2014-06-17 08:28:40 -0500

venkystays gravatar image

Hi,

I am using packstack on centos ( --allinone option , icehouse ). I am currently using horizon to upload images into glance repository. But i have a requirement for adding custom properties to the image metadata.

I am currently using the REST API (PUT) of glance to add custom properties. I am also using glance image-update command line option to add the custom properties.

Instead i want to customize horizon, so that i can capture the values (for the custom properties) from the horizon UI (for each image) and invoke the REST API or the command line to append the custom properites to the image metadata.

Need guidance on how to customize horizon to meet my requirement.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-19 07:04:03 -0500

jpichon gravatar image

At the moment, Horizon doesn't support managing image customer properties as you've seen. There is a blueprint open to add the feature: https://blueprints.launchpad.net/hori... which already has a patch up for review at https://review.openstack.org/#/c/70013/ , that we're hoping to merge during the Juno timeframe. You could take inspiration from this and/or, even better, help us land the feature in time by reviewing the patch and leaving your comments/feedback on it. Thank you!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-17 08:28:40 -0500

Seen: 466 times

Last updated: Jun 19 '14