Oh! I did it the first time around... now forgot that extra step... Thanks a lot.
On Thu, Mar 3, 2016 at 10:07 AM, Ben Parees <bpar...@redhat.com> wrote: > > > On Thu, Mar 3, 2016 at 10:00 AM, Mohamed Lrhazi < > mohamed.lrh...@georgetown.edu> wrote: > >> Hello, >> >> This new project keeps failing with apparently an ssh error, how do I >> debug further? >> I used the same key for another repo on the same git server, in another >> project, and it worked fine there.... now in new project it won't work! >> >> >> » oc logs build/avesterra-api-2-1 >> oc secrets new-sshauth sshsecret --ssh-privatekey=$HOME/.ssh/id_rsa >> oc secrets add serviceaccount/builder secrets/sshsecret >> oc new-app . >> >> > you need to add the secret to the buildconfig: > > https://docs.openshift.org/latest/dev_guide/builds.html#ssh-key-authentication > > > > >> » oc logs build/avesterra-api-2-1 >> I0303 14:48:47.220808 1 builder.go:57] Master version "v1.1.3", >> Builder versions "v1.1.3" >> I0303 14:48:47.221913 1 builder.go:145] Running build with cgroup >> limits: api.CGroupLimits{MemoryLimitBytes:9223372036854775807, CPUShares:2, >> CPUPeriod:100000, CPUQuota:-1, MemorySwap:9223372036854775807} >> I0303 14:48:47.222075 1 source.go:197] Downloading "ssh:// >> g...@git.uis.georgetown.edu:7999/av/avesterra-api-2.git" ... >> F0303 14:48:47.265817 1 builder.go:204] Error: build error: Host >> key verification failed. >> fatal: Could not read from remote repository. >> >> Please make sure you have the correct access rights >> and the repository exists. >> >> >> _______________________________________________ >> users mailing list >> users@lists.openshift.redhat.com >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> >> > > > -- > Ben Parees | OpenShift > >
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users