Bug 1219592

Summary: Automate: /System/Request/osetags instance is hard-coded to the Red Hat Domain
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: AutomateAssignee: Bill Wei <bilwei>
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3.0CC: bilwei, david.costakos, gmccullo, jhardy, jprause, kmorey, mberube, mfalesni, mkanoor, obarenbo, rananda, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.3.5   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.3.5.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1217262 Environment:
Last Closed: 2015-07-15 12:55:32 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: 1217262    
Bug Blocks:    
Attachments:
Description Flags
Hardcoded Red Hat Domain none

Comment 1 Bill Wei 2015-05-07 18:24:48 UTC
The fix has been check into production 5.3.z.

Comment 3 Ramesh A 2015-07-01 04:29:04 UTC
Verification failed.  Still reproducible in 5.3.5.1.20150630091250_5515226.
Refer the screenshot for more details.

Bill, can you reconfirm if this has been cherrypicked??

Comment 4 Ramesh A 2015-07-01 04:30:21 UTC
Created attachment 1044875 [details]
Hardcoded Red Hat Domain

Comment 5 Bill Wei 2015-07-02 15:35:03 UTC
John, can you help to investigate whether build 5.3.5.1.20150630091250_5515226 contains commit b4c68f60a71b in cfme_productization?

Comment 6 Greg McCullough 2015-07-02 18:09:23 UTC
Ramesh - Are you upgrading an appliance or looking at a newly created system?  If you are upgrading you will need to reset the automate model to have the updated file loaded.  Try going to Automate -> Import/Export and select "Reset all Datastore custom classes and instances to default".

Checking the 5.3.5.1 RPM build the proper files was there.  You can check on your appliance by going to: var/www/miq/vmdb/db/fixtures/ae_datastore/RedHat/System/Request.class/osetags.yaml

The last lines in the file should read:
  fields:
  - rel1:
      value: /Portfolio/OpenShift/Installer/Methods/ose_tags

Comment 7 John Prause 2015-07-02 18:47:13 UTC
Bill: I can't find that commit anywhere. Can't find git sha: b4c68f60a71b2

Comment 8 John Prause 2015-07-02 18:50:48 UTC
Sorry Bill,..looked again and see that it did make it into 5.3.z branch.

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 9 Ramesh A 2015-07-10 07:05:50 UTC
Good to go.  Verified and working fine in 5.3.5.3.20150708141502_b69b688

Comment 11 errata-xmlrpc 2015-07-15 12:55:32 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-1223.html