Detach an attached snapshot volume success on cinder, but failed on the array

Bug #1541234 reported by huyang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
huyang
Liberty
Invalid
Undecided
huyang

Bug Description

In Huawei driver (stable/liberty), there's a bug about detach a snapshot volume.
When detach snapshot volume on OpenStack, it's success.
But the lun on array doesn't detached. So report the bug and fix it.

For details:
1. create snapshot volume.
def create_volume_from_snapshot(self, volume, snapshot):
   ......
   return {'ID': lun_info['ID'], # there's no 'provider_location'
       'lun_info': lun_info}

2. terminate connection.
def terminate_connection(self, volume, connector, **kwargs):
  """Delete map between a volume and a host."""
  initiator_name = connector['initiator']
  volume_name = huawei_utils.encode_name(volume['id'])
  lun_id = volume.get('provider_location') # the snapshot volume lun_id is always None.
  host_name = connector['host']
  lungroup_id = None

    ......

Tags: drivers huawei
huyang (huyang1)
description: updated
description: updated
Changed in cinder:
assignee: nobody → huyang (huyang1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/275553

huyang (huyang1)
Changed in cinder:
status: New → In Progress
Eric Harney (eharney)
Changed in cinder:
status: In Progress → Invalid
tags: added: drivers huawei
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (stable/liberty)

Change abandoned by Sean McGinnis (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/275553
Reason: This review is > 4 weeks without comment and currently blocked by a core reviewer with a -2. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and contacting the reviewer with the -2 on this review to ensure you address their concerns.

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.