Codeship

91 views
Skip to first unread message

Davide Panelli

unread,
Jul 16, 2015, 5:15:07 PM7/16/15
to deis-...@googlegroups.com
Hello,
 since 1.7.x I was using Codeship to deploy to deis with a very simple custom script :

git remote add deis xxxx:2222/appname.git
git push deis master

after creating the user and adding the pub key provided by codeship.

After upgrading to 1.8 this stopped working with :

Pushing to ssh://deis-xxx:2222/lm-xxx.git
Warning: Permanently added '[xxxx:2222' (ECDSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights


I tried to reload the pub keys , but nothing seems to work. I have debugged the codeship build and the rsa_id is used correctly.

Any idea?
Is possibile that deis is ignoring the multiple keys added to the same user? or after the first push with a key I must continue using the same?


Chris Armstrong

unread,
Jul 20, 2015, 2:55:04 AM7/20/15
to Davide Panelli, deis-...@googlegroups.com
Glad to hear it was resolved!

Adding the CC back to the list since I forgot previously :(

On Sun, Jul 19, 2015 at 9:46 AM, Davide Panelli <dpan...@byte-code.com> wrote:
Ok, it was a stupid mistake. 

Just missed the 'git@' in front of the repo url... :(





On 17 July 2015 at 22:32, Davide Panelli <dpan...@byte-code.com> wrote:
Looks ok:

/deis/builder/users/lmsite
/deis/builder/users/lmsite/a3:ab:ca:a3:77:69:93:81:5d:e4:52:37:df:91:38:e9
/deis/builder/users/lmsite/27:40:b7:61:64:ef:a1:d7:e2:11:1f:a0:11:ec:3c:12

I have configured the users with 2 keys :
one from my laptop: works ok 
one of codeship  : permission denied :(



On 17 July 2015 at 19:30, Chris Armstrong <carms...@engineyard.com> wrote:
Can you try etcdctl ls --recursive /deis/builder on one of the CoreOS hosts? That should enumerate all the keys in Deis. Does it appear there?

On Fri, Jul 17, 2015 at 12:17 AM, Davide Panelli <dpan...@byte-code.com> wrote:
Exactly. 
Codeship provides a rsa pub key that I've uploaded to deis with key:add , but now for some reason with 1.8 It doesn't work anymore.
I tried also to remove/add again but nothing changed.


On 17 July 2015 at 01:13, Chris Armstrong <carms...@engineyard.com> wrote:
Just to confirm - the SSH key you're using here on Codeship matches the key that was uploaded to that Deis user account?

--
You received this message because you are subscribed to the Google Groups "Deis user list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deis-users+...@googlegroups.com.
To post to this group, send email to deis-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/deis-users/991e5d8a-bb43-41ef-aa30-78ab2d9ddd6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Chris Armstrong | Deis Team Lead | Engine Yard t: @carmstrong_afk | gh: carmstrong




--

Davide Panelli

Solutions Architect

Byte-Code srl

mobile: +39 347 87 505 88

office: +39 02 9840047

www.byte-code.com




--
Chris Armstrong | Deis Team Lead | Engine Yard t: @carmstrong_afk | gh: carmstrong




--

Davide Panelli

Solutions Architect

Byte-Code srl

mobile: +39 347 87 505 88

office: +39 02 9840047

www.byte-code.com




--

Davide Panelli

Solutions Architect

Byte-Code srl

mobile: +39 347 87 505 88

office: +39 02 9840047

www.byte-code.com




--
Chris Armstrong | Deis Team Lead | Engine Yard t: @carmstrong_afk | gh: carmstrong

Reply all
Reply to author
Forward
0 new messages