Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-05-04 Thread Sean Dague
On 02/24/2016 07:48 AM, Sean Dague wrote: > We have a specific bug around aggregrate metadata setting in Nova which > exposes a larger issue with our mysql schema. > https://bugs.launchpad.net/nova/+bug/1538011 > > On mysql the following will explode with a 500: > >> nova aggregate-create agg1

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-29 Thread melanie witt
On Feb 25, 2016, at 8:35, Michał Dulko wrote: > We've faced similar issues in Cinder and as solution we've moved > filtering to Python code. Like in for example [1] or [2]. But no, we > haven't had UNIQUE constraint on the DB column in these cases, only on IDs. This is

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-25 Thread Michał Dulko
On 02/24/2016 01:48 PM, Sean Dague wrote: > We have a specific bug around aggregrate metadata setting in Nova which > exposes a larger issue with our mysql schema. > https://bugs.launchpad.net/nova/+bug/1538011 > > On mysql the following will explode with a 500: > >> nova aggregate-create agg1 >>

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-25 Thread Sean Dague
On 02/24/2016 06:56 PM, Chris Friesen wrote: > On 02/24/2016 02:34 PM, Sean Dague wrote: > >> There are no urls stored here. This is content coming through the body. >> While I do appreciate many folks weighing in that haven't read the bug >> yet, I would be even better if people did read the bug

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread Chris Friesen
On 02/24/2016 02:34 PM, Sean Dague wrote: There are no urls stored here. This is content coming through the body. While I do appreciate many folks weighing in that haven't read the bug yet, I would be even better if people did read the bug first. We have the ability to decide at the API level

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread Sean Dague
stack.org >> Subject: Re: [openstack-dev] [nova] solving API case sensitivity issues >> >> On Wed, 2016-02-24 at 11:40 -0500, Sean Dague wrote: >>> On 02/24/2016 11:28 AM, James Bottomley wrote: >>>> On Wed, 2016-02-24 at 07:48 -0500, Sean Dague wrote: >>

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread Mooney, Sean K
> -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Wednesday, February 24, 2016 5:46 PM > To: Sean Dague <s...@dague.net>; openstack-dev@lists.openstack.org > Subject: Re: [openstack-dev] [nova] solving API ca

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread James Bottomley
On Wed, 2016-02-24 at 11:40 -0500, Sean Dague wrote: > On 02/24/2016 11:28 AM, James Bottomley wrote: > > On Wed, 2016-02-24 at 07:48 -0500, Sean Dague wrote: > > > We have a specific bug around aggregrate metadata setting in Nova > > > which > > > exposes a larger issue with our mysql schema. > >

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread Sean Dague
On 02/24/2016 11:28 AM, James Bottomley wrote: > On Wed, 2016-02-24 at 07:48 -0500, Sean Dague wrote: >> We have a specific bug around aggregrate metadata setting in Nova >> which >> exposes a larger issue with our mysql schema. >> https://bugs.launchpad.net/nova/+bug/1538011 >> >> On mysql the

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread Chris Dent
On Wed, 24 Feb 2016, James Bottomley wrote: This is actually one of the curses wished on us by REST. Since the intent is to use web requests for the API, the API name must follow the case sensitivity rules for URL matching (case insensitive). However, the rest of the parameters can be case

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread James Bottomley
On Wed, 2016-02-24 at 07:48 -0500, Sean Dague wrote: > We have a specific bug around aggregrate metadata setting in Nova > which > exposes a larger issue with our mysql schema. > https://bugs.launchpad.net/nova/+bug/1538011 > > On mysql the following will explode with a 500: > > > nova

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread Andrew Laski
On Wed, Feb 24, 2016, at 07:48 AM, Sean Dague wrote: > We have a specific bug around aggregrate metadata setting in Nova which > exposes a larger issue with our mysql schema. > https://bugs.launchpad.net/nova/+bug/1538011 > > On mysql the following will explode with a 500: > > > nova

Re: [openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread Jay Pipes
On 02/24/2016 07:48 AM, Sean Dague wrote: We have a specific bug around aggregrate metadata setting in Nova which exposes a larger issue with our mysql schema. https://bugs.launchpad.net/nova/+bug/1538011 On mysql the following will explode with a 500: nova aggregate-create agg1 nova

[openstack-dev] [nova] solving API case sensitivity issues

2016-02-24 Thread Sean Dague
We have a specific bug around aggregrate metadata setting in Nova which exposes a larger issue with our mysql schema. https://bugs.launchpad.net/nova/+bug/1538011 On mysql the following will explode with a 500: > nova aggregate-create agg1 > nova aggregate-set-metadata agg1 abc=1 > nova