[openstack-dev] [ironic] usage of ironic-lib

Devananda van der Veen devananda.vdv at gmail.com
Thu May 19 20:21:35 UTC 2016


On 05/16/2016 07:14 AM, Lucas Alvares Gomes wrote:
> On Mon, May 16, 2016 at 2:57 PM, Loo, Ruby <ruby.loo at intel.com> wrote:
>> Hi,
>>
>> A patch to ironic-lib made me wonder about what is our supported usage of
>> ironic-lib. Or even the intent/scope of it. This patch changes a method,
>> ‘bootable’ parameter is removed and ‘boot_flag’ parameter is added [1].
>>
>> If this library/method is used by some out-of-tree thing (or even some
>> in-tree but outside of ironic), this will be a breaking change. If this
>> library is meant to be internal to ironic program itself, and to e.g. only
>> be used by ironic and IPA, then that is different. I was under the
>> impression that it was a library and meant to be used by whatever, no
>> restrictions on what that whatever was. It would be WAY easier if we limited
>> this for usage by only a few specified projects.
>>
>> What do people think?
>>
> 
> I still believe that the ironic-lib project was designed to share code
> between the Ironic projects _only_. Otherwise, if it the code was
> supposed to be shared across multiple projects we should have put it
> in oslo instead.

I agree, and don't see a compelling reason, today, for anyone to do the work to
make ironic-lib into a stable library. So...

I think we should keep ironic-lib where it is (in ironic, not oslo) and keep the
scope we intended (only for use within the Ironic project group [1]).

We should more clearly signal that intent within the library (eg, in the README)
and the project description (eg. on PyPI).

[1]
https://github.com/openstack/governance/blob/master/reference/projects.yaml#L1915


my 2c,
Devananda



More information about the OpenStack-dev mailing list