unable to git clone from openshift jenkins static slave -


some explanations:

  • cartridge a: nginx, jenkins client
  • cartridge b(static slave jenkins): nginx
  • cartridge c: jenkins

i have setup cartridge open shift static slave in jenkins
process push in git , jenkins starts build process
build process using b it's slave

problem when build process tries clone a's git repo fails:

started user jenkins admin building remotely on nginxbuild (nginx-build) in workspace  /var/lib/openshift/(uuid)/app-root/runtime/repo checkout:repo / /var/lib/openshift/(uuid)/app-root/runtime/repo - hudson.remoting.channel@afdc78:nginxbuild using strategy: default last built revision: revision d50c6e11d2c15015db1ab9665c6dcce758dddd7d (origin/head, origin/master) checkout:repo / /var/lib/openshift/(uuid)/app-    root/runtime/repo - hudson.remoting.localchannel@910502 wiping out workspace first. cloning remote git repository cloning repository origin error: error cloning remote repo 'origin' : not clone ssh://(uuid)@nginx-domain.rhcloud.com/~/git/nginx.git error: cause: error performing command: git clone --progress -o origin ssh://(uuid)@nginx-domain.rhcloud.com/~/git/nginx.git     /var/lib/openshift/(uuid)/app-root/runtime/repo command "git clone --progress -o origin ssh://(uuid)@nginx-domain.rhcloud.com/~/git/nginx.git     /var/lib/openshift/(uuid)/app-root/runtime/repo" returned     status code 128: cloning '/var/lib/openshift/(uuid)/app-    root/runtime/repo'... host key verification failed. fatal: not read remote repository. 

so googling around understood had cartridges don't have each others public keys,
ssh used ssh-keygen , created public key a, , b , put them in manage panel in openshift account control panel
didn't resolve problem..
tried add manualy cartridges but.. don't have permissions access .ssh folder

thought maybe user jenkins admin causing problem
added credentials public keys, didn't help..

is there i'm missing,
it's weird me because when jenkins generates slave has no issues,
shouldn't difficult create static slave openshift..

thanks help


Comments