[ovirt-users] Re: mom-vdsm service is failing after update to 4.5.3.2-1.el8

2022-10-31 Thread Jirka Simon

Ahoj Martine,

Thank you, maybe I was to fast (last upgrade I made on Friday 28.9)

today I upgraded the rest of cluster and it looks ok, then I updated 
first nodes again and issue is fixed.


Thank you again.

Jirka

On 10/31/22 10:41, Martin Perina wrote:

Hi,

below error should be fixed in mom-0.6.4, which was included in last 
week's oVirt 4.5.3 async release:


https://lists.ovirt.org/archives/list/users@ovirt.org/message/TCGC54KIG7XIYNBO44WKKLCNZJQITWMO/

Regards,
Martin


On Fri, Oct 28, 2022 at 2:07 PM Jirka Simon  wrote:

Hello there,

we just updated oVirt engine to 4.5.3.2-1.el8 which was smooth,
but then when we start to update all nodes, after restart mom-vdsm
service is failing to start

mom-vdsm

rpm -q vdsm
vdsm-4.50.3.4-1.el8.x86_64 (VDSM was updated from 4.50.2.2-1.el8 )

rpm -q mom
mom-0.6.3-1.el8.noarch  (MOM was not updated duting tha last update)

here is error from /var/log/vdsm/mom.log

2022-10-28 13:17:18,105 - mom - INFO - MOM starting
2022-10-28 13:17:18,138 - mom.HostMonitor - INFO - Host Monitor
starting
2022-10-28 13:17:18,138 - mom - INFO - hypervisor interface
vdsmjsonrpcclient
2022-10-28 13:17:18,179 - mom.HostMonitor - INFO - HostMonitor is
ready
2022-10-28 13:17:18,242 - mom.GuestManager - INFO - Guest Manager
starting: multi-thread
2022-10-28 13:17:18,247 - mom.Policy - INFO - Loaded policy
'00-defines'
2022-10-28 13:17:18,247 - mom - ERROR - Failed to initialize MOM
threads
Traceback (most recent call last):
 File "/usr/lib/python3.6/site-packages/mom/__init__.py", line 35,
in run
   host_monitor, guest_manager)
 File "/usr/lib/python3.6/site-packages/mom/PolicyEngine.py", line
42, in __init__
   self.load_policy()
 File "/usr/lib/python3.6/site-packages/mom/PolicyEngine.py", line
71, in load_policy
   read_policy(fname, name.split('.policy')[0])
 File "/usr/lib/python3.6/site-packages/mom/PolicyEngine.py", line
53, in read_policy
   return self.policy.set_policy(policy_name, policyStr)
 File "/usr/lib/python3.6/site-packages/mom/Policy/Policy.py",
line 64, in set_policy
   self.code = get_code(Evaluator(), self._cat_policies())
 File "/usr/lib/python3.6/site-packages/mom/Policy/Parser.py",
line 543, in get_code
   tokens = scanner.tokenize(string)
 File "/usr/lib/python3.6/site-packages/mom/Policy/Parser.py",
line 72, in tokenize
   GenericScanner.tokenize(self, input)
 File "/usr/lib/python3.6/site-packages/mom/Policy/spark.py", line
78, in tokenize
   add_lines = self.index2func[i](groups[i], line)
TypeError: t_default() takes 2 positional arguments but 3 were given


any tip what could be the reason ?

Thaak you

Jirka

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/3QATBEY4A7ZJ7UMJM2KGZ6GCKVF5U23D/



--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.

___
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-le...@ovirt.org
Privacy Statement:https://www.ovirt.org/privacy-policy.html
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/25RYUUUPF4RFRKFXHGWLRANZBMGAZ7KV/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CALXQACLCHKRLF66SKTR7I5IUGG7MD4L/


[ovirt-users] Re: mom-vdsm service is failing after update to 4.5.3.2-1.el8

2022-10-31 Thread Martin Perina
Hi,

below error should be fixed in mom-0.6.4, which was included in last week's
oVirt 4.5.3 async release:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/TCGC54KIG7XIYNBO44WKKLCNZJQITWMO/

Regards,
Martin


On Fri, Oct 28, 2022 at 2:07 PM Jirka Simon  wrote:

> Hello there,
>
> we just updated oVirt engine to 4.5.3.2-1.el8 which was smooth, but then
> when we start to update all nodes, after restart mom-vdsm service is
> failing to start
>
> mom-vdsm
>
> rpm -q vdsm
> vdsm-4.50.3.4-1.el8.x86_64 (VDSM was updated from 4.50.2.2-1.el8 )
>
> rpm -q mom
> mom-0.6.3-1.el8.noarch  (MOM was not updated duting tha last update)
>
> here is error from  /var/log/vdsm/mom.log
>
> 2022-10-28 13:17:18,105 - mom - INFO - MOM starting
> 2022-10-28 13:17:18,138 - mom.HostMonitor - INFO - Host Monitor starting
> 2022-10-28 13:17:18,138 - mom - INFO - hypervisor interface
> vdsmjsonrpcclient
> 2022-10-28 13:17:18,179 - mom.HostMonitor - INFO - HostMonitor is ready
> 2022-10-28 13:17:18,242 - mom.GuestManager - INFO - Guest Manager
> starting: multi-thread
> 2022-10-28 13:17:18,247 - mom.Policy - INFO - Loaded policy '00-defines'
> 2022-10-28 13:17:18,247 - mom - ERROR - Failed to initialize MOM threads
> Traceback (most recent call last):
>  File "/usr/lib/python3.6/site-packages/mom/__init__.py", line 35, in run
>host_monitor, guest_manager)
>  File "/usr/lib/python3.6/site-packages/mom/PolicyEngine.py", line 42, in
> __init__
>self.load_policy()
>  File "/usr/lib/python3.6/site-packages/mom/PolicyEngine.py", line 71, in
> load_policy
>read_policy(fname, name.split('.policy')[0])
>  File "/usr/lib/python3.6/site-packages/mom/PolicyEngine.py", line 53, in
> read_policy
>return self.policy.set_policy(policy_name, policyStr)
>  File "/usr/lib/python3.6/site-packages/mom/Policy/Policy.py", line 64, in
> set_policy
>self.code = get_code(Evaluator(), self._cat_policies())
>  File "/usr/lib/python3.6/site-packages/mom/Policy/Parser.py", line 543,
> in get_code
>tokens = scanner.tokenize(string)
>  File "/usr/lib/python3.6/site-packages/mom/Policy/Parser.py", line 72, in
> tokenize
>GenericScanner.tokenize(self, input)
>  File "/usr/lib/python3.6/site-packages/mom/Policy/spark.py", line 78, in
> tokenize
>add_lines = self.index2func[i](groups[i], line)
> TypeError: t_default() takes 2 positional arguments but 3 were given
>
>
> any tip what could be the reason ?
>
> Thaak you
>
> Jirka
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/3QATBEY4A7ZJ7UMJM2KGZ6GCKVF5U23D/
>


-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/25RYUUUPF4RFRKFXHGWLRANZBMGAZ7KV/