Reviewed: https://review.openstack.org/44107 Committed: http://github.com/openstack/nova/commit/bf71ab454d93759b9c3968a21c6661263e8a723b Submitter: Jenkins Branch: stable/grizzly
commit bf71ab454d93759b9c3968a21c6661263e8a723b Author: Stanislaw Pitucha <email address hidden> Date: Fri Aug 2 13:25:59 2013 +0000
Make nbd reservation thread-safe
Avoid the situation where two local threads choose the same nbd number for injecting files into the instance. If this happened quickly enough nova was left with one qemu-nbd hanging and blocking the device forever.
Fixes bug 1207422
Change-Id: I18864b19ebd30669534e45ca7a50e12f61207302 (cherry picked from commit e4ed9e3726b87e4f37138867f752b0588f3626a0)
Reviewed: https:/ /review. openstack. org/44107 github. com/openstack/ nova/commit/ bf71ab454d93759 b9c3968a21c6661 263e8a723b
Committed: http://
Submitter: Jenkins
Branch: stable/grizzly
commit bf71ab454d93759 b9c3968a21c6661 263e8a723b
Author: Stanislaw Pitucha <email address hidden>
Date: Fri Aug 2 13:25:59 2013 +0000
Make nbd reservation thread-safe
Avoid the situation where two local threads choose the same nbd number
for injecting files into the instance. If this happened quickly enough
nova was left with one qemu-nbd hanging and blocking the device forever.
Fixes bug 1207422
Change-Id: I18864b19ebd306 69534e45ca7a50e 12f61207302 f37138867f752b0 588f3626a0)
(cherry picked from commit e4ed9e3726b87e4