heat stack-list returns ERROR: 401 Unauthorized

asked 2014-06-19 06:14:39 -0500

Vinoth gravatar image

updated 2014-08-19 12:51:37 -0500

briancline gravatar image

I have two openstack setup one with icehouse which has no heat installed and latter with havana which has heat service running. I try to use my heat service as standalone service. So that I can deploy instance in my icehouse setup using heat template by using my existing heat service in havana.

I followed the instruction in https://wiki.openstack.org/wiki/Heat/...

Now I am getting the 401 ERROR while try executing the "heat stack-list" command.

ERROR I received:

**root@icehouse:/etc/heat# heat list
ERROR: 401 Unauthorized
This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.
 Header X-Auth-Url "" not an allowed endpoint**

Following is the environment i used:

**export HEAT_URL=
export OS_USERNAME=admin
export OS_TENANT_NAME=admin
export OS_AUTH_URL=**

Kindly help me to solve the issue. Thanks in advance.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2014-06-19 16:23:35 -0500

smaffulli gravatar image

updated 2014-06-23 11:25:51 -0500

Those you followed are not necessarily instructions or real documentation; they are simply a blueprint, that is the generic description of a feature whose implementation may have not been started or completed.

In this case, the blueprint is marked as completed and its child blueprint is also marked as completed, for Havana. There is only a simple page as documentation for the Heast standalone feature, which is a bug.

I would make sure that your keystone URL is correct and you can get an auth token from it first. I'd also check the various logs in both of your clouds to see where things exactly fail (don't rely only on the error message by the client).

edit flag offensive delete link more


Thanks for your response, Look at the following link : http://docs.openstack.org/developer/h... which shows to get Heat to work with a remote OpenStack. Is it works ?

Vinoth gravatar imageVinoth ( 2014-06-20 00:40:34 -0500 )edit

Looks like your search capabilities are better than mine :) That's the documentation there is, yes. I've edited my answer to link that page from here.

smaffulli gravatar imagesmaffulli ( 2014-06-23 11:26:49 -0500 )edit

answered 2014-06-20 06:17:33 -0500

updated 2014-06-23 13:13:22 -0500

You need to set up the environment variables Run command source openrc admin admin or if a demo user then source openrc demo demo, It will set up the environment vars then you can run openstack related commands.

edit flag offensive delete link more

answered 2014-06-19 15:29:49 -0500

zaneb gravatar image

Do you have stacks already created in the Havana cloud? That would explain it - Heat can target only one cloud at a time.

edit flag offensive delete link more

answered 2014-06-20 01:54:27 -0500

Vinoth gravatar image

Look at the following link : http://docs.openstack.org/developer/h.. . which shows how to get Heat to work with a remote OpenStack. Is it works ?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-06-19 06:14:39 -0500

Seen: 1,780 times

Last updated: Jun 23 '14