Error during running cinder's CreateAndRestoreVolumeBackup scenario

Bug #1660965 reported by Michael Dovgal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
Michael Dovgal

Bug Description

During running cinder's CreateAndRestoreVolumeBackup scenario we have a race problem with a backup deleting, because here [0] we are waiting not for backup's 'available' status, but for volume's
and at the moment of deleting the backup is still in 'restoring' status.

[0] - https://github.com/openstack/rally/blob/77cabd1769a3646b33703c0b91edd2b44a6dcf0a/rally/plugins/openstack/scenarios/cinder/utils.py#L372-L378

Michael Dovgal (mdovgal)
Changed in rally:
assignee: nobody → Michael Dovgal (mdovgal)
summary: - Error during running cinder's CreateAndRestoreVolumeBackup
- scenarioCreateAndRestoreVolumeBackup
+ Error during running cinder's CreateAndRestoreVolumeBackup scenario
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/427686

Changed in rally:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally (master)

Reviewed: https://review.openstack.org/427686
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=49069952fad9ea0866692194dc372e7db20892b9
Submitter: Jenkins
Branch: master

commit 49069952fad9ea0866692194dc372e7db20892b9
Author: Mykhailo Dovgal <email address hidden>
Date: Wed Feb 1 14:04:01 2017 +0200

    Fix backup create and restore scenario race problem

    During running cinder's CreateAndRestoreVolumeBackup scenario
    we have race problem with backup deleting, because here [0] we
    are waiting not for backup 'available' status, but for volume's
    and at the deleting moment backup is still in 'restoring' status.

    This patch fixes this problem.

    [0] - https://github.com/openstack/rally/blob/77cabd1769a3646b33703c0b91edd2b44a6dcf0a/rally/plugins/openstack/scenarios/cinder/utils.py#L372-L378

    Change-Id: I8ff9c349c5116211af7c47bb3fbeb7489144d26e
    Closes-Bug: #1660965

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