Rajesh,

It looks like a local system issue, nothing to do with git or gerrit per se.

Your system is tell you it’s not letting you create that file. You should 
investigate that. I believe it’s out of scope for this list I’m afraid.

Chris.

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Rajesh Dawadi via 
lists.fd.io
Sent: Sunday, February 21, 2021 09:19
To: vpp-dev@lists.fd.io; vpp-dev-inter...@cisco.com
Subject: [EXTERNAL] Re: [vpp-dev] Issue with cloning repo on VM

Hi, Has anyone faced similar issues when trying to clone on an Ubuntu VM? All 
the options suggested on google search didnt work, both https and ssh clone 
didnt work even after adding a new ssh public key.
Thanks,
Rajesh

On Sunday, February 14, 2021, 2:54:15 p.m. EST, Rajesh Dawadi 
<dwdraj...@yahoo.com<mailto:dwdraj...@yahoo.com>> wrote:


Hi,
I am trying to setup the VPP repo on a Ubuntu VM running on MAC host and was 
trying to follow the steps mentioned here for "Pulling code via authenticated 
https": 
https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code<https://urldefense.com/v3/__https:/wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code__;!!CQl3mcHX2A!Sox3cifAixLFpdAdVjyjSIqHuRpycBfu6DQO0A3pPBC8aG25I9o8EDeUjzQTHPrzog$>

 However, I face 2 issues with both authenticated and the anonymous cloning 
with git.
1. git clone fails with error " git clone 
https://gerrit.fd.io/r/vpp<https://urldefense.com/v3/__https:/gerrit.fd.io/r/vpp__;!!CQl3mcHX2A!Sox3cifAixLFpdAdVjyjSIqHuRpycBfu6DQO0A3pPBC8aG25I9o8EDeUjzTjdQtOEg$>
Cloning into 'vpp'...
remote: Counting objects: 93, done
fatal: Unable to create temporary file 
'/home/rajesh/vpp_ubuntu/repo/vpp/.git/objects/pack/tmp_pack_XXXXXX': Operation 
not permitted
fatal: index-pack failed" .
I tried to add chmod on the .git directory but it didn't help.

2. With authenticated https, it fails at the authentication step itself, even 
though the same username/password credential works for the Linux Foundation 
account at:
git clone 
https://dwdraj...@gerrit.fd.io/r/a/vpp<https://urldefense.com/v3/__https:/dwdraj...@gerrit.fd.io/r/a/vpp__;!!CQl3mcHX2A!Sox3cifAixLFpdAdVjyjSIqHuRpycBfu6DQO0A3pPBC8aG25I9o8EDeUjzSa51Jdog$>
Cloning into 'vpp'...
Password for 'https://dwdraj...@gerrit.fd.io': 
<https://urldefense.com/v3/__https:/dwdraj...@gerrit.fd.io':__;!!CQl3mcHX2A!Sox3cifAixLFpdAdVjyjSIqHuRpycBfu6DQO0A3pPBC8aG25I9o8EDeUjzS491XQMA$>
remote: Unauthorized
fatal: Authentication failed for 
'https://gerrit.fd.io/r/a/vpp/<https://urldefense.com/v3/__https:/gerrit.fd.io/r/a/vpp/__;!!CQl3mcHX2A!Sox3cifAixLFpdAdVjyjSIqHuRpycBfu6DQO0A3pPBC8aG25I9o8EDeUjzRATInQnQ$>'"

Any one faced similar issue with Ubuntu VM on MAC ?
Thanks a lot ,
Rajesh
"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18777): https://lists.fd.io/g/vpp-dev/message/18777
Mute This Topic: https://lists.fd.io/mt/80803544/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to