Bug 1278762

Summary: domains associated with organization not listed
Product: Red Hat Satellite Reporter: Peter Vreman <peter.vreman>
Component: Organizations and LocationsAssignee: Ohad Levy <ohadlevy>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.3CC: bbuckingham
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-19 07:59:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1122832    
Attachments:
Description Flags
host_domain_list_empty
none
doamin_shows_it_is_associated
none
hostgroup_diomain_list_works_fine none

Description Peter Vreman 2015-11-06 11:16:54 UTC
Created attachment 1090610 [details]
host_domain_list_empty

Description of problem:
On the hosts page and in the organization info in hammer the domains are not listed.
The domain is associated correctly with the organization and locations

# hammer -c /opt/hoici/etc/sat6/hammer-hoici.yaml domain list
---|--------------
ID | NAME
---|--------------
1  | hag.hilti.com
---|--------------

# hammer -c /opt/hoici/etc/sat6/hammer-hoici.yaml domain info --id=1
Id:          1
Name:        hag.hilti.com
Description:
DNS Id:
Subnets:
    frontend-crash (10.92.14.0/24)
    backend-crash (10.92.65.0/24)
    install6-crash (10.92.72.0/24)
Parameters:

Created at:  2015/10/19 12:52:53
Updated at:  2015/10/19 12:52:53

# hammer -c /opt/hoici/etc/sat6/hammer-hoici.yaml organization info --id=3 | grep -A5 '^Domains:'
Domains:

Environments:
    KT_Hilti_Library_hg_crash_18
    KT_Hilti_Library_hg_crash__CITest__CITest_6_6_0_31
    KT_Hilti_Library_hg_crash__CITest__CITest_6_7_0_70



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


How reproducible:


Steps to Reproduce:
1. Create LocationB
2. Create a domain and associate with organization and location LocationB
3. List organization from hammer
4. Edit a managed host and try to select the domain

Actual results:
Step 3 does not list domain
Step 4 no domains available to select

Expected results:
Domains listed
Domain can be select

Additional info:

Comment 1 Peter Vreman 2015-11-06 11:18:49 UTC
Created attachment 1090611 [details]
doamin_shows_it_is_associated

Comment 2 Peter Vreman 2015-11-06 11:19:20 UTC
Created attachment 1090612 [details]
hostgroup_diomain_list_works_fine

Comment 4 Bryan Kearney 2016-07-08 20:39:41 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 6 Peter Vreman 2017-04-19 07:59:59 UTC
The listing in the UI working as design. It is the missing association of the domains with the location and organizations at creation time during a brown field registration from the puppet facts. I will follow up with a separate Case/BZ for that.