v2.0 in authentication or not?

asked 2014-09-14 10:31:19 -0500

wangrich gravatar image

Hello! I'm following http://docs.openstack.org/icehouse/install-guide/install/apt/content/neutron-ml2-compute-node.html (http://docs.openstack.org/icehouse/in...) to set up OpenStack on some QEMU instances.

I'm confused by the auth_url format: some like 'http://controller:xxxx/v2.0' and some just like 'http://controller:xxx' and without v2.0. I found in Havana the 'v2.0' may be a bug in authenticating process. So I want to know what should I do?

I followed the intructions on that page exactly and I met with 'Unauthorized: Authentication required' error when Neutron tried to create port on my 'demo-net'. So the problem is critical to me.

Great thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-14 22:27:19 -0500

larsks gravatar image

In my functioning Icehouse environment, auth_uri (NB: not auth_url) in /etc/neutron/neutron.conf does not contain the version as part of the URL. That is, I have:

auth_uri=http://127.0.0.1:5000/

On the other hand, in that same file, for configuring neutron/nova notifications, I have:

nova_admin_auth_url =http://127.0.0.1:35357/v2.0

I have not experimented with the latter to see if it will do the right thing without the /v2.0 on the end, but with these settings exactly as shown here my environment is working correctly.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-14 10:31:19 -0500

Seen: 92 times

Last updated: Sep 14 '14