)]}'
{"nova/tests/functional/test_servers.py":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"f3da39f25e92e8622a70eb92c62a886afc6aa092","unresolved":false,"context_lines":[{"line_number":608,"context_line":"                               self.api.post_server_action,"},{"line_number":609,"context_line":"                               created_server_id, post)"},{"line_number":610,"context_line":"        self.assertEqual(409, ex.response.status_code)"},{"line_number":611,"context_line":"        self.assertEqual(\u0027ACTIVE\u0027, found_server[\u0027status\u0027])"},{"line_number":612,"context_line":""},{"line_number":613,"context_line":"        # Cleanup"},{"line_number":614,"context_line":"        self._delete_server(created_server_id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa31d9ce_77af4594","line":611,"updated":"2017-02-13 18:11:47.000000000","message":"api-wg guideline says 409 is used as the following:\n\nguidelines/http.rst\n\n 205 * If a request is made which attempts to perform an action on a resource which\n 206   is already performing that action and therefore the request cannot be\n 207   fulfilled (for example, snapshotting an instance which is already in the\n 208   process of snapshotting), the return code should be **409 Conflict**.\n\nTBH, I am not sure this error code is ideal. That could be 400 instead with enough error reason description in the response.\nBut at this time, Nova actually returns this error response and this test will be useful when we will change it by changing this test also.","commit_id":"47becd62ddfa4a9d08e84b512ed660b07e73a132"}]}
