Latest keystoneclient breaks tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Critical
|
David Lyle | ||
Grizzly |
Fix Released
|
Critical
|
Matthias Runge | ||
Havana |
Fix Released
|
Critical
|
Matthias Runge | ||
OpenStack Heat |
Fix Released
|
Critical
|
Thomas Herve | ||
Havana |
Fix Released
|
Critical
|
Steven Hardy |
Bug Description
The new release of keystoneclient (0.6.0) introduces some new metaclass magic which breaks our mocking in master :(
We probably need to modify the test to use mock instead of mox, as the issue seems to be that mox misinterprets the class type due to the metaclass.
Immediate workaround while we workout the solution is probably to temporarily cap keystoneclient to 0.5.1 which did not have this issue.
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/usr/lib/
raise TypeError('Given attr is not a Class. Use StubOutWithMock.')
TypeError: Given attr is not a Class. Use StubOutWithMock.
Changed in heat: | |
assignee: | nobody → Steven Hardy (shardy) |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in heat: | |
milestone: | none → icehouse-3 |
Changed in horizon: | |
milestone: | none → icehouse-3 |
assignee: | nobody → David Lyle (david-lyle) |
importance: | Undecided → Critical |
tags: | added: havana-backport-potential |
tags: | added: grizzly-backport-potential |
Changed in heat: | |
assignee: | Steven Hardy (shardy) → Steve Baker (steve-stevebaker) |
Changed in heat: | |
assignee: | nobody → Steven Hardy (shardy) |
tags: | removed: grizzly-backport-potential havana-backport-potential |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-3 → 2014.1 |
Changed in heat: | |
milestone: | icehouse-3 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/73369
Review: https:/