[ovirt-users] Re: After upgrade to vdsm-4.40.90.4-1.el8 - Internal JSON-RPC error - how to fix?
On Fri, Jan 7, 2022 at 2:52 AM Adam Xu wrote: > > 在 2022/1/6 15:53, Liran Rotenberg 写道: > > > > On Thu, Jan 6, 2022 at 9:20 AM Adam Xu wrote: > >> I also got the error when I try to import an ova from vmware to my ovirt >> cluster using a san storage domain. >> >> I resovled this by importing this ova to a standalone host which is using >> its local storage. >> 在 2021/11/18 17:41, John Mortensen 写道: >> >> Hi, >> After we upgraded to vdsm-4.40.90.4-1.el8 on our two node cluster two things >> has happned: >> 1. First node that was upgraded now continuously logs this error: >> VDSM command Get Host Statistics failed: Internal JSON-RPC >> error: {'reason': "'str' object has no attribute 'decode'"} >> >> Hi, > Looks like [1], however in that report the import process succeeded > despite those errors. > Can you please share the import logs? > > when I try to import ova to san storage. there are tons of log like: > > 2022-01-06 09:15:55,058+08 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) [] > EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt4.adagene.cn > command Get Host Statistics failed: Internal JSON-RPC error: {'reason': > "'str' object has no attribute 'decode'"} > 2022-01-06 09:15:55,059+08 ERROR > [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) [] > Unable to GetStats: VDSErrorException: VDSGenericException: > VDSErrorException: Failed to Get Host Statistics, error = Internal JSON-RPC > error: {'reason': "'str' object has no attribute 'decode'"}, code = -32603 > 2022-01-06 09:15:58,347+08 INFO > [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-93) > [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id: > 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id: > '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete > 2022-01-06 09:16:08,358+08 INFO > [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-88) > [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id: > 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id: > '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete > 2022-01-06 09:16:10,090+08 WARN > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) [] > Unexpected return value: Status [code=-32603, message=Internal JSON-RPC > error: {'reason': "'str' object has no attribute 'decode'"}] > 2022-01-06 09:16:10,090+08 ERROR > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) [] > Failed in 'Get Host Statistics' method > 2022-01-06 09:16:10,090+08 WARN > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) [] > Unexpected return value: Status [code=-32603, message=Internal JSON-RPC > error: {'reason': "'str' object has no attribute 'decode'"}] > 2022-01-06 09:16:10,092+08 ERROR > [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) [] > Unable to GetStats: VDSErrorException: VDSGenericException: > VDSErrorException: Failed to Get Host Statistics, error = Internal JSON-RPC > error: {'reason': "'str' object has no attribute 'decode'"}, code = -32603 > 2022-01-06 09:16:18,367+08 INFO > [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-30) > [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id: > 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id: > '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete > 2022-01-06 09:16:25,099+08 WARN > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool > -Thread-34) [] Unexpected return value: Status [code=-32603, > message=Internal JSON-RPC error: {'reason': "'str' object has no attribute > 'decode'"}] > 2022-01-06 09:16:25,099+08 ERROR > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool > -Thread-34) [] Failed in 'Get Host Statistics' method > 2022-01-06 09:16:25,099+08 WARN > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] > (EE-ManagedScheduledExecutorService-engineScheduledThreadPool > -Thread-34) [] Unexpected return value: Status [code=-32603, > message=Internal JSON-RPC error: {'reason': "'str' object has no attribute > 'decode'"}] > > these log
[ovirt-users] Re: After upgrade to vdsm-4.40.90.4-1.el8 - Internal JSON-RPC error - how to fix?
在 2022/1/6 15:53, Liran Rotenberg 写道: On Thu, Jan 6, 2022 at 9:20 AM Adam Xu wrote: I also got the error when I try to import an ova from vmware to my ovirt cluster using a san storage domain. I resovled this by importing this ova to a standalone host which is using its local storage. 在 2021/11/18 17:41, John Mortensen 写道: Hi, After we upgraded to vdsm-4.40.90.4-1.el8 on our two node cluster two things has happned: 1. First node that was upgraded now continuously logs this error: VDSM command Get Host Statistics failed: Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"} Hi, Looks like [1], however in that report the import process succeeded despite those errors. Can you please share the import logs? when I try to import ova to san storage. there are tons of log like: 2022-01-06 09:15:55,058+08 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) [] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt4.adagene.cn command Get Host Statistics failed: Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"} 2022-01-06 09:15:55,059+08 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) [] Unable to GetStats: VDSErrorException: VDSGenericException: VDSErrorException: Failed to Get Host Statistics, error = Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"}, code = -32603 2022-01-06 09:15:58,347+08 INFO [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-93) [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id: 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id: '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete 2022-01-06 09:16:08,358+08 INFO [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-88) [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id: 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id: '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete 2022-01-06 09:16:10,090+08 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) [] Unexpected return value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"}] 2022-01-06 09:16:10,090+08 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) [] Failed in 'Get Host Statistics' method 2022-01-06 09:16:10,090+08 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) [] Unexpected return value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"}] 2022-01-06 09:16:10,092+08 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) [] Unable to GetStats: VDSErrorException: VDSGenericException: VDSErrorException: Failed to Get Host Statistics, error = Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"}, code = -32603 2022-01-06 09:16:18,367+08 INFO [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-30) [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id: 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id: '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete 2022-01-06 09:16:25,099+08 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool -Thread-34) [] Unexpected return value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"}] 2022-01-06 09:16:25,099+08 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool -Thread-34) [] Failed in 'Get Host Statistics' method 2022-01-06 09:16:25,099+08 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool -Thread-34) [] Unexpected return value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"}] these logs seems endless, I have to stop importing tasks after several hours waitting. --
[ovirt-users] Re: After upgrade to vdsm-4.40.90.4-1.el8 - Internal JSON-RPC error - how to fix?
On Thu, Jan 6, 2022 at 9:20 AM Adam Xu wrote: > I also got the error when I try to import an ova from vmware to my ovirt > cluster using a san storage domain. > > I resovled this by importing this ova to a standalone host which is using > its local storage. > 在 2021/11/18 17:41, John Mortensen 写道: > > Hi, > After we upgraded to vdsm-4.40.90.4-1.el8 on our two node cluster two things > has happned: > 1. First node that was upgraded now continuously logs this error: > VDSM command Get Host Statistics failed: Internal JSON-RPC error: > {'reason': "'str' object has no attribute 'decode'"} > > Hi, Looks like [1], however in that report the import process succeeded despite those errors. Can you please share the import logs? [1] https://bugzilla.redhat.com/show_bug.cgi?id=2026809 > 2. During import of two virtual machines from VMware (has done multible > before upgrade) the import seems to never finish - currently running on day > 2-3... any clues how to fix this? > /John > > Import and engine logs would be helpful. > ___ > 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/5AA3L6IEXNCTFRJXARWJPW5A26AOXJYV/ > > ___ > 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/MWD4ZKXB2SJINOYANVBZCJCJFQQ2TI5O/ > ___ 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/SP5K7MOQFUSGCYDUI6X5RCYPZTFCXSR5/
[ovirt-users] Re: After upgrade to vdsm-4.40.90.4-1.el8 - Internal JSON-RPC error - how to fix?
I also got the error when I try to import an ova from vmware to my ovirt cluster using a san storage domain. I resovled this by importing this ova to a standalone host which is using its local storage. 在 2021/11/18 17:41, John Mortensen 写道: Hi, After we upgraded to vdsm-4.40.90.4-1.el8 on our two node cluster two things has happned: 1. First node that was upgraded now continuously logs this error: VDSM command Get Host Statistics failed: Internal JSON-RPC error: {'reason': "'str' object has no attribute 'decode'"} 2. During import of two virtual machines from VMware (has done multible before upgrade) the import seems to never finish - currently running on day 2-3... any clues how to fix this? /John ___ 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/5AA3L6IEXNCTFRJXARWJPW5A26AOXJYV/___ 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/MWD4ZKXB2SJINOYANVBZCJCJFQQ2TI5O/