Bug 1037863

Summary: can't create any type of apps in STG node1
Product: OpenShift Online Reporter: Peter Ruan <pruan>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: bmeng, jliggitt, xtian, yadu
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: 2014-01-30 00:51:47 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-12-04 00:06:40 UTC
Description of problem:
  When trying to create an ruby-1.8 app in STG, I get the following error.

    Shell command '/sbin/runuser -s /bin/sh 529e71842587c8162e000345 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c1,c6' /bin/sh -c \"/usr/bin/ssh-keygen -N '' -f /var/lib/openshift/529e71842587c8162e000345/.openshift_ssh/id_rsa\""' returned an error. rc=1Command return code: 1
    Unable to complete the requested operation due to: An invalid exit code (1) was returned from the server ex-std-node1.stg.rhcloud.com. This indicates an unexpected problem during the execution of your request.. Reference ID: ceaf153100945abc4a4ffa397b097f09

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Jhon Honce 2013-12-04 19:15:01 UTC
Cannot reproduce.

Comment 4 Yan Du 2013-12-05 06:15:35 UTC
Test on STG (stage_devenv_601), issue can't be reproduced.


[root@localhost test]# rhc app create php3 php-5.3 
Application Options
-------------------
Domain:     111
Cartridges: php-5.3
Gear Size:  default
Scaling:    no

Creating application 'php3' ... done


Waiting for your DNS name to be available ... done

Cloning into 'php3'...
The authenticity of host 'php3-111.stg.rhcloud.com (54.234.56.174)' can't be established.
RSA key fingerprint is cf:ee:77:cb:0e:fc:02:d7:72:7e:ae:80:c0:90:88:a7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'php3-111.stg.rhcloud.com' (RSA) to the list of known hosts.

Your application 'php3' is now available.

  URL:        http://php3-111.stg.rhcloud.com/
  SSH to:     52a018d32587c897d900006b.rhcloud.com
  Git remote: ssh://52a018d32587c897d900006b.rhcloud.com/~/git/php3.git/
  Cloned to:  /root/test/php3

Run 'rhc show-app php3' for more details about your app.


[root@localhost test]# nslookup php3-111.stg.rhcloud.com
Server:		10.66.127.17
Address:	10.66.127.17#53

Non-authoritative answer:
php3-111.stg.rhcloud.com	canonical name = ex-std-node1.stg.rhcloud.com.
ex-std-node1.stg.rhcloud.com	canonical name = ec2-54-234-56-174.compute-1.amazonaws.com.
Name:	ec2-54-234-56-174.compute-1.amazonaws.com
Address: 54.234.56.174