RemoteFS: race in _create_snapshot_online => infinite loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Jordan Pittier |
Bug Description
Hi,
I think there's a race condition in _create_
In that method, there's a "while true" loop and to exit that loop, the status of the volume must be either "creating" for a long time (> timeout) or "error".
Problem is if Nova fails to create the snapshot (remember we are in the _create_
Thus we will be stuck in the "while true" loop. Cinder consumes 100% of CPU and keep logging "Status of snapshot XX is now deleting from (pid=15251) _create_
I can reproduce at 100% with Centos 7 (with a qemu-kvm binary without support for live snapshot), Openstack master and the Tempest test "tempest.
[1] : https:/
[2] : https:/
Fix proposed to branch: master /review. openstack. org/281753
Review: https:/