task hang during create_volume_from_snapshot

Bug #1654519 reported by John Haan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
In Progress
Undecided
John Haan

Bug Description

If we progress CinderVolumes.create_volume_from_snapshot with do_delete arguments, the task will hang forever.

The reason is that the source code tries to delete snapshot first before cloned volume from snapshot.

However the snapshot cannot deleted because of cloned volume.

We need to change the step of deleting snapshots and volumes.

from
    self._delete_snapshot(snapshot)
    self._delete_volume(volume)

to
    self._delete_volume(volume)
    self._delete_snapshot(snapshot)

John Haan (yongiman)
Changed in rally:
assignee: nobody → John Haan (yongiman)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (master)

Fix proposed to branch: master
Review: https://review.openstack.org/417334

Changed in rally:
status: New → In Progress
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.