Attribute error on virtual_size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Christoph Seifert | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Version: stable/kilo
Run with ./run_test.py --runserver
Running an old havana glance backend will result in an AttributeError since the attribute is introduced with the icehouse release. See error log at bottom of message. A simple check for the attribute will solve this issue and restore compatibility.
Attached is a patch as proposal.
Regards
Christoph
Error log:
Internal Server Error: /project/
Traceback (most recent call last):
File "/home/
response = response.render()
File "/home/
self.content = self.rendered_
File "/home/
content = template.
File "/home/
return self._render(
File "/home/
return self.nodelist.
File "/home/
bit = self.render_
File "/home/
return node.render(
File "/home/
six.
File "/home/
values = dict((key, val.resolve(
File "/home/
obj = self.var.
File "/home/
value = self._resolve_
File "/home/
current = current()
File "/home/
step.
File "/home/
field = self.action.
File "/home/
context)
File "/home/
request, context, *args, **kwargs)
File "/home/
self.
File "/home/
bound_
File "/home/
if image.virtual_size:
File "/home/
raise AttributeError(k)
AttributeError: virtual_size
Changed in horizon: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | liberty-3 → 8.0.0 |
Fix proposed to branch: master /review. openstack. org/213054
Review: https:/