Bug 1021729

Summary: [ORIGIN] can't ssh into apps by ssh url for origin apps
Product: OKD Reporter: Peter Ruan <pruan>
Component: ContainersAssignee: N. Harrison Ripps <hripps>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: ccoleman, xtian
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: 2015-01-05 20:36:42 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 Peter Ruan 2013-10-21 22:59:39 UTC
Description of problem:
I was able to create apps in Origin by doing 'rhc' from my laptop.  However, I can't log into the app's console using the ssh url if I were to ssh into it from my laptop (running F19)

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

How reproducible:
always.

Steps to Reproduce:
1. create an app. 
2. make sure the host from which rhc is run has mdns4 added to /etc/nsswitch.conf

http://openshift.github.io/documentation/oo_deployment_guide_vm.html#configure-mdns
3. try to ssh into the app by using the ssh-url returned by rhc domain show

ssh 5265afb46892dffb3800002c.com

Actual results:

ssh: Could not resolve hostname app1-orignmtv.example.com: No address associated with hostname

Expected results:
able to ssh into the host.

Additional info:

Comment 1 Krishna Raman 2013-12-09 20:50:42 UTC
This is a DNS issue. Depending on if the VM is set up with Avahi or Bind, the steps needed to configure your host machine will be different. oo-install integration with Origin VM will had additional information about how to configure the host machine.

Comment 2 N. Harrison Ripps 2015-01-05 20:36:42 UTC
This bug describes an outdated version of Origin. I am closing it out but feel free to re-open if you encounter this with Origin M4 or newer.