task hang during create_volume_from_snapshot

Bug #1654519 reported by John Haan on 2017-01-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
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) on 2017-01-06
Changed in rally:
assignee: nobody → John Haan (yongiman)

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  Edit
Everyone can see this information.

Other bug subscribers