Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-31 Thread Steve Gordon
- Original Message - From: Chris Friesen chris.frie...@windriver.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Sent: Friday, March 27, 2015 4:48:52 PM Subject: Re: [openstack-dev] [nova] how to handle vendor-specific API

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-31 Thread Clint Byrum
Excerpts from Lingxian Kong's message of 2015-03-23 21:11:28 -0700: 2015-03-21 23:31 GMT+08:00 Monty Taylor mord...@inaugust.com: I would vote that we not make this pleasant or easy for vendors who are wanting to add a feature to the API. As a person who uses several clouds daily, I can

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-30 Thread Jay Pipes
On 03/27/2015 03:03 PM, Chris Friesen wrote: On 03/27/2015 12:44 PM, Dan Smith wrote: To quote John from an earlier email in this thread: Its worth noting, we do have the experimental flag: The first header specifies the version number of the API which was executed. Experimental is only

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-30 Thread Ken'ichi Ohmichi
2015-03-28 4:03 GMT+09:00 Chris Friesen chris.frie...@windriver.com: On 03/27/2015 12:44 PM, Dan Smith wrote: To quote John from an earlier email in this thread: Its worth noting, we do have the experimental flag: The first header specifies the version number of the API which was

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-27 Thread Chris Friesen
On 03/24/2015 11:10 AM, Chris Friesen wrote: On 03/24/2015 07:42 AM, Sean Dague wrote: On 03/24/2015 09:11 AM, Jeremy Stanley wrote: On 2015-03-23 22:34:17 -0600 (-0600), Chris Friesen wrote: How would that be expected to work for things where it's fundamentally just a minor extension to an

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-27 Thread Russell Bryant
On 03/27/2015 03:03 PM, Chris Friesen wrote: On 03/27/2015 12:44 PM, Dan Smith wrote: To quote John from an earlier email in this thread: Its worth noting, we do have the experimental flag: The first header specifies the version number of the API which was executed. Experimental is only

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-27 Thread Steve Gordon
- Original Message - From: Chris Friesen chris.frie...@windriver.com To: openstack-dev@lists.openstack.org On 03/27/2015 12:44 PM, Dan Smith wrote: To quote John from an earlier email in this thread: Its worth noting, we do have the experimental flag: The first header

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-27 Thread Dean Troyer
On Fri, Mar 27, 2015 at 12:28 PM, Chris Friesen chris.frie...@windriver.com wrote: As I see it, nova is really pushing for interoperability, but what is a vendor supposed to do when they have customers asking for extensions to the existing behaviour, and they want it in a month rather than

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-27 Thread Chris Friesen
On 03/27/2015 12:44 PM, Dan Smith wrote: To quote John from an earlier email in this thread: Its worth noting, we do have the experimental flag: The first header specifies the version number of the API which was executed. Experimental is only returned if the operator has made a modification to

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-27 Thread Dan Smith
To quote John from an earlier email in this thread: Its worth noting, we do have the experimental flag: The first header specifies the version number of the API which was executed. Experimental is only returned if the operator has made a modification to the API behaviour that is non

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-27 Thread Steve Gordon
- Original Message - From: Chris Friesen chris.frie...@windriver.com To: openstack-dev@lists.openstack.org Haven't seen any responses to this. As I see it, nova is really pushing for interoperability, but what is a vendor supposed to do when they have customers asking for

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-27 Thread Chris Friesen
On 03/27/2015 01:40 PM, Steve Gordon wrote: - Original Message - From: Chris Friesen chris.frie...@windriver.com So for the case where a customer really wants some functionality, and wants it *soon* rather than waiting for it to get merged upstream, what is the recommended

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-24 Thread Jeremy Stanley
On 2015-03-23 22:34:17 -0600 (-0600), Chris Friesen wrote: How would that be expected to work for things where it's fundamentally just a minor extension to an existing nova API? (Exposing additional information as part of nova show, for example.) Conversely, how do you recommend users of your

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-24 Thread Sean Dague
On 03/24/2015 09:11 AM, Jeremy Stanley wrote: On 2015-03-23 22:34:17 -0600 (-0600), Chris Friesen wrote: How would that be expected to work for things where it's fundamentally just a minor extension to an existing nova API? (Exposing additional information as part of nova show, for example.)

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-23 Thread Sean Dague
On 03/21/2015 01:21 AM, Chris Friesen wrote: Hi, I've recently been playing around a bit with API microversions and I noticed something that may be problematic. The way microversions are handled, there is a monotonically increasing MAX_API_VERSION value in

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-23 Thread John Garbutt
On 21 March 2015 at 18:12, Joe Gordon joe.gord...@gmail.com wrote: On Sat, Mar 21, 2015 at 8:31 AM, Monty Taylor mord...@inaugust.com wrote: On 03/21/2015 01:21 AM, Chris Friesen wrote: Hi, I've recently been playing around a bit with API microversions and I noticed something that may be

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-23 Thread Chris Friesen
On 03/21/2015 12:12 PM, Joe Gordon wrote: On Sat, Mar 21, 2015 at 8:31 AM, Monty Taylor mord...@inaugust.com mailto:mord...@inaugust.com wrote: On 03/21/2015 01:21 AM, Chris Friesen wrote: Hi, I've recently been playing around a bit with API microversions and I noticed

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-23 Thread Lingxian Kong
2015-03-21 23:31 GMT+08:00 Monty Taylor mord...@inaugust.com: I would vote that we not make this pleasant or easy for vendors who are wanting to add a feature to the API. As a person who uses several clouds daily, I can tell you that a vendor chosing to do that is VERY mean to users, and

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-23 Thread Chris Friesen
On 03/23/2015 03:28 AM, John Garbutt wrote: We are not stopping vendor specific API endpoints, that appear separately in the keystone catalog. Certainly, thats where I hope things that would never go upstream will move to. How would that be expected to work for things where it's fundamentally

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-21 Thread Monty Taylor
On 03/21/2015 01:21 AM, Chris Friesen wrote: Hi, I've recently been playing around a bit with API microversions and I noticed something that may be problematic. The way microversions are handled, there is a monotonically increasing MAX_API_VERSION value in

Re: [openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-21 Thread Joe Gordon
On Sat, Mar 21, 2015 at 8:31 AM, Monty Taylor mord...@inaugust.com wrote: On 03/21/2015 01:21 AM, Chris Friesen wrote: Hi, I've recently been playing around a bit with API microversions and I noticed something that may be problematic. The way microversions are handled, there is a

[openstack-dev] [nova] how to handle vendor-specific API microversions?

2015-03-20 Thread Chris Friesen
Hi, I've recently been playing around a bit with API microversions and I noticed something that may be problematic. The way microversions are handled, there is a monotonically increasing MAX_API_VERSION value in nova/api/openstack/api_version_request.py. When you want to make a change you