Searchlight not updating on member change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Searchlight |
Fix Released
|
High
|
Lakshmi N Sampath |
Bug Description
If you create an image and later change its members, the members are not updated via notifications. You have to run the index sync again to get the updated member list.
See: https:/
Membership information is critical for horizon filtering. Typically, a person is allowed to view an image under the following conditions:
1) The image is owned by the project I am currently logged into.
2) The image is public
3) The image is owned by another project which has added me as a member and I have accepted membership to it.
Without current membership information, 3) above is not possible.
Glance bug here: https:/
CLI command to do image membership on devstack:
# Pick an admin image ID and a demo project ID
source ~/opensource/openrc admin admin
glance image-list
openstack project list
# Share the image with the demo project using:
glance member-create <image-id> <project-id>
# switch to demo project and accepted the sharing
source ~/devstack/openrc admin demo
glance member-update <image-id> <project-id> accepted
# Verify in listener and in results
# You can re-trigger by updating status again to pending
# and then back to accepted. Introspect searchlight
# between them.
glance member-update <image-id> <project-id> pending
glance member-update <image-id> <project-id> accepted
Changed in searchlight: | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
Changed in searchlight: | |
status: | Fix Committed → Fix Released |
Changed in searchlight: | |
milestone: | liberty-rc1 → 0.1.0.0 |
Glance doesn't issue a notification on image member changes. We'll have to see if this is something they'll entertain.