Activity log for bug #1155315

Date Who What changed Old value New value Message
2013-03-14 20:27:38 Vish Ishaya bug added bug
2013-03-14 20:27:45 Vish Ishaya nova: importance Undecided Medium
2013-03-14 20:27:48 Vish Ishaya nova: milestone grizzly-rc1
2013-03-14 20:27:50 Vish Ishaya nova: assignee Vish Ishaya (vishvananda)
2013-03-14 20:27:53 Vish Ishaya nova: status New Triaged
2013-03-14 20:54:18 OpenStack Infra nova: status Triaged In Progress
2013-03-14 21:26:59 Vish Ishaya description Repro steps: Attempt to attach volume to an in use device $ nova volume-attach bar c3e6b09b-88c8-4fb3-a115-b5921eb0b6f0 foo ERROR: The supplied device path (foo) is invalid. (HTTP 400) (Request-ID: req-3d84b73e-d7de-4d17-975c-2fda515b3206) (or) Attempt to attach volume to an invalid device $ nova volume-attach bar c3e6b09b-88c8-4fb3-a115-b5921eb0b6f0 /dev/vda ERROR: The supplied device path (/dev/vda) is in use. (HTTP 400) (Request-ID: req-d2cfbc33-dbfc-4034-82f0-85b5de3e3fa7) Exceptions are correct but we get a large traceback in the logs: 2013-03-14 13:25:24.996 DEBUG nova.api.openstack.wsgi [req-d2cfbc33-dbfc-4034-82f0-85b5de3e3fa7 demo demo] API request failed, fault raised to the top of the stack. Detailed stacktrace The supplied device path (/dev/vda) is in use. Traceback (most recent call last): File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 430, in _process_data rval = self.proxy.dispatch(ctxt, version, method, **args) File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch return getattr(proxyobj, method)(ctxt, **kwargs) File "/opt/stack/nova/nova/exception.py", line 117, in wrapped temp_level, payload) File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next() File "/opt/stack/nova/nova/exception.py", line 94, in wrapped return f(self, context, *args, **kw) File "/opt/stack/nova/nova/compute/manager.py", line 206, in decorated_function pass File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next() File "/opt/stack/nova/nova/compute/manager.py", line 192, in decorated_function return function(self, context, *args, **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line 234, in decorated_function e, sys.exc_info()) File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next() File "/opt/stack/nova/nova/compute/manager.py", line 221, in decorated_function return function(self, context, *args, **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line 2757, in reserve_block_device_name return do_reserve() File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 242, in inner retval = f(*args, **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line 2746, in do_reserve context, instance, bdms, device) File "/opt/stack/nova/nova/compute/utils.py", line 164, in get_device_name_for_instance raise exception.DevicePathInUse(path=device) DevicePathInUse: The supplied device path (/dev/vda) is in use. These exceptions are expected so there is no need for traceback. Repro steps: Attempt to attach volume to an in use device $ nova volume-attach bar c3e6b09b-88c8-4fb3-a115-b5921eb0b6f0 /dev/vda ERROR: The supplied device path (/dev/vda) is in use. (HTTP 400) (Request-ID: req-d2cfbc33-dbfc-4034-82f0-85b5de3e3fa7) Exceptions are correct but we get a large traceback in the logs: 2013-03-14 13:25:24.996 DEBUG nova.api.openstack.wsgi [req-d2cfbc33-dbfc-4034-82f0-85b5de3e3fa7 demo demo] API request failed, fault raised to the top of the stack. Detailed stacktrace The supplied device path (/dev/vda) is in use. Traceback (most recent call last):   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 430, in _process_data     rval = self.proxy.dispatch(ctxt, version, method, **args)   File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch     return getattr(proxyobj, method)(ctxt, **kwargs)   File "/opt/stack/nova/nova/exception.py", line 117, in wrapped     temp_level, payload)   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__     self.gen.next()   File "/opt/stack/nova/nova/exception.py", line 94, in wrapped     return f(self, context, *args, **kw)   File "/opt/stack/nova/nova/compute/manager.py", line 206, in decorated_function     pass   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__     self.gen.next()   File "/opt/stack/nova/nova/compute/manager.py", line 192, in decorated_function     return function(self, context, *args, **kwargs)   File "/opt/stack/nova/nova/compute/manager.py", line 234, in decorated_function     e, sys.exc_info())   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__     self.gen.next()   File "/opt/stack/nova/nova/compute/manager.py", line 221, in decorated_function     return function(self, context, *args, **kwargs)   File "/opt/stack/nova/nova/compute/manager.py", line 2757, in reserve_block_device_name     return do_reserve()   File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 242, in inner     retval = f(*args, **kwargs)   File "/opt/stack/nova/nova/compute/manager.py", line 2746, in do_reserve     context, instance, bdms, device)   File "/opt/stack/nova/nova/compute/utils.py", line 164, in get_device_name_for_instance     raise exception.DevicePathInUse(path=device) DevicePathInUse: The supplied device path (/dev/vda) is in use. These exceptions are expected so there is no need for traceback.
2013-03-14 22:58:49 OpenStack Infra nova: status In Progress Fix Committed
2013-03-20 16:14:26 Thierry Carrez nova: status Fix Committed Fix Released
2013-03-26 07:23:16 Mark McLoughlin nominated for series nova/folsom
2013-03-26 07:23:16 Mark McLoughlin bug task added nova/folsom
2013-03-26 07:23:29 Mark McLoughlin nova/folsom: status New In Progress
2013-03-26 07:23:31 Mark McLoughlin nova/folsom: importance Undecided Medium
2013-03-26 07:23:39 Mark McLoughlin nova/folsom: assignee Vish Ishaya (vishvananda)
2013-03-26 07:23:42 Mark McLoughlin nova/folsom: milestone 2012.2.4
2013-03-26 07:51:12 OpenStack Infra nova/folsom: status In Progress Fix Committed
2013-04-04 11:22:34 Thierry Carrez nova: milestone grizzly-rc1 2013.1
2013-04-11 19:55:14 Alan Pevec nova/folsom: status Fix Committed Fix Released