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 10.10.58.64 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: 100% 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:
https://github.com/fusor/foretello_api_v21/pull/20
This fix is in QCI-1.1-RHEL-7-20170111.t.1.
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.
https://github.com/fusor/foretello_api_v21/pull/21 My mistake, added that extra attribute by accident.
Compose: QCI-1.1-RHEL-7-20170111.t.8
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://access.redhat.com/errata/RHEA-2017:0335