Description of problem:
When installing and using OSE 2.1 with a full install or via virtual machine, the RHC client tools installed on a users local machine does not respect the /etc/resolver dns resolution on OSX.
Version-Release number of selected component (if applicable):
OSE 2.1 VM
Steps to Reproduce:
1. Run the OSE2.1 Virtual Machine
2. Install the client tools on an OSX machine
3. As the root user on OSX, create the following:
Place the following contents in the resolver file:
Ensure to replace the 192.168.0.24 with the correct IP for your OSE DNS server.
4. Run: rhc setup --server vm.openshift.example.com -l demo -p openshift
5. rhc app create testapp php-5.4
6. See the following error
Gear Size: default
Creating application 'l4' ... done
Waiting for your DNS name to be available ... retry # 1 - Waiting for DNS: l4-ose.openshift.example.com
retry # 2 - Waiting for DNS: l4-ose.openshift.example.com
retry # 3 - Waiting for DNS: l4-ose.openshift.example.com
retry # 4 - Waiting for DNS: l4-ose.openshift.example.com
retry # 5 - Waiting for DNS: l4-ose.openshift.example.com
retry # 6 - Waiting for DNS: l4-ose.openshift.example.com
At the same time, open a new window and ping the newly created application:
$ ping l4-ose.openshift.example.com
PING vm.openshift.example.com (192.168.0.24): 56 data bytes
64 bytes from 192.168.0.24: icmp_seq=0 ttl=64 time=0.188 ms
The application is also available via web browser from the OSX system.
This is a problem with RHC connecting to OSE using a custom dns host. The eclipse plugin does not have this problem running on the same machine which makes me think it is how the ruby library we are using resolves host names.
RHC client tools do not use / respect the /etc/resolver system on OSX.
RHC should respect this system like all of the other tools (Eclipse, IntelliJ etc)
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/