Symptoms

During performing pre-check for MN migration from RHEL/CENTOS 6 to RHEL/CENTOS 7 (KB 130182 or 130183):

2017-03-10 21:11:16.430 [INFO] Log file has been created: /var/log/pa/rhel7-migration-precheck.log
2017-03-10 21:11:16.430 [INFO] Log file has been created: /var/log/pa/rhel7-migration-precheck.log2017-03-10 21:11:16.475 [ERROR] Detected improperly cleaned packages: ['sc-EventManager', 'sc-PrivacyProxy', 'other-PBAHostRole', 'other-libsso']. Please follow https://kb.odin.com/130391 to resolve an issue.<...>2017-03-10 21:11:16.700 [ERROR] Check is failed

Cause

Shortcomings of previous cleanups for this components.

Resolution

  1. Please make sure you have actual version of migration scripts (check KB 130182 or 130183)
  2. Launch the tool actions_before_migration_to_rhel7.py from migration kit with the option --action fix_improperly_cleaned_packages:

    cd mn_migration_kit ./actions_before_migration_to_rhel7.py --action fix_improperly_cleaned_packages

    The result should be:

    2017-03-10 21:20:40.844 [INFO] Log file has been created: /var/log/pa/actions_before_migration_to_rhel7.log 2017-03-10 21:20:40.844 [INFO] Selected action: 'fix_improperly_cleaned_packages' 2017-03-10 21:20:40.883 [INFO] Removing packages 'sc-EventManager', 'sc-PrivacyProxy', 'other-PBAHostRole', 'other-libsso'2017-03-10 21:20:40.887 [INFO] Packages were successfully cleaned.