commit a2487116d583e189dcbfe6f665ba360bf147163f
Author: Nikola Dipanov <email address hidden>
Date: Fri Nov 1 13:37:13 2013 +0100
Prevent rescheduling on block device failure
Due to a race condition - it is possible for more instances to race for
the same volume. In such a scenario, the one that fails will get
rescheduled, and in the process detach the volume of a successful
instance.
To prevent this, this patch makes nova not reschedule on block device
failures. This is actually reasonable behaviour as block device failures
are rarely related to the compute host itself and so rescheduling is not
usually useful.
This is a stable/havana only fix! This same issue is addressed on the
master branch by Iefab71047996b7cc08107794d5bc628c11680a70.
Reviewed: https:/ /review. openstack. org/54916 github. com/openstack/ nova/commit/ a2487116d583e18 9dcbfe6f665ba36 0bf147163f
Committed: http://
Submitter: Jenkins
Branch: stable/havana
commit a2487116d583e18 9dcbfe6f665ba36 0bf147163f
Author: Nikola Dipanov <email address hidden>
Date: Fri Nov 1 13:37:13 2013 +0100
Prevent rescheduling on block device failure
Due to a race condition - it is possible for more instances to race for
the same volume. In such a scenario, the one that fails will get
rescheduled, and in the process detach the volume of a successful
instance.
To prevent this, this patch makes nova not reschedule on block device
failures. This is actually reasonable behaviour as block device failures
are rarely related to the compute host itself and so rescheduling is not
usually useful.
This is a stable/havana only fix! This same issue is addressed on the cc08107794d5bc6 28c11680a70.
master branch by Iefab71047996b7
Closes-bug: 1195947
Change-Id: I6b68965ac65cdb 0e1da3b44e83428 f056b1693aa