[openstack-dev] [Ironic] Let's talk about API versions

Ruby Loo rlooyahoo at gmail.com
Fri Aug 21 03:19:26 UTC 2015


On 18 August 2015 at 17:13, Ruby Loo <rlooyahoo at gmail.com> wrote:

>
>
> On 18 August 2015 at 13:08, Lucas Alvares Gomes <lucasagomes at gmail.com>
> wrote:
>
>> HI
>>
>> > Hi, I'd like to make sure I understand. Is it the case that ideally,
>> if we
>
> > could go back in time, we'd like to change the client so it defaults to
>> 1.1?
>>
>> AFAIUI, yes
>>
>> > But since we can't, the next client that we ship/release will have the
>> most
>> > reasonable oldest version? If so, then since the most recent client
>> shipped
>> > is at 1.6, then I think we should put it back to 1.6 even though it is
>> 1.9
>> > on master. Regardless of whether there are no backwards incompatible
>> changes
>> > between 1.6 & 1.9 -- because we need to stick to some
>> way-of-doing-things,
>> > and if we use 1.9, I suspect it will be confusing. At least 1.6 was
>> what we
>> > had at the end of kilo.
>> >
>>
>> The reason why I think we should release with 1.9 is because:
>>
>> 1) It's already on master and people may be using it already
>>
>> 2) It's compatible with the previous version that has been released
>> already (1.6).
>>
>> So it won't break neither users that just get it from pip nor users
>> that clone the git repository.
>>
>
> The order of my preference is 1.1 (which is unrealistic as I mention
> below), 1.6 (because that's what the client had in kilo release and is the
> 'closest' version to the server's 1.1), then 1.9 for the reasons you
> mentioned above, then 1.10 just cuz it is the last version that is
> backwards compatible :-)
>
> Devananda has a patch[0] that changes the client to 1.6, but the
> reviewers' comments there point to the mailing list (here) wrt deciding
> what it should be so what do other folks think?
>
>>
>>
In case we don't resolve this via email, I added this topic (which default
version should the client use) to our next meeting's agenda.

cheers,
--ruby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150820/468981b0/attachment.html>


More information about the OpenStack-dev mailing list