diff --git a/convert2rhel/main.py b/convert2rhel/main.py index e6dad54574..273f47fca8 100644 --- a/convert2rhel/main.py +++ b/convert2rhel/main.py @@ -163,7 +163,13 @@ def main(): # system rollback without user intervention. If a proper rollback # solution is necessary it will need to be future implemented here # or with the use of other backup tools. - loggerinst.warning("Conversion process interrupted and manual user intervention will be necessary.") + loggerinst.warning( + "The conversion process failed.\n\n" + "The system is left in an undetermined state that Convert2RHEL cannot fix. The system might not be" + " fully converted, and might incorrectly be reporting as a Red Hat Enterprise Linux machine.\n\n" + "It is strongly recommended to store the Convert2RHEL logs for later investigation, and restore" + " the system from a backup." + ) subscription.update_rhsm_custom_facts() return 1 diff --git a/convert2rhel/unit_tests/main_test.py b/convert2rhel/unit_tests/main_test.py index 20befc0e7e..eb88d7c848 100644 --- a/convert2rhel/unit_tests/main_test.py +++ b/convert2rhel/unit_tests/main_test.py @@ -542,7 +542,5 @@ def test_main_rollback_post_ponr_changes_phase(monkeypatch, caplog): assert ask_to_continue_mock.call_count == 1 assert post_ponr_conversion_mock.call_count == 1 assert finish_collection_mock.call_count == 1 - assert ( - "Conversion process interrupted and manual user intervention will be necessary." in caplog.records[-1].message - ) + assert "The system is left in an undetermined state that Convert2RHEL cannot fix." in caplog.records[-1].message assert update_rhsm_custom_facts_mock.call_count == 1