)]}'
{"nova/compute/rpcapi.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"2cc54cca90c0861b32f49cd1eb010def9e45e0eb","unresolved":false,"context_lines":[{"line_number":811,"context_line":"        cctxt \u003d self.client.prepare(server\u003d_compute_host(None, instance),"},{"line_number":812,"context_line":"                version\u003dversion)"},{"line_number":813,"context_line":"        volume_bdm \u003d cctxt.call(ctxt, \u0027reserve_block_device_name\u0027, **kw)"},{"line_number":814,"context_line":"        if not isinstance(volume_bdm, objects.BlockDeviceMapping):"},{"line_number":815,"context_line":"            volume_bdm \u003d objects.BlockDeviceMapping.get_by_volume_and_instance("},{"line_number":816,"context_line":"                ctxt, volume_id, instance.uuid)"},{"line_number":817,"context_line":"        return volume_bdm"}],"source_content_type":"text/x-python","patch_set":3,"id":"da6ed579_95f50cee","line":814,"range":{"start_line":814,"start_character":8,"end_line":814,"end_character":66},"updated":"2016-01-14 20:54:08.000000000","message":"Interesting, this was added in juno:\n\nhttps://review.openstack.org/#/c/110319/\n\nFor a case where there were multiple BDMs in the database for the same volume_id. We can actually remove this code now since it was a shim with a kwarg to the compute manager reserve_block_device_name method, which is no longer there after we dropped rpc api support for \u003c 4.0. That was done here:\n\nhttps://review.openstack.org/#/c/179951/\n\nI\u0027ll post a follow-on change to this which cleans it up.","commit_id":"6cceca70e120820aaa605fc426d60e663b8ecf0e"}]}
