OSAPI: glance image errors: 'ValueError: unconverted data remains: .736549'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Brian Lamar |
Bug Description
Using the most recent version of Glance (rev 98) with nova trunk (rev 894).
I'm getting the following stack trace in nova-api.log when trying to create servers:
---
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
(nova.api.
---
Looking around I saw some other Glance related image errors on trunk. None of them seemed to be exactly this same issue.
The issue seems to be that Glance trunk returns dates with an extra .736549 on the end of them.
The attached x.diff patch resolves the issue functionally but will likely break a slew of unit tests.
Related branches
- Rick Harris (community): Approve
- Jay Pipes (community): Approve
- Dan Prince (community): Approve
-
Diff: 146 lines (+61/-11)2 files modifiednova/image/glance.py (+11/-6)
nova/tests/image/test_glance.py (+50/-5)
Changed in nova: | |
assignee: | nobody → Brian Lamar (blamar) |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |