)]}'
{"nova/api/openstack/placement/handlers/inventory.py":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"60715d474e62f4312815262b2292310ebfe4dc64","unresolved":false,"context_lines":[{"line_number":360,"context_line":"              \u0027another process. Please retry your request.\u0027)"},{"line_number":361,"context_line":"              % {\u0027rp_uuid\u0027: resource_provider.uuid})"},{"line_number":362,"context_line":"    except exception.InventoryInUse as ex:"},{"line_number":363,"context_line":"        # NOTE(mriedem): This message cannot change without impacting the"},{"line_number":364,"context_line":"        # nova.scheduler.client.report._RE_INV_IN_USE regex."},{"line_number":365,"context_line":"        raise webob.exc.HTTPConflict(ex.format_message(),"},{"line_number":366,"context_line":"                                     comment\u003derrors.INVENTORY_INUSE)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    response \u003d req.response"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_c99a8660","line":365,"range":{"start_line":363,"start_character":1,"end_line":365,"end_character":1},"updated":"2018-05-15 13:03:49.000000000","message":"now this can be removed with some refactoring. I agreed with Eric over IRC to do that separately.","commit_id":"6c7b947814b985880a1b8d1e0993648e932f6fe8"}],"nova/tests/functional/api/openstack/placement/gabbits/with-allocations.yaml":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"00697e9a42addae7166d0c648ab57186f7e324a4","unresolved":false,"context_lines":[{"line_number":61,"context_line":"      accept: application/json"},{"line_number":62,"context_line":"      openstack-api-version: placement 1.23"},{"line_number":63,"context_line":"  status: 409"},{"line_number":64,"context_line":"  response_headers:"},{"line_number":65,"context_line":"      content-type: /application/json/"},{"line_number":66,"context_line":"  response_strings:"},{"line_number":67,"context_line":"      - \"Inventory for \u0027VCPU, DISK_GB\u0027 on resource provider \u0027$ENVIRON[\u0027RP_UUID\u0027]\u0027 in use\""},{"line_number":68,"context_line":"  response_json_paths:"},{"line_number":69,"context_line":"      $.errors[0].code: placement.inventory.inuse"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5f7c97a3_c9292637","line":67,"range":{"start_line":64,"start_character":2,"end_line":67,"end_character":89},"updated":"2018-05-15 12:57:27.000000000","message":"are these lines necessary or just cuz easy?","commit_id":"6c7b947814b985880a1b8d1e0993648e932f6fe8"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"b560839557656289de01278b0d5eab71e777c354","unresolved":false,"context_lines":[{"line_number":61,"context_line":"      accept: application/json"},{"line_number":62,"context_line":"      openstack-api-version: placement 1.23"},{"line_number":63,"context_line":"  status: 409"},{"line_number":64,"context_line":"  response_headers:"},{"line_number":65,"context_line":"      content-type: /application/json/"},{"line_number":66,"context_line":"  response_strings:"},{"line_number":67,"context_line":"      - \"Inventory for \u0027VCPU, DISK_GB\u0027 on resource provider \u0027$ENVIRON[\u0027RP_UUID\u0027]\u0027 in use\""},{"line_number":68,"context_line":"  response_json_paths:"},{"line_number":69,"context_line":"      $.errors[0].code: placement.inventory.inuse"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"5f7c97a3_6997b249","line":67,"range":{"start_line":64,"start_character":2,"end_line":67,"end_character":89},"in_reply_to":"5f7c97a3_c9292637","updated":"2018-05-15 13:01:24.000000000","message":"Copy/paste from previous test.\n\nHowever, since we\u0027re still scraping the message from nova (see nova.scheduler.client.report._extract_inventory_in_use), it\u0027s not a terrible idea to make sure that the message still comes through.\n\nTheh response_headers check is probably unnecessary.","commit_id":"6c7b947814b985880a1b8d1e0993648e932f6fe8"}]}
