Bug 922711 - [Origin]Error when installing jenkins-client cartridge just after creating the jenkins application on LiveCD
Summary: [Origin]Error when installing jenkins-client cartridge just after creating th...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 1.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: 2013-03-18 10:49 UTC by Xavier Coulon
Modified: 2014-01-24 03:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:21:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBIDE-13800 0 Major Closed Error when installing jenkins-client cartridge just after creating the jenkins application (on LiveCD) (WATCHER ISSUE) 2014-08-22 20:22:14 UTC

Description Xavier Coulon 2013-03-18 10:49:21 UTC
In REST API version 1.0 (running a LiveCD on VirtualBox), I got the following error message when I tried to install a jenkins-client on my application. 

Could not embed cartridges for application test2
Could not request https://192.168.56.101/broker/rest/domains/devoxx/applications/test2/cartridges: Operation failed on parameter "cartridge", sevirty "ERROR" with exit code "157".Reason given: "Error contacting Jenkins server.
Could not download https://jenkins-devoxx.example.com/jnlpJars/jenkins-cli.jar"

I also created the jenkins application since I did not have one in my domain before, so my guess is that the lib download occurred before the application was available, which ended up with that error message.

Trying to install the same jenkins-client embedded cartridge a few minutes later worked.

Comment 1 Mike McGrath 2013-04-16 16:16:02 UTC
We think this is fixed upstream in v2 which means it should be fixed in origin fairly soon.

Comment 2 Dan McPherson 2013-07-22 19:23:54 UTC
Should have been fixed with v2

Comment 3 Meng Bo 2013-11-15 06:55:34 UTC
Checked on the latest Origin vm (https://mirror.openshift.com/pub/origin-server/release/2/images/openshift-origin.zip)

Create app with the --enable-jenkins option, the app can be created and the jenkins-client can be added.

Move bug to verified.

# rhc app create app2 php-5 --enable-jenkins --no-dns
Using php-5.5 (PHP 5.5) for 'php-5'

Application Options
-------------------
  Domain:     domain1
  Cartridges: php-5.5
  Gear Size:  default
  Scaling:    no

Creating application 'app2' ... done


Setting up a Jenkins application ... done

  Jenkins created successfully.  Please make note of these credentials:
   User: admin
   Password: tiV2MTFBi-g4
Note:  You can change your password at: https://jenkins-domain1.openshift.local/me/configure

Setting up Jenkins build ... done

  Associated with job 'app2-build' in Jenkins server.

Your application 'app2' is now available.

  URL:        http://app2-domain1.openshift.local/
  SSH to:     5285c49748d98b8282000082.local
  Git remote: ssh://5285c49748d98b8282000082.local/~/git/app2.git/

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


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