[Openstack] error whe creating fisrt keystone user

Stephane EVEILLARD stephane.eveillard at gmail.com
Thu Sep 4 15:42:25 UTC 2014


Yes I'm currently trying to create admin user with the CLI and uses the
commands shown in the link
but it didn't work



2014-09-04 17:29 GMT+02:00 Steve Martinelli <stevemar at ca.ibm.com>:

> How are you trying to create the admin user? With the CLI?
>
> There's some info here for initializing keystone:
> http://docs.openstack.org/developer/keystone/configuration.html#adding-users-tenants-and-roles-with-python-keystoneclient
>
>
>
> Regards,
>
> *Steve Martinelli*
> Software Developer - OpenStack
> Keystone Core Member
> ------------------------------
>  *Phone:* 1-905-413-2851
> * E-mail:* *stevemar at ca.ibm.com* <stevemar at ca.ibm.com>
> 8200 Warden Ave
> Markham, ON L6G 1C7
> Canada
>
>
>
> Stephane EVEILLARD <stephane.eveillard at gmail.com> wrote on 09/04/2014
> 11:00:30 AM:
>
> > From: Stephane EVEILLARD <stephane.eveillard at gmail.com>
> > To: Wojciech Rajczak <wojciech.rajczak at hotmail.com>,
> > "openstack at lists.openstack.org" <openstack at lists.openstack.org>,
> > Date: 09/04/2014 11:18 AM
> > Subject: Re: [Openstack] error whe creating fisrt keystone user
> >
> > here is my keystone-dist-paste.ini
> >
> > # Keystone PasteDeploy configuration file.
> >
> > [filter:debug]
> > paste.filter_factory = keystone.common.wsgi:Debug.factory
> >
> > [filter:build_auth_context]
> > paste.filter_factory = keystone.middleware:AuthContextMiddleware.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:xml_body_v2]
> > paste.filter_factory = keystone.middleware:XmlBodyMiddlewareV2.factory
> >
> > [filter:xml_body_v3]
> > paste.filter_factory = keystone.middleware:XmlBodyMiddlewareV3.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:ec2_extension_v3]
> > paste.filter_factory = keystone.contrib.ec2:Ec2ExtensionV3.factory
> >
> > [filter:federation_extension]
> > paste.filter_factory =
> > keystone.contrib.federation.routers:FederationExtension.factory
> >
> > [filter:oauth1_extension]
> > paste.filter_factory =
> keystone.contrib.oauth1.routers:OAuth1Extension.factory
> >
> > [filter:s3_extension]
> > paste.filter_factory = keystone.contrib.s3:S3Extension.factory
> >
> > [filter:endpoint_filter_extension]
> > paste.filter_factory =
> > keystone.contrib.endpoint_filter.routers:EndpointFilterExtension.factory
> >
> > [filter:simple_cert_extension]
> > paste.filter_factory =
> > keystone.contrib.simple_cert:SimpleCertExtension.factory
> >
> > [filter:revoke_extension]
> > paste.filter_factory =
> keystone.contrib.revoke.routers:RevokeExtension.factory
> >
> > [filter:url_normalize]
> > paste.filter_factory = keystone.middleware:NormalizingFilter.factory
> >
> > [filter:sizelimit]
> > paste.filter_factory = keystone.middleware:RequestBodySizeLimiter.factory
> >
> > [filter:stats_monitoring]
> > paste.filter_factory = keystone.contrib.stats:StatsMiddleware.factory
> >
> > [filter:stats_reporting]
> > paste.filter_factory = keystone.contrib.stats:StatsExtension.factory
> >
> > [filter:access_log]
> > paste.filter_factory =
> keystone.contrib.access:AccessLogMiddleware.factory
> >
> > [app:public_service]
> > paste.app_factory = keystone.service:public_app_factory
> >
> > [app:service_v3]
> > paste.app_factory = keystone.service:v3_app_factory
> >
> > [app:admin_service]
> > paste.app_factory = keystone.service:admin_app_factory
> >
> > [pipeline:public_api]
> > pipeline = sizelimit url_normalize build_auth_context token_auth
> > admin_token_auth xml_body_v2 json_body ec2_extension
> > user_crud_extension public_service
> >
> > [pipeline:admin_api]
> > pipeline = sizelimit url_normalize build_auth_context token_auth
> > admin_token_auth xml_body_v2 json_body ec2_extension s3_extension
> > crud_extension admin_service
> >
> > [pipeline:api_v3]
> > pipeline = sizelimit url_normalize build_auth_context token_auth
> > admin_token_auth xml_body_v3 json_body ec2_extension_v3 s3_extension
> > simple_cert_extension service_v3
> >
> > [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 = sizelimit url_normalize xml_body public_version_service
> >
> > [pipeline:admin_version_api]
> > pipeline = sizelimit url_normalize xml_body admin_version_service
> >
> > [composite:main]
> > use = egg:Paste#urlmap
> > /v2.0 = public_api
> > /v3 = api_v3
> > / = public_version_api
> >
> > [composite:admin]
> > use = egg:Paste#urlmap
> > /v2.0 = admin_api
> > /v3 = api_v3
> > / = admin_version_api
> >
> >
>
> > 2014-09-04 16:51 GMT+02:00 Wojciech Rajczak <
> wojciech.rajczak at hotmail.com>:
> >
> > post your paste ini
> >
> > ________________________________
> > > Date: Thu, 4 Sep 2014 16:28:23 +0200
> > > From: stephane.eveillard at gmail.com
> > > To: sushma_korati at persistent.co.in
> > > CC: openstack at lists.openstack.org
> > > Subject: Re: [Openstack] error whe creating fisrt keystone user
> > >
> > > OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT are ok and I'm not able to
> > > create tenant nor role; I got the same message
> > > I didn't export any other variables and restart keystone service twice
> > >
> > >
> > >
> > > 2014-09-04 16:22 GMT+02:00 Sushma Korati
> > > <sushma_korati at persistent.co.in<mailto:sushma_korati at persistent.co.in
> <sushma_korati at persistent.co.in>>>:
> > >
> > > Okay,
> > >
> > >
> > > Were you able to create tenant successfully?
> > >
> > > and what all variables did you export? please check if OS_SERVICE_TOKEN
> > > and OS_SERVICE_ENDPOINT have proper values. And try by restarting the
> > > keystone service once?
> > >
> > >
> > > Regards,
> > > Sushma Korati
> > > sushma_korati at persistent.co.in<mailto:sushma_korati at persistent.co.in
> <sushma_korati at persistent.co.in>>
> > > Persistent Systems Ltd. | Partners in Innovation |
> > > www.persistentsys.com<http://www.persistentsys.com>
> > > P Please consider your environmental responsibility: Before printing
> > > this e-mail or any other document, ask yourself whether you need a hard
> > > copy.
> > >
> > >
> > > ________________________________
> > > From: Stephane EVEILLARD
> > > <stephane.eveillard at gmail.com<mailto:stephane.eveillard at gmail.com
> <stephane.eveillard at gmail.com>>>
> > > Sent: Thursday, September 4, 2014 7:44 PM
> > > To: Sushma Korati
> > > Cc: openstack at lists.openstack.org<mailto:openstack at lists.openstack.org
> <openstack at lists.openstack.org>>
> > > Subject: Re: [Openstack] error whe creating fisrt keystone user
> > >
> > > I've Checked before but get a second look : service is running
> > >
> > >
> > >
> > >
> > > 2014-09-04 16:09 GMT+02:00 Sushma Korati
> > > <sushma_korati at persistent.co.in<mailto:sushma_korati at persistent.co.in
> <sushma_korati at persistent.co.in>>>:
> > >
> > > Hi Stephane,
> > >
> > >
> > > Please check if keystone service is running or not?
> > >
> > > command: service openstack-keystone status
> > >
> > >
> > >
> > > Regards,
> > > Sushma Korati
> > > sushma_korati at persistent.co.in<mailto:sushma_korati at persistent.co.in
> <sushma_korati at persistent.co.in>>
> > > Persistent Systems Ltd. | Partners in Innovation |
> > > www.persistentsys.com<http://www.persistentsys.com>
> > > P Please consider your environmental responsibility: Before printing
> > > this e-mail or any other document, ask yourself whether you need a hard
> > > copy.
> > >
> > >
> > > ________________________________
> > > From: Stephane EVEILLARD
> > > <stephane.eveillard at gmail.com<mailto:stephane.eveillard at gmail.com
> <stephane.eveillard at gmail.com>>>
> > > Sent: Thursday, September 4, 2014 7:17 PM
> > > To: openstack at lists.openstack.org<mailto:openstack at lists.openstack.org
> <openstack at lists.openstack.org>>
> > > Subject: [Openstack] error whe creating fisrt keystone user
> > >
> > > Hi,
> > >
> > > when I try to create admin user in keystone,
> > >
> > >
> > > I got the following message :"The resource could not be found (HTTP
> 404)"
> > >
> > > and the only message I got in keystone.log is the following :
> > >
> > > "2014-09-04 15:41:56.432 2406 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."
> > >
> > > I'm tring to install openstack on CentOS 6.4, got no error messages
> > > till this one
> > >
> > > Thanks in advance
> > >
> > >
> > > --
> > > Stéphane EVEILLARD
> > > Responsable Système et Développement IBS NETWORK
> > > Coordinateur Version Française Openstack
> > > Membre Association Openstack-fr et APRIL
> > >
> > > DISCLAIMER ========== This e-mail may contain privileged and
> > > confidential information which is the property of Persistent Systems
> > > Ltd. It is intended only for the use of the individual or entity to
> > > which it is addressed. If you are not the intended recipient, you are
> > > not authorized to read, retain, copy, print, distribute or use this
> > > message. If you have received this communication in error, please
> > > notify the sender and delete all copies of this message. Persistent
> > > Systems Ltd. does not accept any liability for virus infected mails.
> > >
> > >
> > >
> > > --
> > > Stéphane EVEILLARD
> > > Responsable Système et Développement IBS NETWORK
> > > Coordinateur Version Française Openstack
> > > Membre Association Openstack-fr et APRIL
> > >
> > > DISCLAIMER ========== This e-mail may contain privileged and
> > > confidential information which is the property of Persistent Systems
> > > Ltd. It is intended only for the use of the individual or entity to
> > > which it is addressed. If you are not the intended recipient, you are
> > > not authorized to read, retain, copy, print, distribute or use this
> > > message. If you have received this communication in error, please
> > > notify the sender and delete all copies of this message. Persistent
> > > Systems Ltd. does not accept any liability for virus infected mails.
> > >
> > >
> > >
> > > --
> > > Stéphane EVEILLARD
> > > Responsable Système et Développement IBS NETWORK
> > > Coordinateur Version Française Openstack
> > > Membre Association Openstack-fr et APRIL
> > >
> > > _______________________________________________ Mailing list:
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to
> :
> > > openstack at lists.openstack.org Unsubscribe :
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
> >
>
> >
> > --
> > Stéphane EVEILLARD
> > Responsable Système et Développement IBS NETWORK
> > Coordinateur Version Française Openstack
> > Membre Association Openstack-fr et  APRIL
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to     : openstack at lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>



-- 
Stéphane EVEILLARD
Responsable Système et Développement IBS NETWORK
Coordinateur Version Française Openstack
Membre Association Openstack-fr et  APRIL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140904/4954e0a1/attachment.html>


More information about the Openstack mailing list