Bug 1217262

Summary: Automate: /System/Request/osetags instance is hard-coded to the Red Hat Domain
Product: Red Hat CloudForms Management Engine Reporter: Kevin Morey <kmorey>
Component: AutomateAssignee: Bill Wei <bilwei>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3.0CC: david.costakos, gmccullo, jhardy, jprause, kmorey, mberube, mfalesni, mkanoor, obarenbo, tfitzger
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.4.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1219592 (view as bug list) Environment:
Last Closed: 2015-06-16 13:00:53 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: 1219592    
Attachments:
Description Flags
screenshot of the osetags instance none

Description Kevin Morey 2015-04-29 22:04:21 UTC
Created attachment 1020345 [details]
screenshot of the osetags instance

Description of problem:
Within the Red Hat Domain the /System/Request/osetags instance has a relationship that is hard-coded to the RedHat domain [/RedHat/Portfolio/OpenShift/Installer/Methods/ose_tags]. Now when someone wants to copy the destination class or instance they are forced to copy the system/request instance as well rather than letting domain priority pick the best domain to land in.

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

How reproducible:
100%

Steps to Reproduce:
1. Navigate to /RedHat/System/Request/osetags instance
2. You will see that the relationship is hard coded

Expected results:
Expected the domain (in this case) RedHat be removed from the relationship

Additional info:
see screenshot

Comment 2 Greg McCullough 2015-04-29 22:19:22 UTC
Bill - Please work with Tina on this one.

Comment 3 Bill Wei 2015-04-30 19:21:46 UTC
Fixed in CFME downstream 5.3.z

commit b4c68f60a71b26145ee0002aafbaa20c335f5fca
Author: Bill Wei <bilwei>
Date:   Thu Apr 30 14:13:30 2015 -0400

    Remove hard-coded red hat domain
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1217262

Comment 5 Milan Falešník 2015-05-07 09:02:21 UTC
/RedHat/Portfolio/OpenShift/Installer/Methods/ose_tags hard-coded association is still present in 5.4.0.0.25 build. Maybe needs a cherry-pick?

Comment 7 CFME Bot 2015-05-07 18:33:26 UTC
New commit detected on cfme_productization/master:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=7ceafa0cf6019539a0e6be3eabe4f312e208a98a

commit 7ceafa0cf6019539a0e6be3eabe4f312e208a98a
Author:     Bill Wei <bilwei>
AuthorDate: Thu Apr 30 14:13:30 2015 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Thu May 7 14:10:59 2015 -0400

    Remove hard-coded red hat domain
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1217262

 .../db/fixtures/ae_datastore/RedHat/System/Request.class/osetags.yaml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 8 CFME Bot 2015-05-07 18:33:30 UTC
New commit detected on cfme_productization/master:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=b60104b8c7f987a0f311d22803d24b2d0e72d392

commit b60104b8c7f987a0f311d22803d24b2d0e72d392
Merge: f0f9a4f 7ceafa0
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu May 7 14:32:49 2015 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Thu May 7 14:32:49 2015 -0400

    Merge branch 'remove_hard_coded_domain' into 'master'
    
    Remove hard-coded red hat domain
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1217262
    
    This is a cherry-pick from Phttp://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme_productization/merge_requests/26
    
    It has been merged into 5.3.z.
    This request is to merge into master
    
    See merge request !31

 .../db/fixtures/ae_datastore/RedHat/System/Request.class/osetags.yaml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 9 Bill Wei 2015-05-07 18:48:47 UTC
commit b60104b8c7f987a0f311d22803d24b2d0e72d392
Merge: f0f9a4f 7ceafa0
Author: Greg McCullough <gmccullo>
Date:   Thu May 7 14:32:49 2015 -0400

    Merge branch 'remove_hard_coded_domain' into 'master'
    
    Remove hard-coded red hat domain
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1217262
    
    This is a cherry-pick from Phttp://gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme_productization/merge_requests/26
    
    It has been merged into 5.3.z.
    This request is to merge into master
    
    See merge request !31

Comment 10 Milan Falešník 2015-05-15 08:40:19 UTC
Verified in 5.4.0.1, the association now does not start with a domain.

Comment 12 errata-xmlrpc 2015-06-16 13:00:53 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://rhn.redhat.com/errata/RHBA-2015-1100.html