Add community-level v2 Image Sharing

Registered by Brian Rosmaita

Add a new feature that allows a tenant to share images with all other tenants, but respects the "anti-spam" aspect of current v2 image sharing (i.e., by default a shared image does NOT appear in a tenant's image-list until the image consumer "accepts" the image). Follow the technical direction outlined at the glance icehouse mid-cycle meetup: https://etherpad.openstack.org/p/glance-midcycle-icehouse-image-sharing

Blueprint information

Status:
Complete
Approver:
Mark Washenberger
Priority:
High
Drafter:
Brian Rosmaita
Direction:
Approved
Assignee:
Louis Taylor
Definition:
Approved
Series goal:
Accepted for ocata
Implementation:
Implemented
Milestone target:
milestone icon ocata-3
Started by
Iccha Sethi
Completed by
Nikhil Komawar

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/community-level-v2-image-sharing,n,z

Addressed by: https://review.openstack.org/74438
    Community Image Sharing

(rosmaita) 5 March 2014: Full specification has been updated to reflect consensus on how this should work: https://wiki.openstack.org/wiki/Glance-v2-community-image-sharing

(rosmaita) 6 March 2014: Added a FAQ to try to capture the discussion about this: https://wiki.openstack.org/wiki/Glance-v2-community-image-sharing-faq Maybe we can do any continuing discussion on the FAQ page?

(kragniz) 3 October 2014: Since this is undergoing a reboot, a new spec is under review here: https://review.openstack.org/#/c/124050/

Addressed by: https://review.openstack.org/136374
    (hyper-wip) Explicitly store visibility of image

Gerrit topic: https://review.openstack.org/#q,topic:community_images_db_schema,n,z

Addressed by: https://review.openstack.org/326128
    WIP Add explicit 'visibility' column to images

Addressed by: https://review.openstack.org/355106
    WIP Enable 'community' visibility value for images

Addressed by: https://review.openstack.org/357530
    WIP Utilize the new 'shared' visibility value

Addressed by: https://review.openstack.org/369110
    Add explicit 'visibility' column to images

Addressed by: https://review.openstack.org/379852
    WIP Utilize new visibility values for images

(stevelle) 22 December 2016: Full approved spec noted here: http://specs.openstack.org/openstack/glance-specs/specs/newton/approved/glance/community_visibility.html

Addressed by: https://review.openstack.org/415306
    [WIP] CI with auto visibility change

Addressed by: https://review.openstack.org/423286
    Revert "Implement and Enable Community Images"

Addressed by: https://review.openstack.org/423344
    Add image update tests for is_public

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.