Hi,

in the past I’ve seen this kind of weird issue/problem.
The workaround I’ve applied, without any kind of impact to existing 
VMs/Services, is:

# systemctl restart libvirtd 

on the kvm host with the “duplicate key” error.
Unfortunately I didn’t deep dive into any particular analysis.

Simon

> On Jan 13, 2021, at 9:58 AM, Sandro Bonazzola <[email protected]> wrote:
> 
> Can you please provide a sos report?
> It will help understanding the issue.
> 
> Il giorno mer 13 gen 2021 alle ore 09:21 tommy <[email protected] 
> <mailto:[email protected]>> ha scritto:
> <image001.jpg>
> 
>  
> 
> From: [email protected] <mailto:[email protected]> 
> <[email protected] <mailto:[email protected]>> On Behalf Of tommy
> Sent: Wednesday, January 13, 2021 3:38 PM
> To: [email protected] <mailto:[email protected]>
> Subject: [ovirt-devel] Duplicate key Error
> 
>  
> 
> Hi, everyone:
> 
>  
> 
> I meet this error in my env.
> 
>  
> 
> Jan 13 15:36:15 ooengh2.tltd.com 
> <https://urldefense.com/v3/__http://ooengh2.tltd.com__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrm4b0E6o$>
>  libvirtd[1883]: internal error: Duplicate key
> 
> Jan 13 15:36:15 ooengh2.tltd.com 
> <https://urldefense.com/v3/__http://ooengh2.tltd.com__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrm4b0E6o$>
>  vdsm[2486]: ERROR Internal server error
> 
>                                              Traceback (most recent call 
> last):
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345, in 
> _handle_request
> 
>                                                  res = method(**params)
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in 
> _dynamicMethod
> 
>                                                  result = fn(*methodArgs)
> 
>                                                File "<string>", line 2, in 
> getCapabilities
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in method
> 
>                                                  ret = func(*args, **kwargs)
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1371, in getCapabilities
> 
>                                                  c = caps.get()
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 93, in get
> 
>                                                  
> machinetype.compatible_cpu_models())
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/common/cache.py", line 43, in __call__
> 
>                                                  value = self.func(*args)
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/machinetype.py", line 142, in 
> compatible_cpu_models
> 
>                                                  all_models = 
> domain_cpu_models(c, arch, cpu_mode)
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/machinetype.py", line 97, in 
> domain_cpu_models
> 
>                                                  domcaps = 
> conn.getDomainCapabilities(None, arch, None, virt_type, 0)
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 
> 131, in wrapper
> 
>                                                  ret = f(*args, **kwargs)
> 
>                                                File 
> "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 94, in 
> wrapper
> 
>                                                  return func(inst, *args, 
> **kwargs)
> 
>                                                File 
> "/usr/lib64/python2.7/site-packages/libvirt.py", line 3844, in 
> getDomainCapabilities
> 
>                                                  if ret is None: raise 
> libvirtError ('virConnectGetDomainCapabilities() failed', conn=self)
> 
>                                              libvirtError: internal error: 
> Duplicate key
> 
> Someone can give me some advice ?
> 
>  
> 
> Thanks.
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> _______________________________________________
> Devel mailing list -- [email protected] <mailto:[email protected]>
> To unsubscribe send an email to [email protected] 
> <mailto:[email protected]>
> Privacy Statement: https://www.ovirt.org/privacy-policy.html 
> <https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdriM8UD-e$>
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> <https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-guidelines/__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrj4iLxK6$>
> List Archives: 
> https://lists.ovirt.org/archives/list/[email protected]/message/FVQZIHTFGNK6BDIWWO3TGNG6LOGJC5EK/
>  
> <https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/[email protected]/message/FVQZIHTFGNK6BDIWWO3TGNG6LOGJC5EK/__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrvTwtMB5$>
> 
> 
> -- 
> Sandro Bonazzola
> MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
> Red Hat EMEA 
> <https://urldefense.com/v3/__https://www.redhat.com/__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdruwf5m81$>
> [email protected] <mailto:[email protected]>   
>  
> <https://urldefense.com/v3/__https://www.redhat.com/__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdruwf5m81$>
>      
> Red Hat respects your work life balance. Therefore there is no need to answer 
> this email out of your office hours.
>  
> <https://urldefense.com/v3/__https://mojo.redhat.com/docs/DOC-1199578__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrp0zOiyg$>
> 
> 
> _______________________________________________
> Devel mailing list -- [email protected] <mailto:[email protected]>
> To unsubscribe send an email to [email protected] 
> <mailto:[email protected]>
> Privacy Statement: 
> https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdriM8UD-e$
>  
> <https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdriM8UD-e$>
>  
> oVirt Code of Conduct: 
> https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-guidelines/__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrj4iLxK6$
>  
> <https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-guidelines/__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrj4iLxK6$>
>  
> List Archives: 
> https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/[email protected]/message/IFKXQVMOACWH5APG7MMZHIKJFEGDHW24/__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrtZzBUzf$
>  
> <https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/[email protected]/message/IFKXQVMOACWH5APG7MMZHIKJFEGDHW24/__;!!GqivPVa7Brio!OPrOGrii5zmVDj2MMeQL40k7_pJuTC3g_E9wsQvTfKrwS6KjkS1u6PSdrtZzBUzf$>
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/IA4XZYN4ELBX7GWZOEJAKJND73VCU7J4/

Reply via email to