Ask Your Question
1

TripleO installation fails

asked 2014-10-27 08:43:49 -0600

yanar gravatar image

updated 2014-10-29 05:57:24 -0600

Hi ,

I use TripleO to deploy 2 baremetal nodes. I followed the instructions as per https://openstack.redhat.com/Deployin... . The baremetal nodes comes up but the heat stack-list shows CREATE_FAILED.

The nova-api.log shows the below message

 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token

The keystone.log contains the below message

2014-10-27 04:46:38.167 6603 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. process_request /usr/lib/python2.7/site-packages/keystone/middleware/core.py:271
2014-10-27 04:46:38.169 6603 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /usr/lib/python2.7/site-packages/keystone/common/wsgi.py:181
2014-10-27 04:46:38.170 6603 ERROR keystone.common.wsgi [-] object of type 'NoneType' has no len()
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi Traceback (most recent call last):
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line 212, in __call__
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi     result = method(context, **params)
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/controllers.py", line 98, in authenticate
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi     context, auth)
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/token/controllers.py", line 260, in _authenticate_local
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi     if len(username) > CONF.max_param_size:
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi TypeError: object of type 'NoneType' has no len()
2014-10-27 04:46:38.170 6603 TRACE keystone.common.wsgi
2014-10-27 04:46:38.173 6603 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [27/Oct/2014 04:46:38] "POST /v2.0/tokens HTTP/1.1" 400 239 0.006413
2014-10-27 04:46:38.300 6603 WARNING keystone.middleware.core [-] RBAC: Invalid token
2014-10-27 04:46:38.300 6603 WARNING keystone.common.wsgi [-] The request you have made requires authentication.
2014-10-27 04:46:38.301 6603 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [27/Oct/2014 04:46:38] "POST /v3/auth/tokens HTTP/1.1" 401 309 0.004014
2014-10-27 04:46:38.387 6603 WARNING keystone.middleware.core [-] RBAC: Invalid token
2014-10-27 04:46:38.387 6603 WARNING keystone.common.wsgi [-] The request you have made requires authentication.
2014-10-27 04:46:38.389 6603 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [27/Oct/2014 04:46:38] "POST /v3/auth/tokens HTTP/1.1" 401 309 0.006582
2014-10-27 04:46:39.922 6603 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. process_request /usr/lib/python2.7/site-packages/keystone/middleware/core.py:271
2014-10-27 04:46:39.926 6603 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /usr/lib/python2.7/site-packages/keystone/common/wsgi.py:181

Can someone help me to understand why this is happening? Why ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-10-28 21:33:03 -0600

yanar gravatar image

I added the heat cfn part as per the documentation. The conf file already had the changes . No success. I encountered the same error . Now i can see some more messages in the keystone.log . I pasted the keystone command out put as well as the log messages related to cannot find credentials.

edit flag offensive delete link more
0

answered 2014-10-27 10:45:07 -0600

mpetason gravatar image

updated 2014-10-28 10:15:03 -0600

Verify that Keystone is working and that you have all of the correct endpoints. keystone endpoint-list

Update 1:

After looking at your information it looks like you do not have heat-cfn. Some of the documentation recommends having heat + heat cfn so that you can use the correct type of images. Please look over this documentation to add the other endpoint:

http://docs.openstack.org/trunk/insta...

edit flag offensive delete link more

Comments

I updated the output of "keystone endpoint-list" at the end of the question since I could not paste the output as a comment. Keystone service status indicates its running successfully.

yanar gravatar imageyanar ( 2014-10-27 23:23:51 -0600 )edit

Awesome, that loos good. You may want to add in keystone service-list so that we can compare the service ID to the service endpoints. There are two types of heat endpoints. Heat and Heat CFN, depending on what image you are using as well as the template, you'll need to probably have both.

mpetason gravatar imagempetason ( 2014-10-28 09:04:02 -0600 )edit

I again updated the output of keystone service-list tothe end of the question. i do not see any heat cfn in the service list . Also, how do i know if i require both heat and heat CFN ? BTW , is there a way to update my lengthy command outputs in this area rather than to the end of the question,

yanar gravatar imageyanar ( 2014-10-28 09:42:29 -0600 )edit

Added to the answer, we'll clean up comments after it is fixed. No you need to add it to the bottom of the question so that all of the information is together. Comments have a max character length.

mpetason gravatar imagempetason ( 2014-10-28 10:15:39 -0600 )edit

I pasted some more logs after enabling debug in keystone . Is this the novaclient that is causing the issue ?

yanar gravatar imageyanar ( 2014-10-29 05:59:49 -0600 )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

Stats

Asked: 2014-10-27 08:43:49 -0600

Seen: 677 times

Last updated: Oct 29 '14