[ovirt-users] Re: Ovirt-node don't communicate with qemu-agent

2022-12-27 Thread Christoph Timm

Hi Arik,

I have checked the installed version of VDSM:
vdsm.x86_64 4.50.3.4-1.el8 @centos-ovirt45

I also refreshed the repos and don't see any update for the VDSM. Looks 
like that this version have not been released yet.


Best regards
Christoph

Am 27.12.22 um 12:25 schrieb Christoph Timm:

No this is on none of my 6 hosts.

/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py

    def _qga_call_get_vcpus(self, vm):
    try:
    self.log.debug('Requesting guest CPU info for vm=%s', vm.id)
    with vm.qga_context(_COMMAND_TIMEOUT):
    vcpus = QemuGuestAgentDomain(vm).guestVcpus()
    except (exception.NonResponsiveGuestAgent, 
libvirt.libvirtError) as e:
    self.log.info('Failed to get guest CPU info for vm=%s, 
error: %s',

  vm.id, e)
    self.set_failure(vm.id)
    return {}
    except virdomain.NotConnectedError:
    self.log.debug(
    'Not querying QEMU-GA for guest CPU info because domain'
    'is not running for vm-id=%s', vm.id)
    return {}
    if 'online' in vcpus:
    count = len(taskset.cpulist_parse(vcpus['online']))
    else:
    count = -1
    return {'guestCPUCount': count}


Am 27.12.22 um 12:17 schrieb Arik Hadas:



On Tue, Dec 27, 2022 at 12:52 PM Christoph Timm  wrote:

No for me with 4.5.4-1.el8


Do you see the same error in the vdsm log?
The stacktrace below suggests that the fix is not included there, see:
https://github.com/oVirt/vdsm/blob/v4.50.4.1/lib/vdsm/virt/qemuguestagent.py#L797 




Am 27.12.22 um 11:22 schrieb Arik Hadas:



On Tue, Dec 27, 2022 at 11:50 AM Christoph Timm
 wrote:

Hi Fernando,

I have also from time to time this issue.

I can see the following in the vdsm.log if the issue occurs:

2022-12-27 10:38:22,473+0100 ERROR (qgapoller/3)
[virt.periodic.Operation] > operation failed (periodic:187)
Traceback (most recent call last):
  File
"/usr/lib/python3.6/site-packages/vdsm/virt/periodic.py",
line 185, in __call__
    self._func()
  File
"/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
line 476, in _poller
    vm_id, self._qga_call_get_vcpus(vm_obj))
  File
"/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
line 797, in _qga_call_get_vcpus
    if 'online' in vcpus:
TypeError: argument of type 'NoneType' is not iterable


This should have been resolved by
https://github.com/oVirt/vdsm/pull/350



I had this also in older versions so this is nothing new for me.
Sometimes I can solve it with putting the host in
maintenance. But it is coming back after a while.


Best regards
Christoph

Am 19.12.22 um 19:22 schrieb Fernando Hallberg:

Hi all,

I reinstalled one of the ovirt-nodes, with ovirt-4.5.4, and
after the reinstallation the agents of the vms connected to
this node cannot communicate with the ovirt-engine.

ovirt-engine 4.5.4

any idea?

VMs work perfectly, but the agent doesn't communicate.

Best regards,

Fernando Hallberg



___
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/KCCPQWTYU4D2EZFNRO77FNAKVFKWKFDA/


___
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/LHQSH7AIOPVGG5IDANH4LBQALJRPW7KR/






___
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/QHR2YGNY4HNZU227ID2CKRF5ZUXLLJB5/
___
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: 

[ovirt-users] Re: Ovirt-node don't communicate with qemu-agent

2022-12-27 Thread Christoph Timm

No this is on none of my 6 hosts.

/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py

    def _qga_call_get_vcpus(self, vm):
    try:
    self.log.debug('Requesting guest CPU info for vm=%s', vm.id)
    with vm.qga_context(_COMMAND_TIMEOUT):
    vcpus = QemuGuestAgentDomain(vm).guestVcpus()
    except (exception.NonResponsiveGuestAgent, 
libvirt.libvirtError) as e:
    self.log.info('Failed to get guest CPU info for vm=%s, 
error: %s',

  vm.id, e)
    self.set_failure(vm.id)
    return {}
    except virdomain.NotConnectedError:
    self.log.debug(
    'Not querying QEMU-GA for guest CPU info because domain'
    'is not running for vm-id=%s', vm.id)
    return {}
    if 'online' in vcpus:
    count = len(taskset.cpulist_parse(vcpus['online']))
    else:
    count = -1
    return {'guestCPUCount': count}


Am 27.12.22 um 12:17 schrieb Arik Hadas:



On Tue, Dec 27, 2022 at 12:52 PM Christoph Timm  wrote:

No for me with 4.5.4-1.el8


Do you see the same error in the vdsm log?
The stacktrace below suggests that the fix is not included there, see:
https://github.com/oVirt/vdsm/blob/v4.50.4.1/lib/vdsm/virt/qemuguestagent.py#L797 




Am 27.12.22 um 11:22 schrieb Arik Hadas:



On Tue, Dec 27, 2022 at 11:50 AM Christoph Timm 
wrote:

Hi Fernando,

I have also from time to time this issue.

I can see the following in the vdsm.log if the issue occurs:

2022-12-27 10:38:22,473+0100 ERROR (qgapoller/3)
[virt.periodic.Operation] > operation failed (periodic:187)
Traceback (most recent call last):
  File
"/usr/lib/python3.6/site-packages/vdsm/virt/periodic.py",
line 185, in __call__
    self._func()
  File
"/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
line 476, in _poller
    vm_id, self._qga_call_get_vcpus(vm_obj))
  File
"/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
line 797, in _qga_call_get_vcpus
    if 'online' in vcpus:
TypeError: argument of type 'NoneType' is not iterable


This should have been resolved by
https://github.com/oVirt/vdsm/pull/350



I had this also in older versions so this is nothing new for me.
Sometimes I can solve it with putting the host in
maintenance. But it is coming back after a while.


Best regards
Christoph

Am 19.12.22 um 19:22 schrieb Fernando Hallberg:

Hi all,

I reinstalled one of the ovirt-nodes, with ovirt-4.5.4, and
after the reinstallation the agents of the vms connected to
this node cannot communicate with the ovirt-engine.

ovirt-engine 4.5.4

any idea?

VMs work perfectly, but the agent doesn't communicate.

Best regards,

Fernando Hallberg



___
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/KCCPQWTYU4D2EZFNRO77FNAKVFKWKFDA/


___
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/LHQSH7AIOPVGG5IDANH4LBQALJRPW7KR/



___
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/QHR2YGNY4HNZU227ID2CKRF5ZUXLLJB5/


[ovirt-users] Re: Ovirt-node don't communicate with qemu-agent

2022-12-27 Thread Arik Hadas
On Tue, Dec 27, 2022 at 12:52 PM Christoph Timm  wrote:

> No for me with 4.5.4-1.el8
>

Do you see the same error in the vdsm log?
The stacktrace below suggests that the fix is not included there, see:
https://github.com/oVirt/vdsm/blob/v4.50.4.1/lib/vdsm/virt/qemuguestagent.py#L797



>
> Am 27.12.22 um 11:22 schrieb Arik Hadas:
>
>
>
> On Tue, Dec 27, 2022 at 11:50 AM Christoph Timm  wrote:
>
>> Hi Fernando,
>>
>> I have also from time to time this issue.
>>
>> I can see the following in the vdsm.log if the issue occurs:
>>
>> 2022-12-27 10:38:22,473+0100 ERROR (qgapoller/3)
>> [virt.periodic.Operation] > >
>> operation failed (periodic:187)
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/site-packages/vdsm/virt/periodic.py", line
>> 185, in __call__
>> self._func()
>>   File "/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
>> line 476, in _poller
>> vm_id, self._qga_call_get_vcpus(vm_obj))
>>   File "/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
>> line 797, in _qga_call_get_vcpus
>> if 'online' in vcpus:
>> TypeError: argument of type 'NoneType' is not iterable
>>
>
> This should have been resolved by https://github.com/oVirt/vdsm/pull/350
>
>
>>
>>
>> I had this also in older versions so this is nothing new for me.
>> Sometimes I can solve it with putting the host in maintenance. But it is
>> coming back after a while.
>>
>
>> Best regards
>> Christoph
>>
>> Am 19.12.22 um 19:22 schrieb Fernando Hallberg:
>>
>> Hi all,
>>
>> I reinstalled one of the ovirt-nodes, with ovirt-4.5.4, and after the
>> reinstallation the agents of the vms connected to this node cannot
>> communicate with the ovirt-engine.
>>
>> ovirt-engine 4.5.4
>>
>> any idea?
>>
>> VMs work perfectly, but the agent doesn't communicate.
>>
>> Best regards,
>>
>> Fernando Hallberg
>>
>>
>>
>> ___
>> 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/KCCPQWTYU4D2EZFNRO77FNAKVFKWKFDA/
>>
>>
>> ___
>> 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/LHQSH7AIOPVGG5IDANH4LBQALJRPW7KR/
>>
>
>
___
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/JGSEZKLS3IRUEU3XSTQU6MBNVEIYQOK7/


[ovirt-users] Re: Ovirt-node don't communicate with qemu-agent

2022-12-27 Thread Christoph Timm

No for me with 4.5.4-1.el8

Am 27.12.22 um 11:22 schrieb Arik Hadas:



On Tue, Dec 27, 2022 at 11:50 AM Christoph Timm  wrote:

Hi Fernando,

I have also from time to time this issue.

I can see the following in the vdsm.log if the issue occurs:

2022-12-27 10:38:22,473+0100 ERROR (qgapoller/3)
[virt.periodic.Operation] > operation failed (periodic:187)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/virt/periodic.py",
line 185, in __call__
    self._func()
  File
"/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
line 476, in _poller
    vm_id, self._qga_call_get_vcpus(vm_obj))
  File
"/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
line 797, in _qga_call_get_vcpus
    if 'online' in vcpus:
TypeError: argument of type 'NoneType' is not iterable


This should have been resolved by https://github.com/oVirt/vdsm/pull/350



I had this also in older versions so this is nothing new for me.
Sometimes I can solve it with putting the host in maintenance. But
it is coming back after a while.


Best regards
Christoph

Am 19.12.22 um 19:22 schrieb Fernando Hallberg:

Hi all,

I reinstalled one of the ovirt-nodes, with ovirt-4.5.4, and after
the reinstallation the agents of the vms connected to this node
cannot communicate with the ovirt-engine.

ovirt-engine 4.5.4

any idea?

VMs work perfectly, but the agent doesn't communicate.

Best regards,

Fernando Hallberg



___
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/KCCPQWTYU4D2EZFNRO77FNAKVFKWKFDA/


___
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/LHQSH7AIOPVGG5IDANH4LBQALJRPW7KR/

___
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/CJB5PKYSNFWKG47P4GKHYPJVM5DVP37I/


[ovirt-users] Re: Ovirt-node don't communicate with qemu-agent

2022-12-27 Thread Arik Hadas
On Tue, Dec 27, 2022 at 11:50 AM Christoph Timm  wrote:

> Hi Fernando,
>
> I have also from time to time this issue.
>
> I can see the following in the vdsm.log if the issue occurs:
>
> 2022-12-27 10:38:22,473+0100 ERROR (qgapoller/3) [virt.periodic.Operation]
>  >
> operation failed (periodic:187)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/site-packages/vdsm/virt/periodic.py", line 185,
> in __call__
> self._func()
>   File "/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
> line 476, in _poller
> vm_id, self._qga_call_get_vcpus(vm_obj))
>   File "/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py",
> line 797, in _qga_call_get_vcpus
> if 'online' in vcpus:
> TypeError: argument of type 'NoneType' is not iterable
>

This should have been resolved by https://github.com/oVirt/vdsm/pull/350


>
>
> I had this also in older versions so this is nothing new for me.
> Sometimes I can solve it with putting the host in maintenance. But it is
> coming back after a while.
>

> Best regards
> Christoph
>
> Am 19.12.22 um 19:22 schrieb Fernando Hallberg:
>
> Hi all,
>
> I reinstalled one of the ovirt-nodes, with ovirt-4.5.4, and after the
> reinstallation the agents of the vms connected to this node cannot
> communicate with the ovirt-engine.
>
> ovirt-engine 4.5.4
>
> any idea?
>
> VMs work perfectly, but the agent doesn't communicate.
>
> Best regards,
>
> Fernando Hallberg
>
>
>
> ___
> 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/KCCPQWTYU4D2EZFNRO77FNAKVFKWKFDA/
>
>
> ___
> 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/LHQSH7AIOPVGG5IDANH4LBQALJRPW7KR/
>
___
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/Z4SBQ6QIQPYSJJPMU6EZXCIWEVJOQW53/


[ovirt-users] Re: Ovirt-node don't communicate with qemu-agent

2022-12-27 Thread Christoph Timm

Hi Fernando,

I have also from time to time this issue.

I can see the following in the vdsm.log if the issue occurs:

2022-12-27 10:38:22,473+0100 ERROR (qgapoller/3) 
[virt.periodic.Operation] 0x7fbdf00ced68>> operation failed (periodic:187)

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/virt/periodic.py", line 
185, in __call__

    self._func()
  File "/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py", 
line 476, in _poller

    vm_id, self._qga_call_get_vcpus(vm_obj))
  File "/usr/lib/python3.6/site-packages/vdsm/virt/qemuguestagent.py", 
line 797, in _qga_call_get_vcpus

    if 'online' in vcpus:
TypeError: argument of type 'NoneType' is not iterable

I had this also in older versions so this is nothing new for me.
Sometimes I can solve it with putting the host in maintenance. But it is 
coming back after a while.


Best regards
Christoph

Am 19.12.22 um 19:22 schrieb Fernando Hallberg:

Hi all,

I reinstalled one of the ovirt-nodes, with ovirt-4.5.4, and after the 
reinstallation the agents of the vms connected to this node cannot 
communicate with the ovirt-engine.


ovirt-engine 4.5.4

any idea?

VMs work perfectly, but the agent doesn't communicate.

Best regards,

Fernando Hallberg



___
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/KCCPQWTYU4D2EZFNRO77FNAKVFKWKFDA/
___
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/LHQSH7AIOPVGG5IDANH4LBQALJRPW7KR/