Description of problem: Backport patch [1] to RHOSP 10 for EMC VNX backups generating the following traces: 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/backup/manager.py", line 404, in create_backup 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server self._update_backup_error(backup, six.text_type(err)) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server self.force_reraise() 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/backup/manager.py", line 398, in create_backup 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server self._run_backup(context, backup, volume) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/backup/manager.py", line 434, in _run_backup 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server properties, is_snapshot) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/backup/manager.py", line 910, in _attach_device 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server context, backup_device, properties) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/driver.py", line 1053, in _attach_snapshot 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server return self._connect_device(conn) 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/driver.py", line 1059, in _connect_device 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server protocol = conn['driver_volume_type'] 2017-09-06 08:51:26.039 37336 ERROR oslo_messaging.rpc.server TypeError: 'NoneType' object has no attribute '__getitem__' [1] https://bugs.launchpad.net/cinder/+bug/1693956 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Try backing up a cinder volume that is attached to an instance 2. 3. Actual results: Fails Expected results: Succeeds Additional info:
We'll later on hit this message when trying to delete the volume: 2017-09-17 11:47:25.732 96354 ERROR oslo_messaging.rpc.server SP A: The LUN cannot be destroyed because it still has snapshot mount points. Destroy the snapshot mount points then retry the LUN destroy command. (0x716d801a)
and this one: 2017-09-21 00:10:00.801 672172 ERROR cinder.volume.driver VNXLunInStorageGroupError: failed to remove lun tmp-smp-0e06ab62-e27b-4079-8608-6207f034e640 detail: 2017-09-21 00:10:00.801 672172 ERROR cinder.volume.driver Cannot unbind LUN because it's contained in a Storage Group
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0360