Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1148180

Summary: no districts defined error
Product: OpenShift Container Platform Reporter: Rich Lucente <rlucente>
Component: InstallerAssignee: Timothy Williams <tiwillia>
Status: CLOSED EOL QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 2.2.0CC: bleanhar, jokerman, libra-bugs, libra-onpremise-devel, lmeyer, mmccomas, rthrashe, tiwillia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-13 22:11:56 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:
Attachments:
Description Flags
openshift deployment log none

Description Rich Lucente 2014-09-30 20:50:05 UTC
Created attachment 942849 [details]
openshift deployment log

Description of problem:

Getting error that no district is defined.  Per 5.1 in the deployment guide, I'm running as root:

    ./oo-install-ose

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

OSE 2.1

How reproducible:

Everytime.

Steps to Reproduce:
1.  create guest vm and install RHEL 6.5 with Desktop profile
2.  add entry to /etc/hosts for broker.redhat.paas with fixed IP
3.  set hostname to 'broker' without FQDN
4.  run oo-installer-ose as root

Actual results:

oo-diagnostics step fails with errors indicating no districtes defined

Expected results:

oo-diagnostics gives a couple of warnings

Additional info:

DNS Settings
  * App Domain: redhat.paas
  * Register OpenShift components with OpenShift DNS? Yes
  * Component Domain: redhat.paas

Role Assignments
+--------+--------------------+
| Broker | broker.redhat.paas |
| Node   | broker.redhat.paas |
+--------+--------------------+

Host Information
+---------------------------+----------------------------------+
| Host                      | broker.redhat.paas               |
| Roles                     | Broker, Node                     |
| SSH Host                  | localhost                        |
| User                      | root                             |
| IP Addr                   | 192.168.122.130                  |
| BIND DNS Addr             | 192.168.122.130                  |
| IP Interface              | eth0                             |
| Install Status            | new                              |
| Node Profile              | small                            |
| District                  | default-small                    |
| Valid Gear Sizes          | small                            |
| Default Gear Capabilities | small                            |
| Default Gear Size         | small                            |
| District Mappings         | default-small:broker.redhat.paas |
| MCollective User          | mcollective                      |
| MCollective Password      | TilLfwwU9NcVfemHFGyrTw           |
| MongoDB Broker User       | openshift                        |
| MongoDB Broker Password   | 0qNLlPNhf14hZZm4tYyg             |
| OpenShift User            | student                          |
| OpenShift Password        | changeme                         |
+---------------------------+----------------------------------+

Here is the subscription configuration that the installer will use for
this deployment.

+-------------+----------------------------------+
| Setting     | Value                            |
+-------------+----------------------------------+
| type        | rhsm                             |
| rh_username | rlucente-se-jboss                |
| rh_password | ******                           |
| sm_reg_pool | 8a85f9843e3d687a013e3ddd471a083e |
+-------------+----------------------------------+

Comment 3 Rory Thrasher 2017-01-13 22:11:56 UTC
OpenShift Enterprise v2 has officially reached EoL.  This product is no longer supported and bugs will be closed.

Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3.  https://www.openshift.com/container-platform/

More information can be found here: https://access.redhat.com/support/policy/updates/openshift/