)]}'
{"nova/compute/api.py":[{"author":{"_account_id":5511,"name":"Nikola Dipanov","email":"ndipanov@redhat.com","username":"ndipanov"},"change_message_id":"fcfd23a06c1b14fc51ecdd0cdb345abf15589fc5","unresolved":false,"context_lines":[{"line_number":727,"context_line":"        # the volume cannot have the same device name as root_device_name"},{"line_number":728,"context_line":"        if image_ref:"},{"line_number":729,"context_line":"            for bdm in block_device_mapping:"},{"line_number":730,"context_line":"                if (bdm.get(\u0027destination_type\u0027) \u003d\u003d \u0027volume\u0027 and"},{"line_number":731,"context_line":"                    block_device.strip_dev(bdm.get("},{"line_number":732,"context_line":"                    \u0027device_name\u0027)) \u003d\u003d root_device_name):"},{"line_number":733,"context_line":"                    msg \u003d _(\u0027The volume cannot be assigned the same device\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"7af24918_76b27b95","line":730,"range":{"start_line":730,"start_character":29,"end_line":730,"end_character":45},"updated":"2016-03-03 16:53:30.000000000","message":"yep this was a bug since forever, because source_type\u003dsnapshot, destination_type\u003dvolume was also something that should have been guarded by this.\n\nNice catch","commit_id":"ce86677b62af8b40ec7e560894fc3ecb3a0a03ae"}],"nova/tests/unit/compute/test_compute_api.py":[{"author":{"_account_id":5511,"name":"Nikola Dipanov","email":"ndipanov@redhat.com","username":"ndipanov"},"change_message_id":"fcfd23a06c1b14fc51ecdd0cdb345abf15589fc5","unresolved":false,"context_lines":[{"line_number":3071,"context_line":"                                 \u0027image_id\u0027: \u0027image_id\u0027,"},{"line_number":3072,"context_line":"                                 \u0027source_type\u0027: \u0027image\u0027},"},{"line_number":3073,"context_line":"                                {\u0027device_name\u0027: \u0027/dev/vda\u0027,"},{"line_number":3074,"context_line":"                                 \u0027source_type\u0027: \u0027volume\u0027,"},{"line_number":3075,"context_line":"                                 \u0027destination_type\u0027: \u0027volume\u0027,"},{"line_number":3076,"context_line":"                                 \u0027device_type\u0027: None,"},{"line_number":3077,"context_line":"                                 \u0027volume_id\u0027: \u0027volume_id\u0027}]"}],"source_content_type":"text/x-python","patch_set":6,"id":"7af24918_7679dbc7","line":3074,"range":{"start_line":3074,"start_character":35,"end_line":3074,"end_character":45},"updated":"2016-03-03 16:53:30.000000000","message":"let\u0027s change (or add) a test case that has a different source type (like snapshot) so that this does not regress","commit_id":"ce86677b62af8b40ec7e560894fc3ecb3a0a03ae"}]}
