)]}'
{"doc/source/cli/nova-manage.rst":[{"author":{"_account_id":26936,"name":"Surya Seetharaman","email":"suryaseetharaman.9@gmail.com","username":"tssurya"},"change_message_id":"982d5757dd95a08d8da0aca889f01fb1077b7f21","unresolved":false,"context_lines":[{"line_number":204,"context_line":"    uuid are shown. Use the --verbose option to see transport url and database"},{"line_number":205,"context_line":"    connection details."},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"``nova-manage cell_v2 delete_cell [--force] --cell_uuid \u003ccell_uuid\u003e``"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"    Delete a cell by the given uuid. Returns 0 if the empty cell is"},{"line_number":210,"context_line":"    found and deleted successfully or the cell that has hosts is found and"}],"source_content_type":"text/x-rst","patch_set":7,"id":"3f4b6375_f9feb403","line":207,"updated":"2017-10-19 14:37:29.000000000","message":"Maybe it should be ``nova-manage cell_v2 delete_cell --cell_uuid \u003ccell_uuid\u003e [--force]`` ? The optional options coming after the mandatory ones as is the format with other commands?","commit_id":"f4f17b364e28389f22bf9c6017dd7aef918c7104"}],"nova/cmd/manage.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"698a7d43aa85370edd0eb2c15f7f729bb94cb160","unresolved":false,"context_lines":[{"line_number":1720,"context_line":"        print(t)"},{"line_number":1721,"context_line":"        return 0"},{"line_number":1722,"context_line":""},{"line_number":1723,"context_line":"    @args(\u0027--force\u0027, action\u003d\u0027store_true\u0027, dest\u003d\u0027force\u0027, default\u003dFalse,"},{"line_number":1724,"context_line":"          help\u003d_(\u0027Delete hosts that belong to the cell as well.\u0027))"},{"line_number":1725,"context_line":"    @args(\u0027--cell_uuid\u0027, metavar\u003d\u0027\u003ccell_uuid\u003e\u0027, dest\u003d\u0027cell_uuid\u0027,"},{"line_number":1726,"context_line":"          required\u003dTrue, help\u003d_(\u0027The uuid of the cell to delete.\u0027))"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_596a5c80","line":1723,"range":{"start_line":1723,"start_character":42,"end_line":1723,"end_character":56},"updated":"2017-10-11 13:05:21.000000000","message":"off the top of my head, I don\u0027t think this is necessary","commit_id":"abeec86948ef3f818caa60a65f1ed6bd90d466fe"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c3e84054929dce8f8e765af580de5a5332d32ef2","unresolved":false,"context_lines":[{"line_number":1720,"context_line":"        print(t)"},{"line_number":1721,"context_line":"        return 0"},{"line_number":1722,"context_line":""},{"line_number":1723,"context_line":"    @args(\u0027--force\u0027, action\u003d\u0027store_true\u0027, dest\u003d\u0027force\u0027, default\u003dFalse,"},{"line_number":1724,"context_line":"          help\u003d_(\u0027Delete hosts that belong to the cell as well.\u0027))"},{"line_number":1725,"context_line":"    @args(\u0027--cell_uuid\u0027, metavar\u003d\u0027\u003ccell_uuid\u003e\u0027, dest\u003d\u0027cell_uuid\u0027,"},{"line_number":1726,"context_line":"          required\u003dTrue, help\u003d_(\u0027The uuid of the cell to delete.\u0027))"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_fb4faa31","line":1723,"range":{"start_line":1723,"start_character":42,"end_line":1723,"end_character":56},"in_reply_to":"5f4e5783_596a5c80","updated":"2017-10-12 02:07:08.000000000","message":"Done","commit_id":"abeec86948ef3f818caa60a65f1ed6bd90d466fe"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"698a7d43aa85370edd0eb2c15f7f729bb94cb160","unresolved":false,"context_lines":[{"line_number":1730,"context_line":"        This command will return a non-zero exit code in the following cases."},{"line_number":1731,"context_line":""},{"line_number":1732,"context_line":"        * The cell is not found by uuid."},{"line_number":1733,"context_line":"        * It has host and force is False."},{"line_number":1734,"context_line":"        * It has instance mappings."},{"line_number":1735,"context_line":""},{"line_number":1736,"context_line":"        If force is True and the cell has host, hosts are deleted as well."}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_d92c0c49","line":1733,"range":{"start_line":1733,"start_character":13,"end_line":1733,"end_character":21},"updated":"2017-10-11 13:05:21.000000000","message":"has hosts (plural)?","commit_id":"abeec86948ef3f818caa60a65f1ed6bd90d466fe"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c3e84054929dce8f8e765af580de5a5332d32ef2","unresolved":false,"context_lines":[{"line_number":1730,"context_line":"        This command will return a non-zero exit code in the following cases."},{"line_number":1731,"context_line":""},{"line_number":1732,"context_line":"        * The cell is not found by uuid."},{"line_number":1733,"context_line":"        * It has host and force is False."},{"line_number":1734,"context_line":"        * It has instance mappings."},{"line_number":1735,"context_line":""},{"line_number":1736,"context_line":"        If force is True and the cell has host, hosts are deleted as well."}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_7b5dfae7","line":1733,"range":{"start_line":1733,"start_character":13,"end_line":1733,"end_character":21},"in_reply_to":"5f4e5783_d92c0c49","updated":"2017-10-12 02:07:08.000000000","message":"Done","commit_id":"abeec86948ef3f818caa60a65f1ed6bd90d466fe"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"698a7d43aa85370edd0eb2c15f7f729bb94cb160","unresolved":false,"context_lines":[{"line_number":1738,"context_line":"        Returns 0 in the following cases."},{"line_number":1739,"context_line":""},{"line_number":1740,"context_line":"        * The empty cell is found and deleted successfully."},{"line_number":1741,"context_line":"        * The cell host and force is True and the cell and the hosts are"},{"line_number":1742,"context_line":"          deleted successfully."},{"line_number":1743,"context_line":"        \"\"\""},{"line_number":1744,"context_line":"        ctxt \u003d context.get_admin_context()"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_791bd81a","line":1741,"range":{"start_line":1741,"start_character":14,"end_line":1741,"end_character":23},"updated":"2017-10-11 13:05:21.000000000","message":"cell has hosts","commit_id":"abeec86948ef3f818caa60a65f1ed6bd90d466fe"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"c3e84054929dce8f8e765af580de5a5332d32ef2","unresolved":false,"context_lines":[{"line_number":1738,"context_line":"        Returns 0 in the following cases."},{"line_number":1739,"context_line":""},{"line_number":1740,"context_line":"        * The empty cell is found and deleted successfully."},{"line_number":1741,"context_line":"        * The cell host and force is True and the cell and the hosts are"},{"line_number":1742,"context_line":"          deleted successfully."},{"line_number":1743,"context_line":"        \"\"\""},{"line_number":1744,"context_line":"        ctxt \u003d context.get_admin_context()"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f4e5783_fbfd6ab1","line":1741,"range":{"start_line":1741,"start_character":14,"end_line":1741,"end_character":23},"in_reply_to":"5f4e5783_791bd81a","updated":"2017-10-12 02:07:08.000000000","message":"Done","commit_id":"abeec86948ef3f818caa60a65f1ed6bd90d466fe"}],"nova/tests/unit/test_nova_manage.py":[{"author":{"_account_id":26936,"name":"Surya Seetharaman","email":"suryaseetharaman.9@gmail.com","username":"tssurya"},"change_message_id":"982d5757dd95a08d8da0aca889f01fb1077b7f21","unresolved":false,"context_lines":[{"line_number":1797,"context_line":"                       return_value\u003d[])"},{"line_number":1798,"context_line":"    @mock.patch.object(objects.HostMapping, \u0027destroy\u0027)"},{"line_number":1799,"context_line":"    def test_delete_host_success(self, mock_destroy, mock_get_by_host):"},{"line_number":1800,"context_line":"        \"\"\"Tests trying to delete a host that has not instances.\"\"\""},{"line_number":1801,"context_line":"        ctxt \u003d context.get_admin_context()"},{"line_number":1802,"context_line":"        # create the cell mapping"},{"line_number":1803,"context_line":"        cm1 \u003d objects.CellMapping("}],"source_content_type":"text/x-python","patch_set":7,"id":"3f4b6375_1447154e","line":1800,"range":{"start_line":1800,"start_character":50,"end_line":1800,"end_character":53},"updated":"2017-10-19 14:37:29.000000000","message":"no","commit_id":"f4f17b364e28389f22bf9c6017dd7aef918c7104"}]}
