keystone problem

asked 2014-06-12 06:17:45 -0500

lee yong goon gravatar image

updated 2014-06-13 16:22:27 -0500

smaffulli gravatar image

OS : ubuntu 12.04LTS, OpenStack version : IceHouse

When the neutron command input error : Authentication required

keystone tenant-list input result : (name = admin, demo, service)'s (id) and (enabled true).

keystone user-role-list input result : Unknown Attribute : auth_tenant_id

keystone user-role-list --user admin --tenant admin input result : (name= _member_, admin)'s (id) and (user_id) and (tenant_id).

keystone token-get input result : 'NoneType' object has no attribute 'has_service_catalog'

When the keystone command input error :

 WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).

I hope you'll tell how to solve the following Warning log.

/var/log/keystone/keystone-all.log

WARNING keystone.openstack.common.versionutils [-] Deprecated: keystone.middleware.core.XmlBodyMiddleware is deprecated as of Icehouse in favor of support for "application/json" only and may be removed in K.
WARNING keystone.common.wsgi [-] Authorization failed. Could not find project, services. from 117.17.102.30

/var/log/neutron/server.log

WARNING neutron.openstack.common.db.sqlalchemy.session [-] This application has not enabled MySQL traditional mode, which means silent data corruption may occur. Please encourage the application developers to enable this mode.
WARNING neutron.api.extensions [-] Extension fwaas not supported by any of loaded plugins
WARNING neutron.api.extensions [-] Extension flavor not supported by any of loaded plugins
WARNING neutron.api.extensions [-] Extension lbaas_agent_scheduler not supported by any of loaded plugins
WARNING keystoneclient.middleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'Could not find project, services.', u'code': 401, u'title': u'Unauthorized'}}
WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token
edit retag flag offensive close merge delete

Comments

What credentials are you using to invoke neutron command ( user, tenant )

Haneef Ali gravatar imageHaneef Ali ( 2014-06-13 12:47:08 -0500 )edit

Remember to edit your question and answers to make them usable for people looking for similar problems. Avoid using comments if not to leave brief comments.

smaffulli gravatar imagesmaffulli ( 2014-06-13 16:19:41 -0500 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2014-06-12 10:45:40 -0500

updated 2014-06-13 22:54:15 -0500

Not sure what you are trying to do. Please do the following

  1) Use the admin credential and try some operation with keystone client

keystone  tenant-list  & keystone user-role-list. Make sure that the user that you have used in neutorn has proper role and the tenant that you have used exists. Those 2 commands will give you the required information

2)  With the credential that you used in neutron try keystone token-get    
 That will give you a good idea on what is missing
June -13th
Looks like you don't have tenant by name "services".   is your tenant name 'service" or "services"

Also list the roles for the tenant 'service"  and user "admin" . In your question you are using the tenant 'admin"
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-06-12 06:17:45 -0500

Seen: 4,112 times

Last updated: Jun 13 '14