[one-dev] CLI filterflag doesn't work since 4.6

Javier Fontan jfontan at opennebula.org
Tue Jul 29 06:57:40 PDT 2014


This is indeed a bug in 4.6. It is fixed in the repository but there
are packages with the fix. The patch can be easily applied manually:

https://github.com/OpenNebula/one/commit/56a0938e81a2c933f7c17fec2292d64578693cbf

On Tue, Jul 29, 2014 at 2:57 PM, Nikita Balashov
<balashov.nikita at gmail.com> wrote:
> Hi Everyone,
>
> Seems there is a bug in CLI (maybe not only CLI) since ONE 4.6: it
> ignores filterflag. For examle, "onevm list m" shows all VMs, not just
> mine as I expect.
>
> I've tracked it down the "info_paginated" method of the "Pool" class -
> when I change array=pool.get_hash to array=pool.get_hash(1) in
> OneHelper list_pool disabling pagination then it works as expected.
>
> Can anyone check if I'm correct and if it's a bug?
>
> Regards,
> Nikita
> _______________________________________________
> Dev mailing list
> Dev at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan


More information about the Dev mailing list