Comment 11 for bug 1607814

Revision history for this message
Rabi Mishra (rabi) wrote : Re: [Bug 1607814] Re: Error acquiring lock for resource

@anant,

I think it's the issue 'with the same test'. And if you are referring to
the error message, I assume, it has changed after the recent convergence
changes. This bug was initially reported 2 months back.

What you mentioned can be another situation, if we don't wait for scaling
to be completed before we start another update or delete.

However, in this test we are checking that scaling is completed(by checking
that the resource count has increased), but scaling_policy resource is
still doing metdata update as part of signal handling[1] and at the
sametime a delete traversal finds scaling policy locked (could not update
the db).

[1]
https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/heat/scaling_policy.py#L206