)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"2e3890e30807c6a8c2b79485bd26f06510faceda","unresolved":true,"context_lines":[{"line_number":15,"context_line":"The update resources periodic will have destroyed the compute node"},{"line_number":16,"context_line":"records because they\u0027re no longer being reported by the virt driver."},{"line_number":17,"context_line":"If we then attempt to manually delete the compute service record, the"},{"line_number":18,"context_line":"datbase layer will raise an exception, as there are no longer any"},{"line_number":19,"context_line":"compute node records for the host. This exception gets bubbled up as"},{"line_number":20,"context_line":"an error 500 in the API. This patch adds a unit test to demonstrate"},{"line_number":21,"context_line":"this."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"d5a387bb_135a4ffb","line":18,"range":{"start_line":18,"start_character":0,"end_line":18,"end_character":7},"updated":"2021-07-29 11:13:29.000000000","message":"database","commit_id":"32257a2a6d159406577c885a9d7e366cbf0c72b9"}],"nova/tests/unit/api/openstack/compute/test_services.py":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"125f4c50a7c8e88a71137885ca15a8a4de095c5e","unresolved":true,"context_lines":[{"line_number":717,"context_line":"            self.controller.delete, self.req, compute.id)"},{"line_number":718,"context_line":"        mock_get_all_by_host.assert_called_with("},{"line_number":719,"context_line":"            self.req.environ[\u0027nova.context\u0027], \u0027fake-compute-host\u0027)"},{"line_number":720,"context_line":""},{"line_number":721,"context_line":"    def test_services_delete_not_found(self):"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        self.assertRaises(webob.exc.HTTPNotFound,"}],"source_content_type":"text/x-python","patch_set":1,"id":"e2a9aa05_3b25eb35","line":720,"updated":"2021-07-30 09:14:28.000000000","message":"this is the exact case where we ask for a regression test : https://github.com/openstack/nova/tree/master/nova/tests/functional/regressions\n\nHere, we don\u0027t wanna verify the regression by a UT.","commit_id":"32257a2a6d159406577c885a9d7e366cbf0c72b9"}]}
