On Fri, Nov 4, 2011 at 4:25 PM, Gerhardus Geldenhuis
<gerhardus.geldenhuis(a)gmail.com> wrote:
On Fri, Nov 4, 2011 at 6:21 PM, Greg Swift
<gregswift(a)gmail.com> wrote:
>
>
> On Fri, Nov 4, 2011 at 12:47, Gerhardus Geldenhuis
> <gerhardus.geldenhuis(a)gmail.com> wrote:
>>
>> Hi
>> This
page: https://fedorahosted.org/cobbler/wiki/CobblerApi states:
>> As of version 2.0, BootAPI is not the recommended way of interfacing with
>> Cobbler. It directly modifies the config store in a way that may not be
>> safe. Furthermore the modifications made will not be visible to cobblerd.
>> The CobblerXmlrpc interface should instead be used until at least version
>> 2.2.
>> Is this still true? Or can we use BootAPI now?
>
> This is still true.
Damm, I was hoping this had changed.
This was changed due to the fact that both cobblerd and things
interacting with the API might write files at the same time and the
other would have no clue about it. This lead to a lot of weird race
conditions and data loss, so it was decided everything should be done
through cobblerd over xmlrpc. I have at times considered writting a
REST API for cobbler, however I have not done so as I don't think
there's any real demand for it.