Bug 1378874

Summary: Middleware - Servers under one Server Groups
Product: Red Hat CloudForms Management Engine Reporter: Hayk Hovsepyan <hhovsepy>
Component: ProvidersAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: jfrey, jhardy, mmahoney, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, Triaged
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Hawkular
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1383338 (view as bug list) Environment:
Last Closed: 2017-06-12 16:23:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1383338    

Description Hayk Hovsepyan 2016-09-23 12:29:27 UTC
Description of problem:
When there are 2 Middleware Providers, each of them has Domain Mode EAP7 server, the servers of first provider's Server Groups are shown under second provider's Server Group. So one has all, second has nothing.

Version-Release number of selected component (if applicable):
DR2

How reproducible:
always

Steps to Reproduce:
1. Register the first Middleware Provider into CFME.
2. On separate VM, manually start a Domain mode EAP7 server with agent enabled and connected to the first Middleware Provider.
3. On another separate VM, manually start EAP7 image in Domain mode with the Hawkular agent pre-installed. As described in Quickstart Guide.
4. Referesh both providers relationships in UI operation.
5. Go To Middleware -> Providers.
6. Select the first provider, go to Domains -> select the Domain -> go to Server Groups -> select one of Server groups (i.e. main-server-group) -> go to Servers.
You will find all servers from both providers belonging to main-server-group here.
7. Do the same for other-server-group.
You will find all servers from both providers belonging to other-server-group here.
8. Do the same for the second provider.
You will find servers list for both server groups empty.

Actual results:
all servers from server groups of both providers are shown under one provider's server group.

Expected results:
should shown under appropriate server group

Additional info:
Servers are listed correctly directly under each provider.

In DB, I can see wrong "server_group_id" for servers in middleware_servers table.

Comment 2 Jirka Kremser 2016-10-02 23:26:46 UTC
https://github.com/ManageIQ/manageiq/pull/11583