[Openstack] Nova-Glance Query
Amit Uniyal
auniyal61 at gmail.com
Wed Sep 28 06:45:30 UTC 2016
Hi,
I am using python-openstackclient and os_client_config
My requirement is, i want to update, my image metadata ....
i made two objects, by which i think i may achieve it:
nova = os_client_config.make_client('compute')
glance = os_client_config.make_client('images')
example: metadata = {'hw_numa_nodes': 2,}
i tried it many things, but not get succeed, like:
n_im = nova.images.get(<image_id>)
nova.images.set_meta(n_im, metadata), or
n_im.manager.set_meta(n_im, metadata)
........ and many other also ..
please suggest what would be the proper way to do it,
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160928/479ee0a8/attachment.html>
More information about the Openstack
mailing list