)]}'
{"nova/virt/images.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"a4816e6ffaf70ea94bf8da4f1945089dd5d669f8","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def qemu_img_info(path, format\u003dNone, run_as_root\u003dFalse, output_format\u003dNone):"},{"line_number":47,"context_line":"    \"\"\"Return an object containing the parsed output from qemu-img info.\"\"\""},{"line_number":48,"context_line":"    if not os.path.exists(path) and not path.startswith(\u0027rbd:\u0027):"},{"line_number":49,"context_line":"        raise exception.DiskNotFound(location\u003dpath)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    if not run_as_root:"}],"source_content_type":"text/x-python","patch_set":4,"id":"1fa4df85_8c054b17","line":48,"range":{"start_line":48,"start_character":39,"end_line":48,"end_character":64},"updated":"2020-03-11 12:12:41.000000000","message":"if we were to mount the rbd volume on the host via the kernel as a block device would this still work?\n\ni gues the /dev/whatever block device would still existing in that case so we would bail out before we got here?","commit_id":"f22d9af4d1f732afd502bcf2b952fcdf385f233d"},{"author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"change_message_id":"c9cb2b4ba71d8e3500e2fc291628d7eadef4862b","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def qemu_img_info(path, format\u003dNone, run_as_root\u003dFalse, output_format\u003dNone):"},{"line_number":47,"context_line":"    \"\"\"Return an object containing the parsed output from qemu-img info.\"\"\""},{"line_number":48,"context_line":"    if not os.path.exists(path) and not path.startswith(\u0027rbd:\u0027):"},{"line_number":49,"context_line":"        raise exception.DiskNotFound(location\u003dpath)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    if not run_as_root:"}],"source_content_type":"text/x-python","patch_set":4,"id":"1fa4df85_389323a6","line":48,"range":{"start_line":48,"start_character":39,"end_line":48,"end_character":64},"in_reply_to":"1fa4df85_8c054b17","updated":"2020-03-11 20:23:04.000000000","message":"Apologies I forgot to reply to this earlier.\n\nYes, QEMU would still be able to access the volume using the rbd:pool/volume based URIs.\n\nThat said there\u0027s no actual support attaching RBD volumes to the host as block devices in the codebase at the moment. I\u0027m trying to introduce it as a workaround below:\n\nhttps://review.opendev.org/#/q/status:open+topic:rbd_block_device","commit_id":"f22d9af4d1f732afd502bcf2b952fcdf385f233d"}]}
