Nova fails to dettach volumes using linux LVM driver

Bug #1730461 reported by Alfredo Moralejo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
New
Undecided
Unassigned

Bug Description

When running tempest tests on a OpenStack deployment using cinder with LVM backend, it fails to detach volumes with following error in nova-compute.log [1]:

2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server [req-9a08bc40-feb5-429c-b634-a173ab098e06 2a31da3a626f45589558f09b98b31c39 363995dc0922480da39e31c928ba3252 - default default] Exception during message handling: OSError: [Errno 2] No such file or directory: '/dev/disk/by-id/scsi-36001405aea1be5e1bfb41b4b48791e03'
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
....
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server File "/usr/lib64/python2.7/posixpath.py", line 406, in _joinrealpath
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server path, ok = _joinrealpath(path, os.readlink(newpath), seen)
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server OSError: [Errno 2] No such file or directory: '/dev/disk/by-id/scsi-36001405aea1be5e1bfb41b4b48791e03'
2017-11-06 16:14:17.292 19305 ERROR oslo_messaging.rpc.server

As per conversations with cinder team, this may be fixed by https://review.openstack.org/#/c/507653/ however this fix is not in any tagged release of os-brick yet. Could you send a new release so that jobs start getting this fix?

[1] https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset020-master/647d609/overcloud-novacompute-0/var/log/nova/nova-compute.log.txt.gz

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.