Service Capabilities fields total_capacity_gb & free_capacity_gb report values which cant be typecasted to float
Bug #1629143 reported by
Karthik Prabhu Vinod
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Currently, some drivers report values of 'unknown' & 'infinite' for fields total_capacity_gb & free_capacity_gb in service capabilities. Although these values currently work, they cant be type casted to Float. This creates problems, whenever we are trying to convert service dicts to oslo versioned objects.
The solution to change all occurrences of 'infinite' & 'unknown' to 'inf' or 'NaN' as these values are floatable by python itself.
Changed in cinder: | |
assignee: | nobody → Karthik Prabhu Vinod (karthik-prabhu-vinod) |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
importance: | Undecided → Wishlist |
Changed in cinder: | |
assignee: | Karthik Prabhu Vinod (karthik-prabhu-vinod) → Justin A Wilson (justin-wilson) |
To post a comment you must log in.
Change abandoned by Sean McGinnis (<email address hidden>) on branch: master /review. openstack. org/374971
Review: https:/
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.