On 10/28/2013 04:38 PM, Sandro Bonazzola wrote:
Il 28/10/2013 16:29, Juan Hernandez ha scritto:
> On 10/28/2013 03:16 PM, Sandro Bonazzola wrote:
>> Hi,
>> I need to do some testing on log-collector for solving
>> Bug 1014379 - When calling the API the LC does not provide a max value, limiting
the returned results to 100 by default.
>> How may I have the engine listing more than 100 hypervisors? (I don't really
need them to be up, just need them to be listed)
>>
>>
>
> I have used the attached insert_many_hosts function in the past, you may
> find it useful. However the InsertVds function that it uses is currently
> broken, so it wont work without the attached patch (the InsertVds
> function isn't currently used, should probably be removed).
>
it fails saying ds_group_id column doesn't exist in vds_static.
Yes, that is one of the things currently broken in the InsertVds
function. The name of the column is "vds_group_id" not "ds_group_id".
The patch that I attached fixes that.
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.