Error fetching members of image Public images do not have members.

Bug #1569425 reported by Travis Tripp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
Incomplete
Undecided
Unassigned

Bug Description

Updated an image to be public. The notification handler reported the error below.

This is puzzling since the code has protection against fetching image members if visibility is public, so need to investigate further:

https://github.com/openstack/searchlight/blob/ce4d859f07d7c92c94981141c8c91619db063526/searchlight/elasticsearch/plugins/glance/__init__.py#L32

2016-04-12 09:35:30.092 DEBUG keystoneclient.session [-] RESP: [403] Date: Tue, 12 Apr 2016 15:35:30 GMT Connection: keep-alive Content-Type: text/plain; charset=UTF-8 Content-Length: 124 X-Openstack-Request-Id: req-074dbef0-7367-4e99-aa15-7c74383a3740
RESP BODY: 403 Forbidden

Error fetching members of image 96abe6b7-5acd-4f5e-96b9-d20bb9778a18: Public images do not have members.

 from (pid=29570) _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:231
2016-04-12 09:35:30.092 DEBUG glanceclient.common.http [-] Request returned failure status 403. from (pid=29570) _handle_response /usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py:82
2016-04-12 09:35:30.095 ERROR searchlight.elasticsearch.plugins.base [-] 'module' object has no attribute 'exceptions'

Revision history for this message
Steve McLellan (sjmc7) wrote :
Changed in searchlight:
importance: Undecided → Medium
Revision history for this message
Steve McLellan (sjmc7) wrote :

That said, it is a bit strange that you saw this because there is a guard, but even when it does it should not now cause a fatal error.

Changed in searchlight:
status: New → Incomplete
Changed in searchlight:
importance: Medium → Undecided
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.