Ask Your Question
0

devstack - how to share image with other projects

asked 2017-07-22 13:48:22 -0500

Sireesh gravatar image

updated 2017-07-22 13:48:55 -0500

I have a image in project1 and want to share it to project2 , how do I do this?

I tried searching in openstack image set and few other cli's but only see public and private.....is there a way to share with other projects?

--public Image is accessible to the public --private Image is inaccessible to the public (default)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-07-23 00:16:13 -0500

You can share an image with specific projects. See https://docs.openstack.org/image-guid... for details.

CLI commands are image add project and image remove project. Glance client commands contain the word "member"; unfortunately, the Glance CLI page is currently incommunicado. If you want to use the API, see https://docs.openstack.org/glance/lat....

edit flag offensive delete link more

Comments

Thanks for the response. I have created a image which is private to project1 and then shared the image to project2 . When I issue openstack image show it shows the owner but does not show with whom its shared. Is there a way to find out this using cli?

Sireesh gravatar imageSireesh ( 2017-07-23 09:20:38 -0500 )edit

openstack image show 25aa313e-924d-43ac-a426-f5038824c194

| owner | b4170decde25410e9df6832cc7a4b053 |

Sireesh gravatar imageSireesh ( 2017-07-23 09:21:29 -0500 )edit

Try glance member-list. It looks like there is no equivalent command in the openstack client.

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-23 22:28:55 -0500 )edit

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: 2017-07-22 13:48:22 -0500

Seen: 462 times

Last updated: Jul 23 '17