{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1383","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1383/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1383/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1383/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/1383","id":115306701,"number":1383,"title":"libvirt freeze after VM shutdown","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},"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:%20xen","name":"C: xen","color":"cccccc"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/P:%20minor","name":"P: minor","color":"fef2c0"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/r3.0-dom0-stable","name":"r3.0-dom0-stable","color":"ededed"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/r3.0-fc20-stable","name":"r3.0-fc20-stable","color":"ededed"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/r3.0-fc21-stable","name":"r3.0-fc21-stable","color":"ededed"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/r3.0-jessie-testing","name":"r3.0-jessie-testing","color":"ededed"},{"url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/r3.0-wheezy-testing","name":"r3.0-wheezy-testing","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/21","html_url":"https://github.com/QubesOS/qubes-issues/milestones/Release%203.0%20updates","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/21/labels","id":1343732,"number":21,"title":"Release 3.0 updates","description":"Updates for stable release","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":20,"closed_issues":48,"state":"open","created_at":"2015-10-08T01:08:26Z","updated_at":"2015-11-29T03:48:42Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-11-05T15:22:08Z","updated_at":"2015-11-29T20:39:49Z","closed_at":"2015-11-07T14:59:19Z","body":"https://groups.google.com/d/topic/qubes-devel/vNemSzo_Fek/discussion\r\n```\r\nSUBJECT: libvirt freeze after VM shutdown\r\nFROM: hw42@ipsumj.de\r\n\r\n-----BEGIN PGP SIGNED MESSAGE-----\r\nHash: SHA512\r\n\r\nHi,\r\n\r\nwhen I shutdown a VM the qubes/qvm tools (qubes-manager, qvm-ls, ...)\r\nbecome often (but not always) unresponsive for about 60 s.\r\n\r\nAfter a bit debugging it seems the libvirt requests are blocking. And\r\nindeed \"virsh -c xen:/// list\" blocks also. A strace of virsh shows\r\nthat it sends some request to the libvirt socket and then blocks while\r\nwaiting for an answer.\r\n\r\nThis problem is not new. If I remember correctly this always existed\r\nin R3. I just haven't had time to debug.\r\n\r\nThe most reliable way to trigger to problem is to shutdown multiple\r\nVMs at the same moment (for example via qvm-shutdown --all).\r\n\r\nI observed that often the loop devices doesn't get cleaned up\r\ncorrectly - but this might be a separate problem.\r\n\r\nDoes somebody observe the same problem? Has somebody already debugged\r\nthis?\r\n\r\nQubes-Issue #1288 might be related.\r\n\r\nHW42\r\n-----BEGIN PGP SIGNATURE-----\r\n\r\niQIcBAEBCgAGBQJWOQI+AAoJEOSsySeKZGgWTUQQAKhX2O0gloC+W303H6gmBTJu\r\nb6o1mpZybLmzqODHjcKX0szRoJ4fYaDW3BkDoBIPNc+pKl4aEV7YZ3lcxUr4pfcX\r\nmvPiK3vRMtY83B2TdRDVxWopgRtW3KhzvlnmaQhb2MvkjeWJnFxeEXUpUC/lSPSo\r\nK1JMAQFf9RogOgJmhCMX1k00DEBCdiIsU1zgyOOdxMBQdhPQRHgsuzvzQUF87gPz\r\nLEjpN7301vLq5fOmKcV8L+NE08fwHLIozH+W7LIZPrqBS7sGRMeUMOE0sYnNGGBw\r\nhOZDni0+WCrztUZKlfA9RVp4InsXJOGmysZSljSRk59gzqnSPGzzCM+cSxDzlSeL\r\nqBpMMSA1hRy38wlZnJT97nnB6J/XlcDjRCvLI/OL4TFZPMWbA7Dk4/MVaaSggai7\r\ncauMZ6qCm7kAAUA8Qq5f5laOOi3NESjNqaBAk1rTBnuwqnEjNNfrwRDfaNp+yoS8\r\njKEo+8WCVqMu2YjWoROkp6esIhpSHDFeC9y79UVFFcCuBkYMFdWGgOu5+u0Jsl9z\r\nY1Cqer+U/pLstzswbbKt8Qsi5qn1AKO3L81sV3heqg8pF1ATXDibbfvbU8IbuqVa\r\n5G25oP2ahwyoAZ+4rdOQpZ6IZkKqOWDP0R8ej2HUTI41JCLxLbhsjzOMCeX1L7vM\r\nlIIQhgygmmfqpaM98V7C\r\n=xZZu\r\n-----END PGP SIGNATURE-----\r\n```"},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/160468660","html_url":"https://github.com/QubesOS/qubes-issues/issues/1383#issuecomment-160468660","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/1383","id":160468660,"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":"2015-11-29T20:39:46Z","updated_at":"2015-11-29T20:39:46Z","body":"**Automated announcement from [builder-github]**\n\nThe package `xen-4.4.3-10.fc20` has been pushed to the `r3.0` stable repository for dom0.\nTo install this update, please use the standard update command:\n```\nsudo qubes-dom0-update\n```\nOr update dom0 via Qubes Manager.\n\n[Changes included in this update][commits]\n\n[builder-github]: https://github.com/QubesOS/qubes-builder-github\n[commits]: https://github.com/QubesOS/qubes-vmm-xen/compare/c80108c5557b01ddb21eeaf9e43e42eb8e0c662f...fa1812972488fb8bdac3a7f7f10fefa4786d1e22\n"}}