Bug 889313 - rhc app create is throwing strange errors on git clone
Summary: rhc app create is throwing strange errors on git clone
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-20 18:51 UTC by Nam Duong
Modified: 2015-05-15 02:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-10 20:35:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
debug output to rhc app create -d command (71.01 KB, text/rtf)
2012-12-20 18:51 UTC, Nam Duong
no flags Details
rhc app create output log 20121221 (21.73 KB, text/plain)
2012-12-21 07:38 UTC, joycezhang
no flags Details

Description Nam Duong 2012-12-20 18:51:15 UTC
Description of problem:

See https://openshift.redhat.com/community/forums/openshift/rhc-app-create-problem#comment-25845 for more details.  

The symptoms look very unusual:  
$ rhc app create -a quake2 -t jbossas-7
Password: *********
 
Creating application 'quake2'
=============================
 
  Namespace: xianrenb
  Cartridge: jbossas-7
  Gear Size: default
  Scaling:   no
 
Your application's domain name is being propagated worldwide (this might take a
minute)...
invalid byte sequence in UTF-8
Usage: rhc app create <name> <cartridge> [-n namespace]
Pass '--help' to see the full list of options

What's more odd is the output to:
$ rhc app create -a quake2 -t jbossas-7 -d
Password: *********DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api
DEBUG: Client supports API versions 1.1, 1.2, 1.3
DEBUG: Request: #<RestClient::Request:0x2056d824 @method=:get, @headers={:accept=>:json, "Authorization"=>"Basic eGlhbnJlbmJAZ21haWwuY29tOm9vb29sb2dpbg==", "User-Agent"=>"rhc/1.2.7 (ruby 1.9.3; i386-cygwin)"}, @url="https://openshift.redhat.com/broker/rest/api", @cookies={}, @payload=nil, @user=nil, @password=nil, @timeout=nil, @open_timeout=4, @block_response=nil, @raw_response=false, @verify_ssl=false, @ssl_client_cert=nil, @ssl_client_key=nil, @ssl_ca_file=nil, @tf=nil, @max_redirects=10, @processed_headers={"Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"Basic eGlhbnJlbmJAZ21haWwuY29tOm9vb29sb2dpbg==", "User-Agent"=>"rhc/1.2.7 (ruby 1.9.3; i386-cygwin)"}, @args={:url=>"https://openshift.redhat.com/broker/rest/api", :method=>:get, :headers=>{:accept=>:json, "Authorization"=>"Basic eGlhbnJlbmJAZ21haWwuY29tOm9vb29sb2dpbg==", "User-Agent"=>"rhc/1.2.7 (ruby 1.9.3; i386-cygwin)"}, :timeout=>nil, :open_timeout=>4}>
.....

See attached for the debug output.

Comment 1 Nam Duong 2012-12-20 18:51:42 UTC
Created attachment 666899 [details]
debug output to rhc app create -d command

Comment 2 joycezhang 2012-12-21 07:35:05 UTC
This bug couldn't be reproduced on PROD env, please refer to the details as below:

Build:
PROD 
rhc.1.2.7.gem
ruby-1.9 on windows7

Steps:
1. Create a jbossas app as below:
rhc app create -a testapp3 -t jbossas-7 -d

Actual result:
The app can be created successfully. Please refer to the detailed log as attached. Thanks.

Comment 3 joycezhang 2012-12-21 07:38:05 UTC
Created attachment 667117 [details]
rhc app create output log 20121221

Comment 4 Clayton Coleman 2013-01-02 19:19:55 UTC
This looks like a problem with the old version of the gem.  Can we get a recreation with the latest RHC gem?

Comment 5 Clayton Coleman 2013-01-10 20:35:27 UTC
Please recreate and reopen.


Note You need to log in before you can comment on or make changes to this bug.