Ask Your Question
0

packstack allinone behind a proxy server

asked 2014-03-03 10:13:24 -0500

pheitman gravatar image

updated 2016-01-26 14:24:22 -0500

rbowen gravatar image

I have tried several times to install packstack allinone on a system with a static IP that sits behind a proxy server. It is on a dot 10 network in a lab environment. In order to get to the external network, there is a proxy server defined.

The problem occurs during the packstack install when it reaches the step where it it is verifying puppet.pp. I get the following error:

ERROR : Error appeared during Puppet run: 10.86.144.19_keystone.pp
Error: /Stage[main]/Keystone::Roles::Admin/Keystone_role[_member_]: Could not evaluate: Execution of '/bin/keystone --endpoint http://127.0.0.1:35357/v2.0/ role-list' returned 1: Gateway Timeout (HTTP 504)

My assumption is that this error is because of the proxy setup, but I have excluded 127.0.0.1 from the proxy using the NO_PROXY and no_proxy environment variables (set from the network manager).

Has anyone else seen this problem and figured out a workaround?

edit retag flag offensive close merge delete

Comments

What is your ip address? Did you add that to no_proxy?

Jobin gravatar imageJobin ( 2014-03-03 13:09:08 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-03-03 13:10:48 -0500

Jobin gravatar image

updated 2014-03-22 05:46:58 -0500

I had similar issues using openstack grizzly which I resolved by adding the IP address to no_proxy and/or NO_PROXY variable. You can get the IP address using ifconfig.

I added those to $HOME/.bashrc and then source $HOME/.bashrc or start a new bash instance.

edit flag offensive delete link more

Comments

I was struggling with this for days. This fixes all my endpoint authorization (HTTP 504) errors during the allinone installation (glance/neutron, etc.). Now everything shows up in "openstack-status" (keystone users, glance images, etc.). Thanks!

regexb gravatar imageregexb ( 2014-04-15 15:51:44 -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

1 follower

Stats

Asked: 2014-03-03 10:13:24 -0500

Seen: 3,235 times

Last updated: Jan 26 '16