commit ffa8c91a951f37b3613a5abdb29c58fa917906cc
Author: Jim Rollenhagen <email address hidden>
Date: Thu Jun 5 10:23:16 2014 -0700
Fix concurrent deletes in virt driver
The _unprovision function used a class member to track the number
of calls to ironic to check the provision state. When more than one
delete is happening concurrently, the deletes will both add to the
same counter. This commit fixes this issue to use a local counter.
Reviewed: https:/ /review. openstack. org/98184 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=ffa8c91a951 f37b3613a5abdb2 9c58fa917906cc
Committed: https:/
Submitter: Jenkins
Branch: master
commit ffa8c91a951f37b 3613a5abdb29c58 fa917906cc
Author: Jim Rollenhagen <email address hidden>
Date: Thu Jun 5 10:23:16 2014 -0700
Fix concurrent deletes in virt driver
The _unprovision function used a class member to track the number
of calls to ironic to check the provision state. When more than one
delete is happening concurrently, the deletes will both add to the
same counter. This commit fixes this issue to use a local counter.
Partial-Bug: #1326364
Change-Id: I2552332445fe0e 614970ec28eddf7 c1ae94e34be