Bug 1411332

Summary: Middleware provider reports the incorrect name of the domain
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: hhovsepy, jfrey, jhardy, mmahoney, obarenbo
Target Milestone: GAKeywords: TestOnly, Triaged, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1411350 (view as bug list) Environment:
Last Closed: 2017-06-12 16:25:34 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: 1411350    

Description Satoe Imaishi 2017-01-09 14:04:01 UTC
ManageIQ issue: https://github.com/ManageIQ/manageiq/issues/12356

By default the domain name is taken from the name attribute of the domain element in the domain.xml config file of WildFly/EAP server. If it's not provided, the "Unnamed Domain" is used.

Currently the feed_id is obtained by concatenating the host/domain controller name, "." and id and the domain name. Often it's just master.Unnamed%20Domain. This is ok. What is wrong is the way how we obtain the domain name, because instead of storing the "Unnamed Domain", we currently call the domain "master" (i.e. by the domain controller name).

It's not big deal, because there should be only one domain controller and it's guaranteed to have it's name unique, but it's not the name of the domain. This is a minor issue.

PR: https://github.com/ManageIQ/manageiq/pull/12357

Comment 4 Hayk Hovsepyan 2017-02-09 17:18:00 UTC
Verified on version  5.8.0.0