cinder drbd volume doesn't handle volumes over 2TB

Bug #1638702 reported by Sam Leonard
6
This bug affects 1 person
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.volume.manager: Flow 'volume_create_manager' (5dbefc52-0b32-4d6c-8206-9e12c11fd2b5) transitioned into state 'REVERTED' from state 'RUNNING'
2016-06-13 12:49:31,544 oslo_messaging.rpc.dispatcher: Exception during message handling: Value -1568669696 out of range for Int32
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
    incoming.message))
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
    result = func(ctxt, **new_args)
  File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 630, in create_volume
    _run_flow()
  File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 617, in _run_flow
    flow_engine.run()
  File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 230, in run
    for _state in self.run_iter(timeout=timeout):
  File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 308, in run_iter
    failure.Failure.reraise_if_any(fails)
  File "/usr/lib/python2.7/dist-packages/taskflow/types/failure.py", line 336, in reraise_if_any
    failures[0].reraise()
  File "/usr/lib/python2.7/dist-packages/taskflow/types/failure.py", line 343, in reraise
    six.reraise(*self._exc_info)
  File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 82, in _execute_task
    result = task.execute(**arguments)
  File "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py", line 819, in execute
    **volume_spec)
  File "/usr/lib/python2.7/dist-packages/cinder/volume/flows/manager/create_volume.py", line 797, in _create_raw_volume
    return self.driver.create_volume(volume_ref)
  File "/usr/lib/python2.7/dist-packages/cinder/volume/drivers/drbdmanagedrv.py", line 455, in create_volume
    props)
  File "/usr/lib/python2.7/dist-packages/drbdmanage/clienthelper.py", line 66, in call_or_reconnect
    return fn(*args)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 641, in call_blocking
    message.append(signature=signature, *args)
OverflowError: Value -1568669696 out of range for Int32

Diagnose
The create_volume API call is defined to use “x” for the size; and https://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#basic-types says “64-bit signed integer ('x')”.

Cinder-driver issue - uses “int”. That’s 32bit in Python2; but “long” doesn’t exist in Python3, and so upstream won’t take “long”

Tags: drbd drivers
Changed in cinder:
assignee: nobody → Sam Leonard (sleo)
Eric Harney (eharney)
tags: added: drbd drivers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/395132

Changed in cinder:
status: New → In Progress
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

This appears to be an issue in dbus.

Changed in cinder:
status: In Progress → Incomplete
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Sean McGinnis (<email address hidden>) on branch: master
Review: https://review.openstack.org/395132
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.

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: Sam Leonard (sam.leonard) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.