Hi, Sofia,
Your gerrit URL looks wrong – the <gerritname> should be your Linux Foundation 
ID (which is also the gerrit account username).

-gerrit    ssh://<gerritname>@review.opnfv.org:29418/opnfv/container4nfv.git 
(fetch)
+gerrit    ssh://yourl...@review.opnfv.org:29418/opnfv/container4nfv.git (fetch)

Also, you should have set up a few things before being able to push to gerrit:

-          Linux Foundation ID according to [1];

-          SSH keypair on your gerrit account [2];

-          accept the license agreement in gerrit web dashboard (once you do 
that, you should have „CLA Accepted – Individual” in [3]);

-          be on the list of contributors for the project you want to push to 
(once you have that, [3] should list something like 
„ldap/opnfv-gerrit-container4nfv…”) – maybe Trevor/Aric can help you with this?

BR,
Alex

[1] https://wiki.opnfv.org/display/DEV/Developer+Getting+Started
[2] https://gerrit.opnfv.org/gerrit/#/settings/ssh-keys
[3] https://gerrit.opnfv.org/gerrit/#/settings/group-memberships


From: opnfv-tech-discuss-boun...@lists.opnfv.org 
[mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] On Behalf Of Sofia Enriquez
Sent: Tuesday, November 21, 2017 9:16 PM
To: opnfv-tech-discuss@lists.opnfv.org
Subject: [opnfv-tech-discuss] [Gerrit] Can not connect to Gerrit

Hey!
My name is Sofia and I'm trying to send my first patch to Gerrit without 
success. I'm having the next problem:

❯ cat .gitreview
[gerrit]
host=gerrit.opnfv.org<https://url10.mailanyone.net/v1/?m=1eHE1a-00038i-5R&i=57e1b682&c=ZF7onqp00-j7XmKXDQuOCXccs9raUiKkt99sw_Ekgf2IMsB6f4QW-XYOtytlRhOsJQorqpR4eyteXcgqKPGmUu-dLXuVNbwWQOSotoyxRN6-PSgRTrmndrzLtJNP0KrGPK6CWmONTId2TV5HZK2P9EkMsI4NdSOTjzdHpYWSmqnAn8d9lwRAQXZznLxSeIRXdW0JtH7Hetf1S9zleDBSm03q8xuI_vvYx00W4Dhtk_I>
port=29418
project=container4nfv.git
❯ git remote -v
gerrit    
ssh://<gerritname>@review.opnfv.org:29418/opnfv/container4nfv.git<https://url10.mailanyone.net/v1/?m=1eHE1a-00038i-5R&i=57e1b682&c=RQvWol6rcZCSru98Fh_77jBqm3ypEcBZR7ccSvkBxmxmDKDhEHtrIysE4DksgM3GP47b6hTO5cbmcssOc9hUJUSfhyyPiYVgVTfHyrzYtmd235umnUtHMGy59VoOd4Yr6C9iWW8g6wg4xHD7icYjH22KjAdO1tJyxvjNfQEibCj2w2v5j1O42bG3nCZWIp1cjg4hDITv5bjQdOZSJRcDi2H0IKisRcGmmhjkWADqsdNrFrWqE8Esms1dF6aTQbKDWIZ1scJ4MkAsiss89Zb8qg>
 (fetch)
gerrit    
ssh://<gerritname>@review.opnfv.org:29418/opnfv/container4nfv.git<https://url10.mailanyone.net/v1/?m=1eHE1a-00038i-5R&i=57e1b682&c=RQvWol6rcZCSru98Fh_77jBqm3ypEcBZR7ccSvkBxmxmDKDhEHtrIysE4DksgM3GP47b6hTO5cbmcssOc9hUJUSfhyyPiYVgVTfHyrzYtmd235umnUtHMGy59VoOd4Yr6C9iWW8g6wg4xHD7icYjH22KjAdO1tJyxvjNfQEibCj2w2v5j1O42bG3nCZWIp1cjg4hDITv5bjQdOZSJRcDi2H0IKisRcGmmhjkWADqsdNrFrWqE8Esms1dF6aTQbKDWIZ1scJ4MkAsiss89Zb8qg>
 (push)
origin    
https://github.com/opnfv/container4nfv.git<https://url10.mailanyone.net/v1/?m=1eHE1a-00038i-5R&i=57e1b682&c=LYRtWWZMJrRSeOP0EOZ7EoFJ4P4L76W0NCAqUf2yNhDa9Qu7r0EDXnmqrtTQkYyWi0b2pjXYZbWPMYhj6NCL5vqpoHLYylZbTLqZARyC-FpIqs1inU25IgWFIdBqsDn_400ufkJP_u80S8K_WXnQamJ6wc480RBYliT83guDyEkRhJj04kj7LnalpyjK4Yfa_ff5-gVfKjstFDLsJ9tPrUJ3nHvrLjiYhhZTdIIkEE8WNipnQOQzYZaLp8iz1-4U>
 (fetch)
origin    
https://github.com/opnfv/container4nfv.git<https://url10.mailanyone.net/v1/?m=1eHE1a-00038i-5R&i=57e1b682&c=LYRtWWZMJrRSeOP0EOZ7EoFJ4P4L76W0NCAqUf2yNhDa9Qu7r0EDXnmqrtTQkYyWi0b2pjXYZbWPMYhj6NCL5vqpoHLYylZbTLqZARyC-FpIqs1inU25IgWFIdBqsDn_400ufkJP_u80S8K_WXnQamJ6wc480RBYliT83guDyEkRhJj04kj7LnalpyjK4Yfa_ff5-gVfKjstFDLsJ9tPrUJ3nHvrLjiYhhZTdIIkEE8WNipnQOQzYZaLp8iz1-4U>
 (push)
❯ git review
Username for 
'https://github.com<https://url10.mailanyone.net/v1/?m=1eHE1a-00038i-5R&i=57e1b682&c=ZjZRwFBZfFdyr1Ic9AB827R5AsxQpSX1uMchHYS55ECEFPXYkUKi838F_wFvZLgYanriHCm-Kx8f4l6yCpP-ujY1Pu2pc1liLhpVWYiULiaRlqIiqIUJdZQAAVg5Iilf5GWDFOCIqVKFFwYkDNJbfNGPf8Tm66nz_LD9_u5Y5ASHEf2b50R9GdBTxHAf-lvAs6PD7prBkePWs1qdoEwXwA>':
 <gerritname>
Password for 
'https://enriquet...@github.com<https://url10.mailanyone.net/v1/?m=1eHE1a-00038i-5R&i=57e1b682&c=fYvcmS5QOe0afm8fX3thNijZ8cpkbXnBxqbJGSAQWN8xSV71cqeybq7sg1MdHKCZQlq8ON_CbCp8pDwa_6SPhrKBrQMYWa1x94WrBy1PGEt0IsuvK9f9JRTDL2LOUIK_4BkKzBrWF5tcK1FV5i9H5C76dxPDQCycp3N5OiQ66iovCoiHhPk06jguqdb8qiYuZuZHO6XY59S_au5FI-Yauo2S6Wr69XwddkcrvaBLRkM>':
remote: Permission to opnfv/container4nfv.git denied to <gerritname>.
fatal: unable to access 
'https://github.com/opnfv/container4nfv.git/<https://url10.mailanyone.net/v1/?m=1eHE1a-00038i-5R&i=57e1b682&c=8bEi98rIBbHDEMY16zasHUwrnIo0gfzsoQKq3kB_cmy3Neyfn3JH2X2cV5SKKWyqFiQfhLNM5FK4Za3EUKXkLzzutv4q8o0uVA8J-D6s-wWM8RtPXefOlP9swrU3Bz5TCAUFHvkHArl9F70ZxAj-TqHSY9TdMk5TzixhikMzAR7DjjwwN2dfYeWuRLzjIuTZ9I6J9sEW0b7sEv5x31RKG1Zdib5ihBX8_7iuNLJ6HaK8QKRtvmKO-siRA7-okl-c>':
 The requested URL returned error: 403

What should I do? I'm not sure why `git review` command ask me for the GitHub 
pass instead of Gerrit's.
Thanks!
Sofia
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to