Bug 1411332 - Middleware provider reports the incorrect name of the domain
Summary: Middleware provider reports the incorrect name of the domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.8.0
Assignee: Jirka Kremser
QA Contact: Hayk Hovsepyan
URL:
Whiteboard:
Depends On:
Blocks: 1411350
TreeView+ depends on / blocked
 
Reported: 2017-01-09 14:04 UTC by Satoe Imaishi
Modified: 2019-08-06 20:04 UTC (History)
5 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1411350 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:25:34 UTC
Category: ---
Cloudforms Team: Middleware
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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