Bug 1153557
| Summary: | Moving the application with jenkins client make the project be changed to disabled in jenkins server console | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Fulei Li <fli> | |
| Component: | Image | Assignee: | Michal Fojtik <mfojtik> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 2.x | CC: | bparees, decarr, jokerman, mmahut, mmccomas, wsun | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1155766 (view as bug list) | Environment: | ||
| Last Closed: | 2015-02-18 16:52:05 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1155766 | |||
|
Description
Fulei Li
2014-10-16 08:36:33 UTC
I was able to reproduce the issue, but still trying to debug the cause. I reproduced the issue, and noticed after the gear was moved to another node, the Jenkins project appears disabled. Enabling the project in Jenkins did not address my ability push code, and I continued to get the same error. Moving to cartridge team per feedback from Dan McPherson. I was able to create the same scenario when not creating a scalable app. Only the first push fails, restart of the builder gears helps as well.
WARNING: Publisher hudson.tasks.ArtifactArchiver aborted due to exception
/var/lib/openshift/544663f12587c8ec8900c5c9/app-root/runtime/repo does not exist.
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:460)
at hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:181)
at hudson.tasks.ArtifactArchiver$ListFiles.invoke(ArtifactArchiver.java:172)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2474)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Need further investigation.
As discussed on the scrum this morning, this might be caused the an ssh man in the middle attack warning, need to try not writing the known_hosts file. The PR: https://github.com/openshift/origin-server/pull/5898 We are still not sure if this fixes the problem. I did verification on my devenv, but I will need Ops to verify this fix in INT (will do that tomorrow). I have tested it after i modified the file " /var/lib/openshift/.cartridge_repository/redhat-jenkins/0.0.16/bin/git_ssh_wrapper.sh" depend on The PR content and restarted online-broker service. it works fine now for scalable and non-scalable app. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/86a838bfda61878067781e92a7a4428987b60cb9 Bug 1153557 - Disable strict known_hosts checking in Jenkins Fulei Li: The PR is now merged Checked on devenv_5262 Jenkins build for both scale and non-scale apps are working fine now. Move bug to verified. |