[Openstack] Malformed request URL doesn't match Context's project_id

2016-12-10 Thread Jun Hu
Hi Guys: My openstack version is Mitaka. I want to use curl to call openstack API , but I met a issue. Can you help me ? [root@ospp9-ctrl1 site-packages(keystone_demo)]# source ~/keystonerc_admin [root@ospp9-ctrl1 site-packages(keystone_admin)]# curl -s -X POST $OS_AUTH_URL/tokens -H "Conte

Re: [Openstack] Malformed request URL doesn't match Context's project_id

2016-12-10 Thread John Petrini
It looks like when you request the token you are not providing tenantName so you're not generating a token for authenticating to tenant/project you want to authenticate to. i.e. e5ec75ca491049b2b3d6758269aad07c ___ John Petrini On Sat, Dec 10, 2016 at 7:43 AM, Jun Hu wrote: > Hi Guys: > > My o

Re: [Openstack] Malformed request URL doesn't match Context's project_id

2016-12-10 Thread Jun Hu
Hi John , you're right, thank you. -- Margin Hu Love Open Source Software. Mobile: (86) 186-8035-6499 email : jhu_...@outlook.com github: http://github.com/todaygood --

[Openstack] [OpenStack] [Keystone] Performance difference between ferret and uuid tokens

2016-12-10 Thread Alexandr Porunov
Hello, I read a blog about performance comparison between fernet and uuid tokens. They said that fernet tokens is 30% faster for creation but 400% slower for validation. Is it true? I want to use Keystone for Swift. I will have many requests with the same tokens so I need faster validation than f

Re: [Openstack] Can't access instance - no ethernet interface

2016-12-10 Thread Turbo Fredriksson
On 9 Dec 2016, at 13:56, Turbo Fredriksson wrote: > I’m pretty sure it’s something simple, but I can’t seem to figure out what. After fixing some issues with Cinder not being able to create a bootable volume, I noticed that there is no ethernet interface! [8.642245] systemd[1]: Sta

Re: [Openstack] [OpenStack] [Keystone] Performance difference between ferret and uuid tokens

2016-12-10 Thread Steve Martinelli
On Sat, Dec 10, 2016 at 10:59 AM, Alexandr Porunov < alexandr.poru...@gmail.com> wrote: > Hello, > > I read a blog about performance comparison between fernet and uuid tokens. > They said that fernet tokens is 30% faster for creation but 400% slower for > validation. Is it true? > > I assume you a

Re: [Openstack] [OpenStack] [Keystone] Performance difference between ferret and uuid tokens

2016-12-10 Thread Steve Martinelli
Re-sending Matt's reply since he is not subscribed to this mailing list and it bounced back. --- Matt Fischer wrote: Alexandr, I would not use Fernet without caching, but that said I strongly recommend against UUID tokens for any reason. Make sure you setup caching on th

Re: [Openstack] [OpenStack] [Keystone] Performance difference between ferret and uuid tokens

2016-12-10 Thread Alexandr Porunov
Thank you very much for the explanation and for the articles. I will use Newton release of Keystone and Swift. Thanks a lot Best regards, Alexandr On Sat, Dec 10, 2016 at 11:13 PM, Steve Martinelli wrote: > Re-sending Matt's reply since he is not subscribed to this mailing list > and it bounced