Ask Your Question
0

Question: Unable to clone devstack into VM

asked 2015-01-12 09:01:01 -0500

Ashish31 gravatar image

updated 2015-01-13 15:27:51 -0500

rbowen gravatar image

Hi,

Before I start I have searched this issue thoroughly on public domain as we all as ask.openstackorg. Somehow I am unable to find an answer to the problem I am facing. Here is my complete setup details

  1. I have a windows machine which is behind proxy.
  2. I have setup a ubuntu OS over the top of it using virtual box.
  3. I have configured the HTTP and HTTPS proxy in ~/.gitconfig along with proxy username and proxy password
  4. Now when I run the command "git clone https://git.openstack.org/openstack-d... to clone devstack into my VM

I get the following error :

Cloning into 'devstack'...
fatal: unable to access 'https://git.openstack.org/openstack-dev/devstack/': Received HTTP code 407 from proxy after CONNECT

PS: I have a similar setup on my windows machine and I am able to clone devstack using git.

Please advice.

Regards Ashish

edit retag flag offensive close merge delete

Comments

I tried setting GIT_CURL_VERBOSE=1 and here is what I see < HTTP/1.1 407 Proxy Authentication Required < Proxy-Authenticate: NEGOTIATE * gss_init_sec_context() failed: : No Kerberos credentials available < Proxy-Authenticate: NTLM < Proxy-Authenticate: BASIC realm="Access to this server requires AD

Ashish31 gravatar imageAshish31 ( 2015-01-13 00:34:07 -0500 )edit

when I set the GIT_CURL_VERBOSE=1 in my windows machine it just works fine and is able to successfully do a kerberos authentication. But in case of a VM it just does not work.

Ashish31 gravatar imageAshish31 ( 2015-01-13 00:35:12 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-13 15:32:42 -0500

jeffrey-olsen gravatar image

updated 2015-01-13 15:33:54 -0500

Try

git config --global http.proxy http://<username>:<userpsw>@localhost:<port>
edit flag offensive delete link more

Comments

Hi Jeff, Thanks for your response. However this does not help. In turn what I have done is downloaded the devstack.zip and uploaded into the my VM and than used the stack.sh script. It was smooth till I hit another issue where firewall at my organisation does not allow access to port used by git://

Ashish31 gravatar imageAshish31 ( 2015-01-16 05:48:30 -0500 )edit

continuing from the previous comment... I think the port is 9418. So I am stuck again. So as to workaround I change the protocol from git:// to https:// and here I am again hitting the same issue previously reported. So in all I am unable to make any progress further.

Ashish31 gravatar imageAshish31 ( 2015-01-16 05:49:57 -0500 )edit

Just wanted to know if it possible to download everything required to build devstack as zip and than clone it in local git repository and than run my stack.sh script from there?

Ashish31 gravatar imageAshish31 ( 2015-01-16 05:50:57 -0500 )edit

If you haven't done already, you should be able to download devstack in a zip file from github. GitHub.com/OpenStack-dev/devstack

jeffrey-olsen gravatar imagejeffrey-olsen ( 2015-01-27 17:59:46 -0500 )edit

Hi Ashish, Were you able to fix this ? I am facing similar issue with my VM now.

G-user gravatar imageG-user ( 2016-03-23 03:15:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-01-12 09:01:01 -0500

Seen: 1,625 times

Last updated: Jan 13 '15