Ask Your Question
0

nova image-list:Error ERROR: Unauthorized (HTTP 401)

asked 2013-12-17 05:14:20 -0500

Stiliyan gravatar image

updated 2014-01-22 15:12:49 -0500

Evgeny gravatar image

Hi, I have installed OpenStack Grizzly using packstack and I have this error. glance image-list and keystone server/user/endpoint list work. At first I tried it on single node all-in-one and then I installed it on different servers several times, because of errors and now my keystone endpoint-list returns around 30 entries(below is the link). While ago I edited some of them and now they have a different region name("regionOne" vs "RegionOne"). Also I was reading two guides for installing and they offer different nova.conf and api-paste.ini files. In the packstack version:

https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/3/html/Installation_and_Configuration_Guide/sect-Compute_Service_Configuration_Files.html#Compute_Service_Configuration_Files there is no [filter:authtoken] section, while in docs.openstack it is said to add it:

http://docs.openstack.org/havana/install-guide/install/yum/content/nova-compute.html Also in the nova.conf file in the packstack version the is no my_ip configuration while in docs.openstack has to be added. I checked and the are glance,nova etc. users in keystone. Also do I need nova.conf and api-paste.ini files in the controller node also?

https://drive.google.com/folderview?id=0B1WLVYbn_1yZWFB5ZWoyZEtLeUk&usp=sharing

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-12-17 05:39:32 -0500

Anand TS gravatar image
edit flag offensive delete link more

Comments

From the first link: "Check that you are not specifying the credentials information in both nova.conf and api-paste.conf. Sometimes we keep trying many things. We copy credentials everywhere. Pease keep credentials in api-paste.conf" I had the credentials in both files.Thanks for the response.

Stiliyan gravatar imageStiliyan ( 2014-01-07 04:31:22 -0500 )edit
0

answered 2013-12-18 03:06:25 -0500

Stiliyan gravatar image

Thanks for your response but I couldn't solve it. I cleaned the endpoint mess and now I have different error: ERROR: [Errno 111] Connection refused While from the cinder server I got a different error than before: ERROR: Unauthorized Would you see my nova.conf file and api-paste.ini to tell me if something is wrong. By the way the controller IP in the packstack installation and in the endpoint-list is set to the external IP, not the 10.2.0... from the management network, as the other servers are.Cinder and nova-api are on the controller and only they give me authentication errors.

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

2 followers

Stats

Asked: 2013-12-17 05:14:20 -0500

Seen: 1,503 times

Last updated: Dec 17 '13