'RequestContext' object has no attribute 'is_image_visible'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Critical
|
Unassigned |
Bug Description
Using Glance master 4fa3507.
I'm getting the following error when trying to list images (glance index):
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
request, **action_args)
File "/usr/lib/
return method(*args, **kwargs)
File "/usr/lib/
images = self._get_
File "/usr/lib/
return db_api.
File "/usr/lib/
marker_image = image_get(context, marker)
File "/usr/lib/
if not context.
AttributeError: 'RequestContext' object has no attribute 'is_image_visible'
Changed in glance: | |
importance: | Undecided → Critical |
There is a corresponding change to the glance- registry. conf that I believe is the problem. You need to have the following in the glance- registry. conf, under the [filter:context]:
[filter:context] registry. context. RequestContext factory = glance. common. context: filter_ factory
context_class = glance.
paste.filter_