{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1537","repository_url":"https://api.github.com/repos/QubesOS/qubes-issues","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1537/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1537/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1537/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/1537","id":123506498,"number":1537,"title":"libvirtError: virDomainLookupByName() failed","user":{"login":"hdevalence","id":44879,"avatar_url":"https://avatars.githubusercontent.com/u/44879?v=3","gravatar_id":"","url":"https://api.github.com/users/hdevalence","html_url":"https://github.com/hdevalence","followers_url":"https://api.github.com/users/hdevalence/followers","following_url":"https://api.github.com/users/hdevalence/following{/other_user}","gists_url":"https://api.github.com/users/hdevalence/gists{/gist_id}","starred_url":"https://api.github.com/users/hdevalence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdevalence/subscriptions","organizations_url":"https://api.github.com/users/hdevalence/orgs","repos_url":"https://api.github.com/users/hdevalence/repos","events_url":"https://api.github.com/users/hdevalence/events{/privacy}","received_events_url":"https://api.github.com/users/hdevalence/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20core","name":"C: core","color":"cccccc"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20qubes-manager","name":"C: qubes-manager","color":"cccccc"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/P:%20major","name":"P: major","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/16","html_url":"https://github.com/QubesOS/qubes-issues/milestones/Release%203.1","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/16/labels","id":1083578,"number":16,"title":"Release 3.1","description":"","creator":{"login":"marmarek","id":726704,"avatar_url":"https://avatars.githubusercontent.com/u/726704?v=3","gravatar_id":"","url":"https://api.github.com/users/marmarek","html_url":"https://github.com/marmarek","followers_url":"https://api.github.com/users/marmarek/followers","following_url":"https://api.github.com/users/marmarek/following{/other_user}","gists_url":"https://api.github.com/users/marmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/marmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmarek/subscriptions","organizations_url":"https://api.github.com/users/marmarek/orgs","repos_url":"https://api.github.com/users/marmarek/repos","events_url":"https://api.github.com/users/marmarek/events{/privacy}","received_events_url":"https://api.github.com/users/marmarek/received_events","type":"User","site_admin":false},"open_issues":154,"closed_issues":87,"state":"open","created_at":"2015-04-25T20:30:27Z","updated_at":"2016-02-05T20:56:12Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-12-22T15:54:32Z","updated_at":"2016-02-05T23:18:06Z","closed_at":null,"body":"While using Qubes, I got a dom0 popup telling me \"libvertError: virDomainLookupByName() failed\", with the following log data:\r\n```\r\n----\r\nline: if ret is None:raise libvirtError('virDomainLookupByName() failed', conn=self)\r\nfunc: lookupByName\r\nline no.: 4066\r\nfile: /usr/lib64/python2.7/site-packages/libvirt.py\r\n----\r\nline: self._libvirt_domain = vmm.libvirt_conn.lookupByName(self.name)\r\nfunc: libvirt_domain\r\nline no.: 750\r\nfile: /usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py\r\n----\r\nline: if self.libvirt_domain.isActive():\r\nfunc: is_running\r\nline no.: 902\r\nfile: /usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py\r\n----\r\nline: if not vm.is_running():\r\nfunc: measure_cpu_usage\r\nline no.: 234\r\nfile: /usr/lib64/python2.7/site-packages/qubes/qubes.py\r\n----\r\nline: self.last_measure_time)\r\nfunc: update_table\r\nline no.: 768\r\nfile: /usr/lib64/python2.7/site-packages/qubesmanager/main.py\r\n```"},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/180617532","html_url":"https://github.com/QubesOS/qubes-issues/issues/1537#issuecomment-180617532","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1537","id":180617532,"user":{"login":"marmarek","id":726704,"avatar_url":"https://avatars.githubusercontent.com/u/726704?v=3","gravatar_id":"","url":"https://api.github.com/users/marmarek","html_url":"https://github.com/marmarek","followers_url":"https://api.github.com/users/marmarek/followers","following_url":"https://api.github.com/users/marmarek/following{/other_user}","gists_url":"https://api.github.com/users/marmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/marmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmarek/subscriptions","organizations_url":"https://api.github.com/users/marmarek/orgs","repos_url":"https://api.github.com/users/marmarek/repos","events_url":"https://api.github.com/users/marmarek/events{/privacy}","received_events_url":"https://api.github.com/users/marmarek/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T23:18:05Z","updated_at":"2016-02-05T23:18:05Z","body":"Above logging finally caught this error. The error code is... `None`. Looks like a bug in libvirt library/python bindings."}}