cinder drbd volume doesn't handle volumes over 2TB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Try to create cinder volume bigger than 2.6TB.
Cinder volume exception:
2016-06-13 12:49:31,543 cinder.
2016-06-13 12:49:31,544 oslo_messaging.
Traceback (most recent call last):
File "/usr/lib/
incoming.
File "/usr/lib/
return self._do_
File "/usr/lib/
result = func(ctxt, **new_args)
File "/usr/lib/
_run_flow()
File "/usr/lib/
flow_
File "/usr/lib/
for _state in self.run_
File "/usr/lib/
failure.
File "/usr/lib/
failures[
File "/usr/lib/
six.
File "/usr/lib/
result = task.execute(
File "/usr/lib/
**volume_spec)
File "/usr/lib/
return self.driver.
File "/usr/lib/
props)
File "/usr/lib/
return fn(*args)
File "/usr/lib/
**keywords)
File "/usr/lib/
message.
OverflowError: Value -1568669696 out of range for Int32
Diagnose
The create_volume API call is defined to use “x” for the size; and https:/
Cinder-driver issue - uses “int”. That’s 32bit in Python2; but “long” doesn’t exist in Python3, and so upstream won’t take “long”
Changed in cinder: | |
assignee: | nobody → Sam Leonard (sleo) |
tags: | added: drbd drivers |
Fix proposed to branch: master /review. openstack. org/395132
Review: https:/