Description of problem: On the orchestration stack summary page for a stack the number of instances, security groups, or cloud networks is always 0. This happens to OpenStack only. Amazon provider is OK. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1262461
PR https://github.com/ManageIQ/manageiq/pull/4329
https://github.com/ManageIQ/manageiq/pull/4328
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/ee6e9ec13eee5eeb273376496aa0d8f80779bcac commit ee6e9ec13eee5eeb273376496aa0d8f80779bcac Author: Bill Wei <bilwei> AuthorDate: Fri Sep 11 15:23:25 2015 -0400 Commit: Bill Wei <bilwei> CommitDate: Fri Sep 11 15:23:37 2015 -0400 Populate resource_to_stack hash when collecting stack resources https://bugzilla.redhat.com/show_bug.cgi?id=1262461 The fix is to restore one line that was accidentally deleted by commit d12268585c1097b .../providers/openstack/refresh_parser_common/orchestration_stacks.rb | 1 + 1 file changed, 1 insertion(+)
https://github.com/ManageIQ/manageiq/pull/4342
https://github.com/ManageIQ/manageiq/pull/1293
Hi Bill, I have tested this against CFME 5.5.0.11 and RHOS7-GA. I can see only number of instances for stack updated. Tried to deploy stack with security group other than default, but in stack summary page there is still 0. I do not know what Cloud networks field means. I have provisioned stack with private network. You can find heat template which I used in attachment. Also screenshot from stack summary page is attached. Can you please have a look on this? Thank you.
Created attachment 1096678 [details] Screenshot - stack summary page
Created attachment 1096681 [details] Heat template used for stack provisioning
Pavol, In the resource section of your template there is only the instance. The network and security group are passed in parameters. The summary page shows the counts of resources created by the template. Your test is correct based on the template. If you want to test other counts, try to find a template that in the resource section at least one instance, one network, and one security group are included.
Thanks Bill. I understand it now. I created another Heat template which is creating new subnet, new security group and 1 VM instance. Once stack was created, I was able see number of Instances, Security groups and Networks in stack summary page. Verified against 5.5.0.11. Pavol
Created attachment 1097136 [details] Heat template which creates new instance, sg and private network
Created attachment 1097137 [details] Screenshot - stack summary page - OK
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551