Bug 838062 - Caught "Cartridge Error contacting Jenkins server. " when enable jenkins server.
Summary: Caught "Cartridge Error contacting Jenkins server. " when enable jenkins server.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: N. Harrison Ripps
QA Contact: libra bugs
URL:
Whiteboard:
: 837252 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-06 11:05 UTC by Yujie Zhang
Modified: 2015-05-14 22:56 UTC (History)
7 users (show)

Fixed In Version: rhc-site-0.95.13-1+
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-13 23:43:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot1 (94.00 KB, image/png)
2012-07-06 11:05 UTC, Yujie Zhang
no flags Details
broker log (63.49 KB, text/plain)
2012-07-09 14:50 UTC, Xiaoli Tian
no flags Details

Description Yujie Zhang 2012-07-06 11:05:14 UTC
Created attachment 596619 [details]
screenshot1

Description of problem:

When I click the "Enable jenkins build" button to enable jenkins server, and got "Cartridge Error contacting Jenkins server. Could not download https://jenkins-fghdfg.dev.rhcloud.com/jnlpJars/jenkins-cli.jar" error, I got the account in jenkins,but there is no build of my app.

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

devenv_1876

How reproducible:always


Steps to Reproduce:
1.Go to opensihft and login
2.Create an application and click the "Enable jenkins build" button
3.
  
Actual results:

Caught error when enable jenkins, details see in attachment.

Expected results:

The jenkins should be enabled correctly.

Additional info:

Comment 1 Xiaoli Tian 2012-07-09 14:50:33 UTC
Created attachment 597094 [details]
broker log

Comment 2 Dan Mace 2012-07-09 15:00:49 UTC
The problem is that due to DNS slowness in dev, the web console times out waiting to communicate with Jenkins. The error message needs improved. Assigning to Clayton.

Comment 3 Clayton Coleman 2012-07-09 15:36:17 UTC
*** Bug 837252 has been marked as a duplicate of this bug. ***

Comment 4 N. Harrison Ripps 2012-07-10 20:06:55 UTC
This error indicates that a mis-leading generic cartridge error message seemed to contradict the true status of the Jenkins server app. In the fix, we use a specific error condition to help differentiate between slow propagation of the Jenkins server app's DNS lookup information from actual application error conditions. In the former case, the normal error message is now superceded with a specific comment about slow DNS response.

A pull request has been submitted.

Comment 5 Yujie Zhang 2012-07-11 11:02:20 UTC
(In reply to comment #4)
Tested this issue on devenv_1884, did not meet this problem up to now.

Comment 6 Yujie Zhang 2012-07-11 11:17:12 UTC
(In reply to comment #4)
Tested on devenv_1884 again, still will return the same error message, will test this issue on later build.

Comment 7 Peter Ruan 2012-07-11 18:07:30 UTC
still seeing the same problem in devenv_1885

Comment 8 N. Harrison Ripps 2012-07-11 20:04:48 UTC
Submitted pull request for finalized version of fix + spec test

Comment 9 N. Harrison Ripps 2012-07-11 20:07:05 UTC
Disregard previous--different case #

Comment 10 Yujie Zhang 2012-07-12 06:49:10 UTC
(In reply to comment #9)
Tested on devenv-stage_223, it still has this issue.

Comment 11 N. Harrison Ripps 2012-07-12 17:52:20 UTC
Fix should be available in next build.

Comment 12 Chandrika Gole 2012-07-13 19:32:53 UTC
verified on 1892.
Still wasn't able to embed jenkins to the app because of dns slowness, but seeing the right error message now.
"""
The Jenkins server has not yet registered with DNS. Wait a few minutes before trying to add new cartridges to the application.
"""


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