commit 532c8f448285185548850fedd49376af48697e85
Author: Thomas Herve <email address hidden>
Date: Mon Nov 16 20:45:25 2015 +0100
Fix stack lock ActionInProgress in the admin case
When the engine starts and tries to reset the status of stacks in
progress, it tries to acquire the stack lock on them. The stack lock
queries the database to retrieve the name of the stack, but does a
tenant-scope query, thus fails when as we use the admin context during
startup. This fixes it by passing tenant_safe=False.
Change-Id: I4393fdb601eedb36d7288afd57fb5a1c96af7216
Closes-Bug: #1516712
(cherry picked from commit 9924d780e82d8419783177094d63c8333482a129)
Reviewed: https:/ /review. openstack. org/246642 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=532c8f44828 5185548850fedd4 9376af48697e85
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 532c8f448285185 548850fedd49376 af48697e85
Author: Thomas Herve <email address hidden>
Date: Mon Nov 16 20:45:25 2015 +0100
Fix stack lock ActionInProgress in the admin case
When the engine starts and tries to reset the status of stacks in
progress, it tries to acquire the stack lock on them. The stack lock
queries the database to retrieve the name of the stack, but does a
tenant-scope query, thus fails when as we use the admin context during
startup. This fixes it by passing tenant_safe=False.
Change-Id: I4393fdb601eedb 36d7288afd57fb5 a1c96af7216 9783177094d63c8 333482a129)
Closes-Bug: #1516712
(cherry picked from commit 9924d780e82d841