Re: [openstack-dev] [keystone]how to get service_catalog

2015-09-07 Thread Jamie Lennox
- Original Message - > From: "王华" <wanghua.hum...@gmail.com> > To: "OpenStack Development Mailing List (not for usage questions)" > <openstack-dev@lists.openstack.org> > Sent: Tuesday, 8 September, 2015 11:36:15 AM > Subject: Re: [openstack-

Re: [openstack-dev] [keystone]how to get service_catalog

2015-09-07 Thread 王华
Hi Jamie, I find that when I use an existing token to fetch a new token with the same rights (the expiry etc will be the same) , but keystone doesn't return service_catalog in the response. I wonder why it is different from authentication with password. Regards, Wanghua On Tue, Sep 8, 2015 at

Re: [openstack-dev] [keystone]how to get service_catalog

2015-09-07 Thread 王华
Hi Jamie, We want to reuse the user token in magnum. But there is no convenient way to reuse it. It is better that we can use ENV['keystone.token_auth'] to init keystoneclient directly. Now we need to construct a auth_ref which is a parameter in keystoneclient init function according to

Re: [openstack-dev] [keystone]how to get service_catalog

2015-09-06 Thread Jamie Lennox
- Original Message - > From: "王华" > To: "OpenStack Development Mailing List (not for usage questions)" > > Sent: Monday, 7 September, 2015 12:00:43 PM > Subject: [openstack-dev] [keystone]how to get service_catalog > > Hi