Bug 995973 - Sometimes can not create application successfully for ruby-1.8 / ruby-1.9/python-2.6 on INT
Summary: Sometimes can not create application successfully for ruby-1.8 / ruby-1.9/pyt...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-12 05:59 UTC by Wei Sun
Modified: 2015-05-14 23:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 12:50:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wei Sun 2013-08-12 05:59:28 UTC
Description of problem:
Try to create  ruby-1.8/ruby-1.9/python-2.6 app  ,but sometimes it failed.It returned "Unexpected error: CLIENT_ERROR: Malformed cartridge (ruby, 1.9, 0.0.5):
bin is not directory?".
But sometimes,can create the app successfully

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

How reproducible:
Sometimes

Steps to Reproduce:
1.Create a  ruby-1.8 app
2.Create a  ruby-1.9 app
3.Create a python-2.6 app

Actual results:
1.[wsun@dhcp-8-229 dev]$ rhc app-create r8 ruby-1.8
Application Options
-------------------
  Namespace:  wsun1int
  Cartridges: ruby-1.8
  Gear Size:  default
  Scaling:    no

Creating application 'r8' ... 
Unexpected error: CLIENT_ERROR: Malformed cartridge (ruby, 1.9, 0.0.5):
bin is not directory?

2.[wsun@dhcp-8-229 dev]$ rhc app-create r9 ruby-1.9
Application Options
-------------------
  Namespace:  wsun1int
  Cartridges: ruby-1.9
  Gear Size:  default
  Scaling:    no

Creating application 'r9' ... 
Unexpected error: CLIENT_ERROR: Malformed cartridge (ruby, 1.9, 0.0.5):
metadata is not directory?, bin is not directory?, metadata/manifest.yml is not file?

3.[wsun@dhcp-8-229 dev]$ rhc app-create py26 python-2.6 -l wsun+2 -p redhat
Application Options
-------------------
  Namespace:  wsun2int
  Cartridges: python-2.6
  Gear Size:  default
  Scaling:    no

Creating application 'py26' ... 
Unexpected error: CLIENT_ERROR: Malformed cartridge (python, 2.6, 0.0.3):
bin is not directory?


Expected results:
Could create app successfully

Additional info:

Comment 2 Jhon Honce 2013-08-16 22:52:30 UTC
Fixed in https://github.com/openshift/origin-server/pull/3395

Comment 3 Wei Sun 2013-08-19 06:27:27 UTC
Will check this bug when INT has the same packages installed as devenv_3667

Comment 4 Lei Zhang 2013-08-19 10:48:59 UTC
Tried to create ruby-1.8/ruby-1.9/python-2.6 app many times on INT(devenv_3665), didn't reproduce this bug, so verified it.


[lijun@rayzhang Work]$ rhc app create myruby181 ruby-1.8 --no-git; rhc app create myruby191 ruby-1.9 --no-git; rhc app create mypython261 python-2.6  --no-git;
Application Options
-------------------
  Namespace:  ray
  Cartridges: ruby-1.8
  Gear Size:  default
  Scaling:    no

Creating application 'myruby181' ... done


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

Your application 'myruby181' is now available.

  URL:        http://myruby181-ray.int.rhcloud.com/
  SSH to:     5211f6ce6cec0eb519001172.rhcloud.com
  Git remote: ssh://5211f6ce6cec0eb519001172.rhcloud.com/~/git/myruby181.git/

Run 'rhc show-app myruby181' for more details about your app.
Application Options
-------------------
  Namespace:  ray
  Cartridges: ruby-1.9
  Gear Size:  default
  Scaling:    no

Creating application 'myruby191' ... done


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

Your application 'myruby191' is now available.

  URL:        http://myruby191-ray.int.rhcloud.com/
  SSH to:     5211f6ff6cec0eb519001188.rhcloud.com
  Git remote: ssh://5211f6ff6cec0eb519001188.rhcloud.com/~/git/myruby191.git/

Run 'rhc show-app myruby191' for more details about your app.
Application Options
-------------------
  Namespace:  ray
  Cartridges: python-2.6
  Gear Size:  default
  Scaling:    no

Creating application 'mypython261' ... done


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

Your application 'mypython261' is now available.

  URL:        http://mypython261-ray.int.rhcloud.com/
  SSH to:     5211f7286cec0eb51900119e.rhcloud.com
  Git remote: ssh://5211f7286cec0eb51900119e.rhcloud.com/~/git/mypython261.git/

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


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