Ask Your Question
1

install devstack on centos behind a proxy

asked 2013-06-12 03:48:36 -0500

ciaodarwin gravatar image

updated 2013-06-12 06:44:21 -0500

Hi everybody

soo... i want to install openstack on my centos 6.3 Server. My server is behind a proxy... where can i set the proxy variables for devstack?

thanks

edit retag flag offensive close merge delete

Comments

nobody an idea?

ciaodarwin gravatar imageciaodarwin ( 2013-06-12 07:28:22 -0500 )edit

6 answers

Sort by ยป oldest newest most voted
-1

answered 2013-07-26 17:22:36 -0500

smaffulli gravatar image

I believe this is not directly an OpenStack question. You should read the documentation for the distribution you're using as there may be different ways depending on the terminal you use. Remember that devstack is just a bash script, so whatever you use for wget or curl in your terminal should work.

edit flag offensive delete link more
1

answered 2013-07-29 18:35:20 -0500

MoizArif gravatar image

you can do that in a number of ways. Follow (http://mumblestiltskin.blogspot.com/2009/07/install-linux-centos-for-windows-sys_20.html) for easy steps.

edit flag offensive delete link more
0

answered 2016-06-17 08:12:02 -0500

mperezmartin gravatar image

Remember DevStack is picky, it tries to connect to endpoints on the IP addresses even though it is the same local machine. For that to work you should also specify a no_proxy env. variable:

$ export no_proxy=127.0.0.1,<server_ip_address>

edit flag offensive delete link more
0

answered 2016-06-22 01:09:50 -0500

I do agree this is not relevant to Openstack, though asking for devstack you have export proxy internally and make devstack stack.sh call as http than git, because devstack is bash and will do git call, if your fails to call git and supports only http, do necessary changes in stack file before do

export http_proxy=http://proxyhost:proxyport (or) export https_proxy=https://proxyhost:proxyport

For http proxy call do as below

git config --global http.proxy http://proxyuser:proxypwd@proxy.serve...

change proxyuser to your proxy user change proxypwd to your proxy password change proxy.server.com to the URL of your proxy server change 8080 to the proxy port configured on your proxy server If you decide at any time to reset this proxy and work without proxy:

Command to use:

git config --global --unset http.proxy

Finally, to check the currently set proxy:

git config --global --get http.proxy

edit flag offensive delete link more
0

answered 2014-06-24 08:40:15 -0500

ferit gravatar image

i agree with smaffulli, defining an environment variable should work.

export http_proxy=http://proxyhost:proxyport

edit flag offensive delete link more
0

answered 2018-06-29 02:13:38 -0500

Code Manure gravatar image

You could always add:

GIT_BASE=http://git.openstack.org/

to the local.conf

and then:

export http_proxy=<proxy address>
export https_proxy=<proxy address>

before you start the stack.sh install.

edit flag offensive delete link more

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

Stats

Asked: 2013-06-12 03:48:36 -0500

Seen: 2,112 times

Last updated: Jun 29 '18