← Back to team overview

openstack team mailing list archive

Re: [Keystone] service unavailable

 

Hi,

Yes, the service is running and listening. I can see it via ps as well as
by using netstat

Here is my keystone.conf

---------------------------------------------------------------------------------------------------------------------------------------------
[DEFAULT]
log_file = /var/log/keystone/keystone.log
admin_token = 012345SECRET99TOKEN012345

[sql]
connection = mysql://keystone:12345678@localhost/keystone

[identity]
driver = keystone.identity.backends.sql.Identity

[catalog]
template_file = /etc/keystone/default_catalog.templates
driver = keystone.catalog.backends.sql.Catalog

[token]
driver = keystone.token.backends.sql.Token

[policy]

[ec2]
driver = keystone.contrib.ec2.backends.sql.Ec2

[ssl]

[signing]

[ldap]

[filter:debug]
paste.filter_factory = keystone.common.wsgi:Debug.factory

[filter:token_auth]
paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory

[filter:admin_token_auth]
paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory

[filter:xml_body]
paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory

[filter:json_body]
paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory

[filter:user_crud_extension]
paste.filter_factory = keystone.contrib.user_crud:CrudExtension.factory

[filter:crud_extension]
paste.filter_factory = keystone.contrib.admin_crud:CrudExtension.factory

[filter:ec2_extension]
paste.filter_factory = keystone.contrib.ec2:Ec2Extension.factory

[filter:s3_extension]
paste.filter_factory = keystone.contrib.s3:S3Extension.factory

[filter:url_normalize]
paste.filter_factory = keystone.middleware:NormalizingFilter.factory

[filter:stats_monitoring]
paste.filter_factory = keystone.contrib.stats:StatsMiddleware.factory

[filter:stats_reporting]
paste.filter_factory = keystone.contrib.stats:StatsExtension.factory

[app:public_service]
paste.app_factory = keystone.service:public_app_factory

[app:admin_service]
paste.app_factory = keystone.service:admin_app_factory

[pipeline:public_api]
pipeline = stats_monitoring url_normalize token_auth admin_token_auth
xml_body json_body debug ec2_extension user_crud_extension public_service

[pipeline:admin_api]
pipeline = stats_monitoring url_normalize token_auth admin_token_auth
xml_body json_body debug stats_reporting ec2_extension s3_extension
crud_extension admin_service

[app:public_version_service]
paste.app_factory = keystone.service:public_version_app_factory

[app:admin_version_service]
paste.app_factory = keystone.service:admin_version_app_factory

[pipeline:public_version_api]
pipeline = stats_monitoring url_normalize xml_body public_version_service

[pipeline:admin_version_api]
pipeline = stats_monitoring url_normalize xml_body admin_version_service

[composite:main]
use = egg:Paste#urlmap
/v2.0 = public_api
/ = public_version_api

[composite:admin]
use = egg:Paste#urlmap
/v2.0 = admin_api
/ = admin_version_api
---------------------------------------------------------------------------------------------------------------------------------------------


2013/2/27 Sylvain Bauza <sylvain.bauza@xxxxxxxxxxxx>

>  Could you please paste your keystone.conf ?
> Also, could you please check keystone service is started ?
>
> -Sylvain
>
> Le 27/02/2013 15:06, Tomáš Šoltys a écrit :
>
>  Hi,
>
>  I am trying to setup keystone myself on CentOS using this step-by-step
> instructions:
>
> http://docs.openstack.org/essex/openstack-compute/install/yum/content/install-keystone.html
>
> I have followed the steps above but when I try to create a tenant I get
> "Unable to communicate with identity service: (503, 'Service Unavailable').
> (HTTP 400)"
>
> The command I am using is:
> keystone --os-token 012345SECRET99TOKEN012345 --endpoint
> http://127.0.0.1:35357/v2.0 tenant-create --name openstackDefault
> --description "Default tenant"
>
> The service is running and listening on port 35357.
>
> Am I missing something?
> Thanks,
>
> Tomáš Šoltys
>
> tomas.soltys@xxxxxxxxx
> http://www.range-software.com
> (+420) 776-843-663
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Tomáš Šoltys
tomas.soltys@xxxxxxxxx
http://www.range-software.com
(+420) 776-843-663

Follow ups

References