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: [email protected] |
8200 Warden Ave Markham, ON L6G 1C7 Canada |
Stephane EVEILLARD <[email protected]> wrote on 09/04/2014 11:00:30 AM:
> From: Stephane EVEILLARD <[email protected]>
> To: Wojciech Rajczak <[email protected]>,
> "[email protected]" <[email protected]>,
> 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 <[email protected]>:
>
> post your paste ini
>
> ________________________________
> > Date: Thu, 4 Sep 2014 16:28:23 +0200
> > From: [email protected]
> > To: [email protected]
> > CC: [email protected]
> > 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
> > <[email protected]<mailto:[email protected]>>:
> >
> > 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
> > [email protected]<mailto:[email protected]>
> > 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
> > <[email protected]<mailto:[email protected]>>
> > Sent: Thursday, September 4, 2014 7:44 PM
> > To: Sushma Korati
> > Cc: [email protected]<mailto:[email protected]>
> > 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
> > <[email protected]<mailto:[email protected]>>:
> >
> > Hi Stephane,
> >
> >
> > Please check if keystone service is running or not?
> >
> > command: service openstack-keystone status
> >
> >
> >
> > Regards,
> > Sushma Korati
> > [email protected]<mailto:[email protected]>
> > 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
> > <[email protected]<mailto:[email protected]>>
> > Sent: Thursday, September 4, 2014 7:17 PM
> > To: [email protected]<mailto:[email protected]>
> > 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 :
> > [email protected] 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 : [email protected]
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
