commit 99f95f0e9c57a295c0f03ab539117d71fb5b45aa
Author: Steve Baker <email address hidden>
Date: Fri May 22 10:51:52 2015 -0700
Count all nested stack resources with DB operations
The count is performed in 2 parts
- A function which builds a list of all nested stacks
by recursively calling stack_get_all_by_owner_id
- A query which counts resources which belong to the list
of stacks
Considering this will be the basis for fixing bug #1455589 then this
approach is appropriate for backporting to stable/kilo, but master would
ideally replace this soon with a new Stack attribute that stores the
calculated resource count.
Reviewed: https:/ /review. openstack. org/192465 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=99f95f0e9c5 7a295c0f03ab539 117d71fb5b45aa
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 99f95f0e9c57a29 5c0f03ab539117d 71fb5b45aa
Author: Steve Baker <email address hidden>
Date: Fri May 22 10:51:52 2015 -0700
Count all nested stack resources with DB operations
The count is performed in 2 parts all_by_ owner_id
- A function which builds a list of all nested stacks
by recursively calling stack_get_
- A query which counts resources which belong to the list
of stacks
Considering this will be the basis for fixing bug #1455589 then this
approach is appropriate for backporting to stable/kilo, but master would
ideally replace this soon with a new Stack attribute that stores the
calculated resource count.
Partial-Bug: #1455589
Change-Id: Ifa2e5609fd9a68 53e20037e94a5e1 6696bb378ee