Ask Your Question

Question: Unable to clone devstack into VM

asked 2015-01-12 09:01:01 -0600

Ashish31 gravatar image

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

rbowen gravatar image


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 to clone devstack into my VM

I get the following error :

Cloning into 'devstack'...
fatal: unable to access '': 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


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 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

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

jeffrey-olsen gravatar image

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


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


Hi Jeff, Thanks for your response. However this does not help. In turn what I have done is downloaded the and uploaded into the my VM and than used the 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 -0600 )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 -0600 )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 script from there?

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

If you haven't done already, you should be able to download devstack in a zip file from github.

jeffrey-olsen gravatar imagejeffrey-olsen ( 2015-01-27 17:59:46 -0600 )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 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-01-12 09:01:01 -0600

Seen: 1,896 times

Last updated: Jan 13 '15