python glance-client for image-members has upgraded

Bug #1490697 reported by Lakshmi N Sampath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
Fix Released
High
Lakshmi N Sampath

Bug Description

python glanceclient for image-members seems to have modified its fields.

Currently in the searchlight glance initial load "code" we check for member['member'] and member['deleted'] which seems to have been removed and replaced by member['member_id'].

Need to check with glance team on what has been the replacement logic for member['deleted'] field.

Tags: searchlgiht
Changed in searchlight:
assignee: nobody → Lakshmi N Sampath (lakshmi-sampath)
importance: Undecided → High
Revision history for this message
Lakshmi N Sampath (lakshmi-sampath) wrote :

Its currently breaking the "searchlight-mange index sync" when glance image has members.
To reproduce the error add an member to an image using glance cli

use TENANT1 to authorize ex. admin
glance member-create <IMAGE_ID> <MEMBER_ID> as TENANT1 to TENANT2

use TENANT2 to authorize and accept membership ex. demo
glance member-update <IMAGE_ID> <MEMBER_ID> <MEMBER_STATUS>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to searchlight (master)

Fix proposed to branch: master
Review: https://review.openstack.org/219168

Changed in searchlight:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/220149

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to searchlight (master)

Reviewed: https://review.openstack.org/219168
Committed: https://git.openstack.org/cgit/openstack/searchlight/commit/?id=d94dd65b943f722efd73725e97bc4f7c6674a2df
Submitter: Jenkins
Branch: master

commit d94dd65b943f722efd73725e97bc4f7c6674a2df
Author: Lakshmi N Sampath <email address hidden>
Date: Tue Sep 1 13:20:10 2015 +0530

    Fix for updated/missing fields in python glance client for
    image members

    Change-Id: I22ed3ac6da157e7c3c4e9e5a55def001f7de62c6
    Closes-Bug: #1490697

Changed in searchlight:
status: In Progress → Fix Committed
Changed in searchlight:
milestone: none → liberty-rc1
Changed in searchlight:
status: Fix Committed → Fix Released
Changed in searchlight:
milestone: liberty-rc1 → 0.1.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.