Red Hat Bugzilla – Bug 1262461
Orchestration stack summary page show 0 number of instances, security groups, and networks
Last modified: 2015-12-08 08:30:08 EST
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):
Steps to Reproduce:
New commit detected on ManageIQ/manageiq/master:
Author: Bill Wei <email@example.com>
AuthorDate: Fri Sep 11 15:23:25 2015 -0400
Commit: Bill Wei <firstname.lastname@example.org>
CommitDate: Fri Sep 11 15:23:37 2015 -0400
Populate resource_to_stack hash when collecting stack resources
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(+)
I have tested this against CFME 18.104.22.168 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
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 22.214.171.124.
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.