)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"9e900901b8789e334db9f63cdb79e793647bd25a","unresolved":true,"context_lines":[{"line_number":9,"context_line":"This commit adds bug reproducer for the #2106085. The test case"},{"line_number":10,"context_line":"reproduces 500 Internal Server error status calling the lock"},{"line_number":11,"context_line":"server action API before instance record is created in the main db."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Related-Bug: #2106085"},{"line_number":14,"context_line":"Change-Id: Iadf28ac52677af07e3081d57434b51317c8093bf"},{"line_number":15,"context_line":"Signed-off-by: Masahito Muroi \u003cmasahito.muroi@linecorp.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"770878d7_6e3ada15","line":12,"updated":"2026-05-29 16:32:06.000000000","message":"i suspsect this is a class of issue that affect all instance action as its an implict precondition for all instnace action that the intial server creat has compelted beofre any isntance acton can be made on it.\n\ncompleted means  in active or error state","commit_id":"fa46ec9b1cdc22060b4e87043bba2ff0adc3a6dc"}],"nova/tests/functional/regressions/test_bug_2106085.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"9e900901b8789e334db9f63cdb79e793647bd25a","unresolved":true,"context_lines":[{"line_number":20,"context_line":"    Validate lock server API response status."},{"line_number":21,"context_line":"    \"\"\""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"    CAST_AS_CALL \u003d False"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def test_lock_without_instance_record(self):"},{"line_number":26,"context_line":"        request_body \u003d self._build_server()"},{"line_number":27,"context_line":"        server \u003d self.api.post_server({\u0027server\u0027: request_body})"},{"line_number":28,"context_line":"        kwargs \u003d {"},{"line_number":29,"context_line":"            \"check_response_status\": [500]"},{"line_number":30,"context_line":"        }"},{"line_number":31,"context_line":"        self.api.post_server_action(server[\u0027id\u0027], {\"lock\": None}, **kwargs)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def test_lock_with_instance_record(self):"},{"line_number":34,"context_line":"        server \u003d self._create_server(expected_state\u003d\"ACTIVE\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"0301d8bb_57b80323","line":31,"range":{"start_line":23,"start_character":4,"end_line":31,"end_character":75},"updated":"2026-05-29 16:32:06.000000000","message":"this is racy\n\nwe need to instead us  threading lock or event to stop the instance form reachign active before the server is added to the cell db\u0027s isntances table and then post the lock request\n\nwe have examples of this in the other regresion tests.","commit_id":"fa46ec9b1cdc22060b4e87043bba2ff0adc3a6dc"}]}
