Bug 1070604 - Fail to create dancer quickstart
Summary: Fail to create dancer quickstart
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-27 08:38 UTC by Yan Du
Modified: 2015-05-15 02:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-12 03:08:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yan Du 2014-02-27 08:38:12 UTC
Description of problem:
Fail to create dancer quickstart https://github.com/openshift-quickstart/dancer-example

root@openshift-ubuntu:~/test# rhc app create dancer perl-5.10 --from-code=https://github.com/openshift-quickstart/dancer-example
Application Options
-------------------
Domain:      perlt
Cartridges:  perl-5.10
Source Code: https://github.com/openshift-quickstart/dancer-example
Gear Size:   default
Scaling:     no
Creating application 'dancer' ... 
The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 530ec566f6149e30c1000001 -c
"exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c1000' /bin/sh -c \"gear postreceive --init >>
/tmp/initial-build.log 2>&1\""' returned an error. rc=143
.Last 10 kB of build output:
Stopping Perl cartridge
Repairing links for 1 deployments
Building git ref 'master', commit 09bba25
Building Perl cartridge
--> Working on Dancer
Fetching http://mirror.ops.rhcloud.com/mirror/perl/CPAN/authors/id/Y/YA/YANICK/Dancer-1.3121.tar.gz ... OK
Configuring Dancer-1.3121 ... OK
==> Found dependencies: HTTP::Server::Simple::PSGI, Try::Tiny, URI, HTTP::Body, MIME::Types, Time::HiRes,
Module::Runtime, Test::More
--> Working on HTTP::Server::Simple::PSGI
<-------------------------------sbip------------------------------------->
Fetching http://mirror.ops.rhcloud.com/mirror/perl/CPAN/authors/id/D/DO/DOY/Try-Tiny-0.19.tar.gz ... OK
Configuring Try-Tiny-0.19 ... OK
Building Try-Tiny-0.19 ... OK
Successfully installed Try-Tiny-0.19



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



How reproducible:
always



Steps to Reproduce:

1.rhc app create dancer perl-5.10 --from-code=https://github.com/openshift-quickstart/dancer-example



Actual results:
show error as decription during creating



Expected results:
dancer can be created successfully

Comment 1 Michal Fojtik 2014-02-27 12:09:26 UTC
This appear to be a problem in devenv_4429 not just fork.

Comment 2 Jakub Hadvig 2014-02-27 12:30:17 UTC
Found out that the problem not appears to be on the cartridge side.

When creating dancer app from simple perl app:  

rhc app create dancer perl-5.10
cd dancer
git rm -r perl
git commit -a -m "Remove stock perl dir to prepare for Dancer"
git remote add upstream -m master git://github.com/openshift/dancer-example.git
git pull -s recursive -X theirs upstream master

remote: Stopping Perl cartridge
remote: Waiting for stop to finish
remote: Building git ref 'master', commit d81c9cf
remote: Building Perl cartridge
remote: --> Working on Dancer
....
remote: --> Working on Time::HiRes
remote: Fetching http://mirror.ops.rhcloud.com/mirror/perl/CPAN/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9726.tar.gz ... OK
remote: Configuring Time-HiRes-1.9726 ... Connection to dancer-jhadvig.dev.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer

Comment 3 Dan McPherson 2014-02-28 04:43:17 UTC
I think this was a temporary issue.  I tried to recreate and wasn't able to.  Please try again and let me know if you still have the problem.

Comment 4 Yan Du 2014-02-28 05:56:43 UTC
Test on devenv_4436, dancer can be created successufully. Move to  verified.

[root@localhost test]# rhc app create dancer perl-5.10 --from-code=https://github.com/openshift-quickstart/dancer-example --no-git
Application Options
-------------------
Domain:      111
Cartridges:  perl-5.10
Source Code: https://github.com/openshift-quickstart/dancer-example
Gear Size:   default
Scaling:     no

Creating application 'dancer' ... done


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

Your application 'dancer' is now available.

  URL:        http://dancer-111.dev.rhcloud.com/
  SSH to:     5310240ce12c49d649000034.rhcloud.com
  Git remote: ssh://5310240ce12c49d649000034.rhcloud.com/~/git/dancer.git/

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


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