[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-30 Thread Maton, Brett
I rebooted the server that was failing last week and haven't seen the error since. On 25 July 2018 at 11:48, Andrej Krejcir wrote: > I think the upgrade may not have affected the mom package, because no new > mom rpm version was released for a few months. > > I'm not sure why the import fails

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-25 Thread Andrej Krejcir
I think the upgrade may not have affected the mom package, because no new mom rpm version was released for a few months. I'm not sure why the import fails even if the file is there. As a workaround, mom can be configured to use the older (deprecated) json rpc interface to communicate with vdsm.

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-25 Thread Maton, Brett
I upgraded my test cluster to 4.2.5.2-1 last night (hosts rebooted after update) and I've started to see the error again. As before it seems to be limited to the one host, I've checked that /usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/vdsmjsonrpcclientInterface.py exists, which it

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Maton, Brett
Thanks, Cluster is all installed from pre-release, maybe I managed to get an iffy rpm On 18 July 2018 at 15:50, Andrej Krejcir wrote: > Yes, copying it from another host with mom version 0.5.12 is enough. > > I'm not sure why it was not installed. The file is in the rpm. > > On Wed, 18

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Andrej Krejcir
Yes, copying it from another host with mom version 0.5.12 is enough. I'm not sure why it was not installed. The file is in the rpm. On Wed, 18 Jul 2018 at 16:38, Maton, Brett wrote: > Bingo > > How could that file not be installed/deployed ? > > > Should I simply copy it from one of the other

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Maton, Brett
Bingo How could that file not be installed/deployed ? Should I simply copy it from one of the other hosts to make the message go away ? On 18 July 2018 at 15:30, Andrej Krejcir wrote: > Maybe the python module is missing. Can you check if this file exists? > >

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Andrej Krejcir
Maybe the python module is missing. Can you check if this file exists? /usr/lib/python2.7/site-packages/mom/HypervisorInterfaces/vdsmjsonrpcclientInterface.py Andrej On Wed, 18 Jul 2018 at 16:04, Maton, Brett wrote: > I just checked the mom version, it's already at 0.5.12 > > # rpm -qa mom >

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Maton, Brett
I just checked the mom version, it's already at 0.5.12 # rpm -qa mom mom-0.5.12-1.el7.centos.noarch All the physical hosts are fully updated /patched. Regards, Brett On 18 July 2018 at 14:08, Andrej Krejcir wrote: > Hi, > > Looking at MOM logs, the problem seems to be that MOM is configured

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Andrej Krejcir
Hi, Looking at MOM logs, the problem seems to be that MOM is configured to use 'vdsmjsonrpcclient' module to communicate with vdsm, but it cannot find this module, probably because it is an older version. Updating MOM to version 0.5.12 should fix it. Regards, Andrej On Wed, 18 Jul 2018 at

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Maton, Brett
FWIW: This test cluster is 3x HP MicroServer Gen 8 16GB RAM, Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz Network is bonded fail-over. Regards, Brett On 18 July 2018 at 13:15, Francesco Romani wrote: > Thanks! > > > On 07/18/2018 02:11 PM, Maton, Brett wrote: > >> Sure no problem, mom log

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Francesco Romani
Thanks! On 07/18/2018 02:11 PM, Maton, Brett wrote: Sure no problem, mom log attached. It seems to me that MOM is restarting *very* often: 2018-07-18 06:07:04,909 - mom - INFO - MOM starting 2018-07-18 06:07:20,407 - mom - INFO - MOM starting 2018-07-18 06:07:30,658 - mom - INFO - MOM

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Maton, Brett
Sure no problem, mom log attached. On 18 July 2018 at 12:36, Francesco Romani wrote: > > On 07/18/2018 07:24 AM, Maton, Brett wrote: > >> Thanks Francesco, >> >> Log attached. >> > > Interestings, it seems the fault comes from MOM: > > 2018-07-18 06:07:22,836+0100 INFO (jsonrpc/3) [api.host]

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-18 Thread Francesco Romani
On 07/18/2018 07:24 AM, Maton, Brett wrote: Thanks Francesco,   Log attached. Interestings, it seems the fault comes from MOM: 2018-07-18 06:07:22,836+0100 INFO  (jsonrpc/3) [api.host] FINISH getStats error=:'NoneType' object has no attribute 'statistics'"> from=:::10.11.30.253,58840

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-17 Thread Maton, Brett
Thanks Francesco, Log attached. On 17 July 2018 at 13:12, Francesco Romani wrote: > On 07/17/2018 07:30 AM, Maton, Brett wrote: > > I've got one physical host in a 3 host CentOS7.5 cluster that reports the > following error several times a day > > VDSM node3.example.com command Get Host

[ovirt-users] Re: oVirt 4.2.5.1-1.el7 JSON-RPC statistics error

2018-07-17 Thread Francesco Romani
On 07/17/2018 07:30 AM, Maton, Brett wrote: I've got one physical host in a 3 host CentOS7.5 cluster that reports the following error several times a day VDSM node3.example.com command Get Host Statistics failed: Internal JSON-RPC error: {'reason': '":\'NoneType\'