Bug 843757 - Jenkins build becomes unavailable after moving a app with jenkins-client-1.4 embedded
Summary: Jenkins build becomes unavailable after moving a app with jenkins-client-1.4 ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
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: 2012-07-27 09:28 UTC by Jianwei Hou
Modified: 2015-05-15 02:01 UTC (History)
3 users (show)

Fixed In Version: devenv_1920
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 20:42:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen capture (70.19 KB, image/png)
2012-07-27 09:28 UTC, Jianwei Hou
no flags Details

Description Jianwei Hou 2012-07-27 09:28:49 UTC
Created attachment 600730 [details]
screen capture

Description of problem:
Create an app with jenkins embedded, move this app with on disctrict. After move, jenkins build becomes unavaiable, have to go to jenkins web console to enable build project manually

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

How reproducible:
Always

Steps to Reproduce:
1.Setup multi-node environment
2.Create a district, add two nodes to district
3.Create an application with jenkins embedded
4.Move this app from one node to another with the same district
5.Make some change and git push
  
Actual results:
Counting objects: 7, done.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 373 bytes, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: Executing Jenkins build.
remote: 
remote: You can track your build at https://jks-1916move1.dev.rhcloud.com/job/php1-build
remote: 
remote: ERROR - Couldn't schedule job
remote: !!!!!!!!
remote: Deployment Halted!
remote: If the build failed before the deploy step, your previous
remote: build is still running.  Otherwise, your application may be
remote: partially deployed or inaccessible.
remote: Fix the build and try again.
remote: !!!!!!!!
To ssh://839571dd7d1a4171a85c4f9f839aa18d.rhcloud.com/~/git/php1.git/
   5a9ff0a..4c29f0c  master -> master

Go to jenkins web console, it shows:"This project is currently disabled"

Expected results:
Jenkins build should be successful


Additional info:

Have to go to jenkins web console to enable the build project, then jenkins build was OK

Comment 1 Dan McPherson 2012-07-27 18:13:30 UTC
Fixing today.

Comment 2 Dan McPherson 2012-07-27 18:29:00 UTC
https://github.com/openshift/crankcase/pull/292

Comment 3 Rony Gong 🔥 2012-07-30 05:45:08 UTC
verifier on devenv_1920
1.move app with jenkins client then git push
[root@localhost jbosstest]# git push
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 246 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: Executing Jenkins build.
remote: 
remote: You can track your build at https://jenkins-qgong1.dev.rhcloud.com/job/jbosstest-build
remote: 
remote: Waiting for build to schedule.....................................Done
remote: Waiting for job to complete..........................................................................................................Done
remote: SUCCESS
remote: New build has been deployed.
To ssh://bdc5d6de4c8a468a8b4b58d7f425019a.rhcloud.com/~/git/jbosstest.git/
   f7b5dd0..4c0d123  master -> master


2.move jenkins app then git push
[root@localhost jbosseaptest]# git push
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 225 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: Executing Jenkins build.
remote: 
remote: You can track your build at https://jenkins-qgong1.dev.rhcloud.com/job/jbosseaptest-build
remote: 
remote: Waiting for build to schedule....Done
remote: Waiting for job to complete...............................................................................Done
remote: SUCCESS
remote: New build has been deployed.
To ssh://c8275a39b5ff4526948fb8bbff445006.rhcloud.com/~/git/jbosseaptest.git/
   76641ee..79b6279  master -> master


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