Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-31 Thread Fox, Kevin M
. Thanks, Kevin From: Kevin Benton [blak...@gmail.commailto:blak...@gmail.com] Sent: Thursday, July 30, 2015 4:22 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-31 Thread Salvatore Orlando
[blak...@gmail.com] *Sent:* Thursday, July 30, 2015 4:22 PM *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug Good point. Unfortunately the other issues are going to be the hard part to deal

Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-30 Thread Kevin Benton
-- *From:* Kevin Benton [blak...@gmail.com] *Sent:* Thursday, July 30, 2015 4:22 PM *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug Good point. Unfortunately the other issues are going

Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-30 Thread Fox, Kevin M
From: Kevin Benton [blak...@gmail.com] Sent: Thursday, July 30, 2015 4:22 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug Good point. Unfortunately the other issues

Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-30 Thread Salvatore Orlando
To the best of my knowledge Neutron is unable to enforce tenant quotas using the tenant name; this should be undocumented. What Kevin suggests also goes in this direction, even if we have to be careful as we're making assumptions on how tenant ids are represented (if the deployment is not using

Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-30 Thread Kevin Benton
. Performance of them can take the hit. Thanks, Kevin -- *From:* Kevin Benton *Sent:* Wednesday, July 29, 2015 10:44:49 PM *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* Re: [openstack-dev] [nova, cinder, neutron] quota-update

Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-30 Thread Fox, Kevin M
] [nova, cinder, neutron] quota-update tenant-name bug Dev lessons learned: we need to validate better our inputs and refuse to update a tenant-id that does not exist. This is something that has come up in Neutron discussions before. There are two issues here: 1. Performance: it will require

[openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-29 Thread Bruno L
This is probably affecting other people as well, so hopefully message will avoid some headaches. [nova,cinder,neutron] will allow you to do a quota-update using the tenant-name (instead of tenant-id). They will also allow you to do a quota-show tenant-name and get the expected values back. Then

Re: [openstack-dev] [nova, cinder, neutron] quota-update tenant-name bug

2015-07-29 Thread Kevin Benton
Dev lessons learned: we need to validate better our inputs and refuse to update a tenant-id that does not exist. This is something that has come up in Neutron discussions before. There are two issues here: 1. Performance: it will require a round-trip to Keystone on every request. 2. If the