Bug 1489087 - Backport patch to RHOSP 10 for EMC VNX backups
Summary: Backport patch to RHOSP 10 for EMC VNX backups
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z7
: 10.0 (Newton)
Assignee: Eric Harney
QA Contact: Avi Avraham
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-06 16:24 UTC by David Hill
Modified: 2022-08-16 12:38 UTC (History)
12 users (show)

Fixed In Version: openstack-cinder-9.1.4-14.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-27 16:39:47 UTC
Target Upstream Version:
Embargoed:
tshefi: automate_bug-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1693956 0 None None None 2017-09-06 16:25:00 UTC
OpenStack gerrit 470606 0 None None None 2017-09-06 18:12:42 UTC
Red Hat Issue Tracker OSP-4691 0 None None None 2022-08-16 12:38:01 UTC
Red Hat Product Errata RHBA-2018:0360 0 normal SHIPPED_LIVE openstack-cinder bug fix advisory 2018-02-27 21:35:04 UTC

Description David Hill 2017-09-06 16:24:35 UTC
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:

Comment 1 David Hill 2017-09-24 14:29:21 UTC
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)

Comment 2 David Hill 2017-09-24 14:29:51 UTC
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

Comment 12 errata-xmlrpc 2018-02-27 16:39:47 UTC
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


Note You need to log in before you can comment on or make changes to this bug.