[ovirt-users] DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli

Roy Golan rgolan at redhat.com
Sun Sep 18 02:26:58 EDT 2016


Try to point stderr to /dev/null. For example this should work:

```bash
vdsClient -s 0 list table 2> /dev/null
```

On 18 September 2016 at 08:59, <aleksey.maksimov at it-kb.ru> wrote:

> Hello oVirt guru`s !
>
> Every time I call the commands:
>
> * hosted-engine --set-maintenance --mode=global
> * hosted-engine --set-maintenance --mode=none
>
> The message appears:
>
> /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py:15:
> DeprecationWarning: vdscli uses xmlrpc. since ovirt 3.6 xmlrpc is
> deprecated, please use vdsm.jsonrpcvdscli
>   import vdsm.vdscli
> ...
>
> This message prevents tracking the status of execution of commands in my
> scripts.
>
> How can I suppress this message?
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160918/db79384f/attachment.html>


More information about the Users mailing list