euca-describe-image-attribute -l fails w/ UnknownError:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Prince |
Bug Description
Using nova 961 w/ Glance.
If I run the following command I get a stack trace in nova-api.log:
euca-describe-
2011-04-08 02:26:23,778 ERROR nova.api [HC8HZLD9L9XI-
(nova.api): TRACE: Traceback (most recent call last):
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: result = api_request.
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: if image['
(nova.api): TRACE: KeyError: 'is_public'
(nova.api): TRACE:
Looks like we still have a couple discrepancies in how is_pubic is used from the image service.
The attached patch resolves the issue.
Related branches
- Devin Carlen (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 63 lines (+33/-2)2 files modifiednova/api/ec2/cloud.py (+2/-2)
nova/tests/test_cloud.py (+31/-0)
Changed in nova: | |
importance: | Undecided → High |
milestone: | none → cactus-rc |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | cactus-rc → none |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |