)]}'
{"nova/virt/disk/api.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"4ce1a9c7370b6a73d5fd472228baeb187794ded4","unresolved":false,"context_lines":[{"line_number":308,"context_line":"            if device:"},{"line_number":309,"context_line":"                self._reset(device)"},{"line_number":310,"context_line":"            else:"},{"line_number":311,"context_line":"                LOG.debug(\u0027No device found for path: %s\u0027, mount_dir)"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"    @staticmethod"},{"line_number":314,"context_line":"    def _device_for_path(path):"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_4bbdc5af","line":311,"updated":"2015-09-11 15:37:19.000000000","message":"So the reason I added this was because if _reset sets self._mounter and that\u0027s used in the teardown() method.  I was noticing the execs that would be called from the nbd backend called from teardown() weren\u0027t being called, even though teardown_container() is calling img.teardown(), so I suspected self._mounter wasn\u0027t being set and that\u0027s because we get here.  It\u0027s not a warning because teardown_container goes on to do the qemu-nbd -d anyway, which is probably a workaround added at some point specifically b/c of this issue.  For the nbd backend, teardown() really only does 2 things, unmount the nbd device and qemu-nbd -d.\n\nIn the case of lxc, clean_lxc_namespace actually does the unmount right after we\u0027ve booted the instance in the libvirt driver.\n\nAnd teardown_container is handling qemu-nbd -d since img.teardown() isn\u0027t actually doing anything, but it tries, oh how it tries...brave little guy.","commit_id":"fa2f0bbe984270eb42b3220b862e6d78e1b2a9d2"}],"nova/virt/libvirt/driver.py":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"4af0eb2f80d4ad9a9ea46a64b9e68d68640e0815","unresolved":false,"context_lines":[{"line_number":4412,"context_line":"            LOG.debug(\u0027Attempting to unmount container filesystem: %s\u0027,"},{"line_number":4413,"context_line":"                      container_dir, instance\u003dinstance)"},{"line_number":4414,"context_line":"            disk.clean_lxc_namespace(container_dir\u003dcontainer_dir)"},{"line_number":4415,"context_line":"        else:"},{"line_number":4416,"context_line":"            disk.teardown_container(container_dir\u003dcontainer_dir)"},{"line_number":4417,"context_line":""},{"line_number":4418,"context_line":"    @contextlib.contextmanager"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a29b11f_70d2055e","line":4415,"updated":"2015-10-21 08:02:14.000000000","message":"please consider adding a log here too","commit_id":"b9e997617fd21e260bd532670b3e70a4f66dbf2a"}]}
