Bug 1262461 - Orchestration stack summary page show 0 number of instances, security groups, and networks
Summary: Orchestration stack summary page show 0 number of instances, security groups,...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.5.0
Assignee: Bill Wei
QA Contact: Pavol Kotvan
URL:
Whiteboard:
Depends On:
Blocks: 1264114
TreeView+ depends on / blocked
 
Reported: 2015-09-11 19:14 UTC by Bill Wei
Modified: 2015-12-08 13:30 UTC (History)
6 users (show)

Fixed In Version: 5.5.0.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1264114 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:30:08 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot - stack summary page (44.29 KB, image/png)
2015-11-19 13:50 UTC, Pavol Kotvan
no flags Details
Heat template used for stack provisioning (2.20 KB, text/plain)
2015-11-19 13:51 UTC, Pavol Kotvan
no flags Details
Heat template which creates new instance, sg and private network (3.21 KB, text/plain)
2015-11-20 11:47 UTC, Pavol Kotvan
no flags Details
Screenshot - stack summary page - OK (43.78 KB, image/png)
2015-11-20 11:48 UTC, Pavol Kotvan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Bill Wei 2015-09-11 19:14:15 UTC
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:

Comment 3 Bill Wei 2015-09-11 19:30:14 UTC
PR https://github.com/ManageIQ/manageiq/pull/4329

Comment 5 CFME Bot 2015-09-17 17:53:39 UTC
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(+)

Comment 8 Pavol Kotvan 2015-11-19 13:49:42 UTC
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.

Comment 9 Pavol Kotvan 2015-11-19 13:50:10 UTC
Created attachment 1096678 [details]
Screenshot - stack summary page

Comment 10 Pavol Kotvan 2015-11-19 13:51:31 UTC
Created attachment 1096681 [details]
Heat template used for stack provisioning

Comment 11 Bill Wei 2015-11-19 14:18:11 UTC
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.

Comment 12 Pavol Kotvan 2015-11-20 11:45:24 UTC
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

Comment 13 Pavol Kotvan 2015-11-20 11:47:37 UTC
Created attachment 1097136 [details]
Heat template which creates new instance, sg and private network

Comment 14 Pavol Kotvan 2015-11-20 11:48:24 UTC
Created attachment 1097137 [details]
Screenshot - stack summary page - OK

Comment 16 errata-xmlrpc 2015-12-08 13:30:08 UTC
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


Note You need to log in before you can comment on or make changes to this bug.