Bug 1411363

Summary: OpenShift subdomain shows "undefined" for domain name
Product: Red Hat Quickstart Cloud Installer Reporter: Tasos Papaioannou <tpapaioa>
Component: WebUIAssignee: Dylan Murray <dymurray>
Status: CLOSED ERRATA QA Contact: James Olin Oden <joden>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.1CC: dymurray, joden, mreid, qci-bugzillas
Target Milestone: ---Keywords: Triaged
Target Release: 1.1   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-28 01:43:27 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:

Description Tasos Papaioannou 2017-01-09 14:51:08 UTC
Description of problem:

When creating an OpenShift deployment, the OpenShift > Configuration tab shows ".undefined" as the domain name:

Set subdomain name for a wildcard entry to point to the OpenShift router.
*.[text entry].undefined

/var/log/foreman/production.log shows an internal server error when trying to call the hostgroups API:

2017-01-09 09:38:40 [app] [I] Started GET "/api/v21/hostgroups" for at 2017-01-09 09:38:40 -0500
2017-01-09 09:38:40 [app] [I] Processing by Api::V21::HostgroupsController#index as JSON
2017-01-09 09:38:40 [app] [I]   Parameters: {"apiv"=>"v21", "hostgroup"=>{}}
2017-01-09 09:38:40 [app] [W] <NilClass> nil
2017-01-09 09:38:40 [app] [I]   Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (0.9ms)
2017-01-09 09:38:40 [app] [I] Completed 500 Internal Server Error in 28ms (Views: 1.8ms | ActiveRecord: 4.3ms)

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

First seen in QCI-1.1-RHEL-7-20170105.t.0, which is the first iso based on Sat 6.2.6.

Also seen in QCI-1.1-RHEL-7-20170106.

How reproducible:


Steps to Reproduce:
1.) Create an RHV + OpenShift deployment.
2.) See "undefined" as domain name on OpenShift > Configuration tab.

Actual results:

Incorrect domain name.

Expected results:

Correct domain name.

Additional info:

Comment 4 Dylan Murray 2017-01-11 14:35:51 UTC

Comment 5 Dylan Murray 2017-01-11 15:30:28 UTC
This fix is in QCI-1.1-RHEL-7-20170111.t.1.

Comment 6 Tasos Papaioannou 2017-01-11 16:26:32 UTC
I see the same behavior in QCI-1.1-RHEL-7-20170111.t.1. "undefined" shows in the web UI, and the internal server error appears in production.log.

Comment 7 Dylan Murray 2017-01-11 17:03:02 UTC

My mistake, added that extra attribute by accident.

Comment 9 James Olin Oden 2017-01-12 15:45:51 UTC
Compose:  QCI-1.1-RHEL-7-20170111.t.8

Comment 12 errata-xmlrpc 2017-02-28 01:43:27 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.