# Revision history [back]

### heat-keystone-setup-domain returns authentication error

Setting up Kilo, following install guide as closely as possible. Now in Heat I get the below error setting up the domain.

I am a bit confused by the proved dist.conf file. It has got some confusing directives. I do not trust is completely. (eg. in the DEFAULT stanza it has got: sql_connection = mysql://heat:heat@localhost/heat).

Does anybody have a clue what is wrong here? Kris

[root@oscon01 heat]# heat-keystone-setup-domain --stack-user-domain-name heat_user_domain --stack-domain-admin heat_domain_admin --stack-domain-admin-password hello12 Traceback (most recent call last): File "/usr/bin/heat-keystone-setup-domain", line 156, in <module> main() File "/usr/bin/heat-keystone-setup-domain", line 107, in main c.authenticate() File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner return func(*args, kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 503, in authenticate resp = self.get_raw_token_from_identity_service(kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/v3/client.py", line 287, in get_raw_token_from_identity_service _('Authorization failed: %s') % e) keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure You have new mail in /var/spool/mail/root [root@oscon01 heat]#

### heat-keystone-setup-domain returns authentication error

Setting up Kilo, following install guide as closely as possible. Now in Heat I get the below error setting up the domain.

I am a bit confused by the proved dist.conf file. It has got some confusing directives. I do not trust is it completely. (eg. in the DEFAULT stanza it has got: sql_connection = mysql://heat:heat@localhost/heat).

Does anybody have a clue what is wrong here? Kris

[root@oscon01 heat]# heat-keystone-setup-domain --stack-user-domain-name heat_user_domain --stack-domain-admin heat_domain_admin --stack-domain-admin-password hello12 Traceback (most recent call last): File "/usr/bin/heat-keystone-setup-domain", line 156, in <module> main() File "/usr/bin/heat-keystone-setup-domain", line 107, in main c.authenticate() File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner return func(*args, kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 503, in authenticate resp = self.get_raw_token_from_identity_service(kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/v3/client.py", line 287, in get_raw_token_from_identity_service _('Authorization failed: %s') % e) keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure You have new mail in /var/spool/mail/root [root@oscon01 heat]#

### heat-keystone-setup-domain returns authentication error

Setting up Kilo, following install guide as closely as possible. Now in Heat I get the below error setting up the domain.

I am a bit confused by the proved provided dist.conf file. It has got some confusing directives. I do not trust it completely. (eg. in the DEFAULT stanza it has got: sql_connection = mysql://heat:heat@localhost/heat).

Does anybody have a clue what is wrong here? Kris

[root@oscon01 heat]# heat-keystone-setup-domain --stack-user-domain-name heat_user_domain --stack-domain-admin heat_domain_admin --stack-domain-admin-password hello12 Traceback (most recent call last): File "/usr/bin/heat-keystone-setup-domain", line 156, in <module> main() File "/usr/bin/heat-keystone-setup-domain", line 107, in main c.authenticate() File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner return func(*args, kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 503, in authenticate resp = self.get_raw_token_from_identity_service(kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/v3/client.py", line 287, in get_raw_token_from_identity_service _('Authorization failed: %s') % e) keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure You have new mail in /var/spool/mail/root [root@oscon01 heat]#

### heat-keystone-setup-domain returns authentication error

Setting up Kilo, following install guide as closely as possible. Now in Heat I get the below error setting up the domain.

I am a bit confused by the provided dist.conf file. It has got some confusing directives. I do not trust it completely. (eg. in the DEFAULT stanza it has got: sql_connection = mysql://heat:heat@localhost/heat).

Does anybody have a clue what is wrong here? Kris

Traceback (most recent call last): last):

File "/usr/bin/heat-keystone-setup-domain", line 156, in <module> main() File "/usr/bin/heat-keystone-setup-domain", line 107, in main c.authenticate() File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner return func(*args, kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 503, in authenticate resp = self.get_raw_token_from_identity_service(kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/v3/client.py", line 287, in get_raw_token_from_identity_service _('Authorization failed: %s') % e) keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure You have new mail in /var/spool/mail/root keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure

[root@oscon01 heat]#

### heat-keystone-setup-domain returns authentication error

Setting up Kilo, following install guide as closely as possible. Now in Heat I get the below error setting up the domain.

I am a bit confused by the provided dist.conf /usr/share/heat-dist.conf file. The CentOS instruction tells me to use this file.

It has got some confusing directives. I do not trust it completely. (eg. in the DEFAULT stanza it has got: sql_connection = mysql://heat:heat@localhost/heat).

Does anybody have a clue what is wrong here? Kris

Traceback (most recent call last):

File "/usr/bin/heat-keystone-setup-domain", line 156, in <module> main() File "/usr/bin/heat-keystone-setup-domain", line 107, in main c.authenticate() File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner return func(*args, kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 503, in authenticate resp = self.get_raw_token_from_identity_service(kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/v3/client.py", line 287, in get_raw_token_from_identity_service _('Authorization failed: %s') % e) keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure

[root@oscon01 heat]#

### heat-keystone-setup-domain returns authentication errorerror (CentOS7)

Setting up Kilo, following install guide as closely as possible. Now in Heat I get the below error setting up the domain.

I am a bit confused by the provided /usr/share/heat-dist.conf file. The CentOS instruction tells me to use this file.file. And I copied it over the original /etc/heat/heat.conf.

It has got some confusing directives. I do not trust it completely. (eg. in the DEFAULT stanza it has got: sql_connection = mysql://heat:heat@localhost/heat). Different than the other modules.

Does anybody have a clue what is wrong here? Kris

Traceback (most recent call last):

File "/usr/bin/heat-keystone-setup-domain", line 156, in <module> main() File "/usr/bin/heat-keystone-setup-domain", line 107, in main c.authenticate() File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner return func(*args, kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 503, in authenticate resp = self.get_raw_token_from_identity_service(kwargs) File "/usr/lib/python2.7/site-packages/keystoneclient/v3/client.py", line 287, in get_raw_token_from_identity_service _('Authorization failed: %s') % e) keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure

[root@oscon01 heat]#

 7 No.7 Revision uts9 673 ●6 ●16 ●27 http://uttamhoode.blog...

### heat-keystone-setup-domain returns authentication error (CentOS7)

Setting up Kilo, following install guide as closely as possible. Now in Heat I get the below error setting up the domain.

I am a bit confused by the provided /usr/share/heat-dist.conf file. The CentOS instruction tells me to use this file. And I copied it over the original /etc/heat/heat.conf.

It has got some confusing directives. I do not trust it completely. (eg. in the DEFAULT stanza it has got: sql_connection = mysql://heat:heat@localhost/heat). Different than the other modules.

Does anybody have a clue what is wrong here? Kris

[root@oscon01 heat]# heat-keystone-setup-domain --stack-user-domain-name heat_user_domain --stack-domain-admin heat_domain_admin --stack-domain-admin-password hello12                      hello12


Traceback (most recent call last):

 File "/usr/bin/heat-keystone-setup-domain", line 156, in <module>
main()
File "/usr/bin/heat-keystone-setup-domain", line 107, in main
c.authenticate()
File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner
return func(*args, kwargs)
**kwargs)
File "/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 503, in authenticate
resp = self.get_raw_token_from_identity_service(kwargs)
self.get_raw_token_from_identity_service(**kwargs)
File "/usr/lib/python2.7/site-packages/keystoneclient/v3/client.py", line 287, in get_raw_token_from_identity_service
_('Authorization failed: %s') % e)
keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure

[root@oscon01 heat]#heat]#


### heat-keystone-setup-domain returns authentication error (CentOS7)

Setting up Kilo, following install guide as closely as possible. Now in Heat I get the below error setting up the domain.

I am a bit confused by the provided /usr/share/heat-dist.conf file. The CentOS instruction tells me to use this file. And I copied it over the original /etc/heat/heat.conf. (instructions for other distributions do not have the directive to copy over /etc/heat/heat.conf, doe anybody have the original /etc/heat/heat.conf for CentOS?)...

It has got some confusing directives. I do not trust it completely. (eg. in the DEFAULT stanza it has got: sql_connection = mysql://heat:heat@localhost/heat). Different than the other modules.

Does anybody have a clue what is wrong here? Kris

[root@oscon01 heat]# heat-keystone-setup-domain --stack-user-domain-name heat_user_domain --stack-domain-admin heat_domain_admin --stack-domain-admin-password hello12


Traceback (most recent call last):

  File "/usr/bin/heat-keystone-setup-domain", line 156, in <module>
main()
File "/usr/bin/heat-keystone-setup-domain", line 107, in main
c.authenticate()
File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 503, in authenticate
resp = self.get_raw_token_from_identity_service(**kwargs)
File "/usr/lib/python2.7/site-packages/keystoneclient/v3/client.py", line 287, in get_raw_token_from_identity_service
_('Authorization failed: %s') % e)
keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure

[root@oscon01 heat]#