← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1153966] Re: Fix locking issues in Windows

 

** Changed in: cinder
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1153966

Title:
  Fix locking issues in Windows

Status in Cinder:
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released
Status in Oslo - a Library of Common OpenStack Code:
  Fix Released

Bug description:
  When attaching a volume the next error is occurred:

  2013-03-11 21:43:29.921 ERROR cinder.openstack.common.rpc.common [req-946e0c80-f48a-431d-8848-997d993f4fce 4353ebfbc4764cd1882c0f336f73ae72 be2150f90f034291b2bbfcd72d7e4884] Returning exception an integer is required to caller
  2013-03-11 21:43:29.921 ERROR cinder.openstack.common.rpc.common [req-946e0c80-f48a-431d-8848-997d993f4fce 4353ebfbc4764cd1882c0f336f73ae72 be2150f90f034291b2bbfcd72d7e4884] ['Traceback (most recent call last):\n', '  File "C:\\dev\\openstack\\cinder\\cinder\\openstack\\common\\rpc\\amqp.py", line 430, in _process_data\n    rval = self.proxy.dispatch(ctxt, version, method, **args)\n', '  File "C:\\dev\\openstack\\cinder\\cinder\\openstack\\common\\rpc\\dispatcher.py", line 133, in dispatch\n    return getattr(proxyobj, method)(ctxt, **kwargs)\n', '  File "C:\\dev\\openstack\\cinder\\cinder\\volume\\manager.py", line 536, in attach_volume\n    return do_attach()\n', '  File "C:\\dev\\openstack\\cinder\\cinder\\openstack\\common\\lockutils.py", line 214, in inner\n    with lock:\n', '  File "C:\\dev\\openstack\\cinder\\cinder\\openstack\\common\\lockutils.py", line 82, in __enter__\n    self.trylock()\n', '  File "C:\\dev\\openstack\\cinder\\cinder\\openstack\\common\\lockutils.py", line 109, in trylock\n    msvcrt.locking(self.lockfile, msvcrt.LK_NBLCK, 1)\n', 'TypeError: an integer is required\n']
  2013-03-11 21:43:32.229 ERROR cinder.openstack.common.rpc.amqp [req-c4c420ae-df17-4009-aae3-bc6a7e9729b4 4353ebfbc4764cd1882c0f336f73ae72 be2150f90f034291b2bbfcd72d7e4884] Exception during message handling
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp   File "C:\dev\openstack\cinder\cinder\openstack\common\rpc\amqp.py", line 430, in _process_data
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp   File "C:\dev\openstack\cinder\cinder\openstack\common\rpc\dispatcher.py", line 133, in dispatch
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp   File "C:\dev\openstack\cinder\cinder\volume\manager.py", line 536, in attach_volume
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp     return do_attach()
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp   File "C:\dev\openstack\cinder\cinder\openstack\common\lockutils.py", line 214, in inner
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp     with lock:
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp   File "C:\dev\openstack\cinder\cinder\openstack\common\lockutils.py", line 82, in __enter__
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp     self.trylock()
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp   File "C:\dev\openstack\cinder\cinder\openstack\common\lockutils.py", line 109, in trylock
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp     msvcrt.locking(self.lockfile, msvcrt.LK_NBLCK, 1)
  2013-03-11 21:43:32.229 236 TRACE cinder.openstack.common.rpc.amqp TypeError: an integer is required

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1153966/+subscriptions