Bug 912000 - can not create python-2.7 and python-3.3 applications
Summary: can not create python-2.7 and python-3.3 applications
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-17 07:10 UTC by chunchen
Modified: 2015-05-14 23:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-15 14:06:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The broker log (23.66 KB, text/plain)
2013-02-18 07:47 UTC, Yujie Zhang
no flags Details

Description chunchen 2013-02-17 07:10:29 UTC
Description of problem:
can not create python-2.7 and python-3.3 applications

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

How reproducible:
Always

Steps to Reproduce:
1. Create python-2.7 or python-3.3 app
   rhc app create python700 python-2.7
   rhc app create python300 python-3.3
  
Actual results:
Node execution failure (invalid exit code from node).  If the problem persists please contact Red Hat support.

Expected results:
python-2.7 and python-3.3 applications should create successfully.

Additional info:

Comment 1 Yujie Zhang 2013-02-18 07:47:19 UTC
Created attachment 698751 [details]
The broker log

Comment 2 Jhon Honce 2013-02-18 18:57:46 UTC
Fixed in https://github.com/openshift/origin-server/pull/1396

Comment 3 Wei Sun 2013-02-19 09:31:39 UTC
We will verify this bug after pull request being merged.

Comment 4 chunchen 2013-02-20 02:43:41 UTC
It is fixed, verified on devenv_2835 with rhc-1.5.2.

Comment 5 chunchen 2013-02-20 03:02:53 UTC
(In reply to comment #4)
> It is fixed, verified on devenv_2835 with rhc-1.5.2.

Please refer to following results:

1. Create python-2.7 app
1) create scalabe app
[root@fedora17_ccy 0220]# rhc app create python7s0 python-2.7 --scaling
Password: 

Application Options
-------------------
  Namespace:  cydy
  Cartridges: python-2.7
  Gear Size:  default
  Scaling:    yes

Creating application 'python7s0' ... done

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

Downloading the application Git repository ...
Cloning into 'python7s0'...
The authenticity of host 'python7s0-cydy.dev.rhcloud.com (54.234.227.178)' can't be established.
RSA key fingerprint is ac:6b:4f:cd:58:8d:65:f6:d4:f1:a2:53:49:1d:5e:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'python7s0-cydy.dev.rhcloud.com' (RSA) to the list of known hosts.

Your application code is now in 'python7s0'

python7s0 @ http://python7s0-cydy.dev.rhcloud.com/ (uuid: 512434a27186294425000026)
-----------------------------------------------------------------------------------
  Created: 2:27 AM
  Gears:   1 (defaults to small)
  Git URL: ssh://512434a27186294425000026.rhcloud.com/~/git/python7s0.git/
  SSH:     512434a27186294425000026.rhcloud.com

  python-2.7 (Python 2.7 Community Cartridge)
  -------------------------------------------
    Scaling: x1 (minimum: 1, maximum: available) on small gears

  haproxy-1.4 (OpenShift Web Balancer)
  ------------------------------------
    Gears: Located with python-2.7

RESULT:
Application python7s0 was created.
Disclaimer: This is a community supported Python cartridge that provides a way to use/run Python 2.7 on Openshift.

2) create non-scalabe app
[root@fedora17_ccy 0220]# rhc app create python700 python-2.7
Password: 

Application Options
-------------------
  Namespace:  cydy
  Cartridges: python-2.7
  Gear Size:  default
  Scaling:    no

Creating application 'python700' ... done

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

Downloading the application Git repository ...
Cloning into 'python700'...
The authenticity of host 'python700-cydy.dev.rhcloud.com (54.234.227.178)' can't be established.
RSA key fingerprint is ac:6b:4f:cd:58:8d:65:f6:d4:f1:a2:53:49:1d:5e:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'python700-cydy.dev.rhcloud.com' (RSA) to the list of known hosts.

Your application code is now in 'python700'

python700 @ http://python700-cydy.dev.rhcloud.com/ (uuid: 5124378a7186294425000084)
-----------------------------------------------------------------------------------
  Created: 2:40 AM
  Gears:   1 (defaults to small)
  Git URL: ssh://5124378a7186294425000084.rhcloud.com/~/git/python700.git/
  SSH:     5124378a7186294425000084.rhcloud.com

  python-2.7 (Python 2.7 Community Cartridge)
  -------------------------------------------
    Gears: 1 small

RESULT:
Application python700 was created.
Disclaimer: This is a community supported Python cartridge that provides a way to use/run Python 2.7 on Openshift.


2. Create python-3.3 app
1) create scalabe app
[root@fedora17_ccy 0220]# rhc app create python3s0 python-3.3 --scaling
Password: 

Application Options
-------------------
  Namespace:  cydy
  Cartridges: python-3.3
  Gear Size:  default
  Scaling:    yes

Creating application 'python3s0' ... done

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

Downloading the application Git repository ...
Cloning into 'python3s0'...
The authenticity of host 'python3s0-cydy.dev.rhcloud.com (54.234.227.178)' can't be established.
RSA key fingerprint is ac:6b:4f:cd:58:8d:65:f6:d4:f1:a2:53:49:1d:5e:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'python3s0-cydy.dev.rhcloud.com' (RSA) to the list of known hosts.

Your application code is now in 'python3s0'

python3s0 @ http://python3s0-cydy.dev.rhcloud.com/ (uuid: 512433e67186294425000005)
-----------------------------------------------------------------------------------
  Created: 2:24 AM
  Gears:   1 (defaults to small)
  Git URL: ssh://512433e67186294425000005.rhcloud.com/~/git/python3s0.git/
  SSH:     512433e67186294425000005.rhcloud.com

  python-3.3 (Python 3.3 Community Cartridge)
  -------------------------------------------
    Scaling: x1 (minimum: 1, maximum: available) on small gears

  haproxy-1.4 (OpenShift Web Balancer)
  ------------------------------------
    Gears: Located with python-3.3

RESULT:
Application python3s0 was created.
Disclaimer: This is a community supported Python cartridge that provides a way to use/run Python 3.3 on Openshift.

2)create non-scalabe app
[root@fedora17_ccy 0220]# rhc app create python30 python-3.3
Password: 

Application Options
-------------------
  Namespace:  cydy
  Cartridges: python-3.3
  Gear Size:  default
  Scaling:    no

Creating application 'python30' ... done

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

Downloading the application Git repository ...
Cloning into 'python30'...
The authenticity of host 'python30-cydy.dev.rhcloud.com (54.234.227.178)' can't be established.
RSA key fingerprint is ac:6b:4f:cd:58:8d:65:f6:d4:f1:a2:53:49:1d:5e:e7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'python30-cydy.dev.rhcloud.com' (RSA) to the list of known hosts.

Your application code is now in 'python30'

python30 @ http://python30-cydy.dev.rhcloud.com/ (uuid: 5124353b718629442500005a)
---------------------------------------------------------------------------------
  Created: 2:30 AM
  Gears:   1 (defaults to small)
  Git URL: ssh://5124353b718629442500005a.rhcloud.com/~/git/python30.git/
  SSH:     5124353b718629442500005a.rhcloud.com

  python-3.3 (Python 3.3 Community Cartridge)
  -------------------------------------------
    Gears: 1 small

RESULT:
Application python30 was created.
Disclaimer: This is a community supported Python cartridge that provides a way to use/run Python 3.3 on Openshift.


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