SLES 15.3 to 15.4 Zypper Migration and Python

I was just trying to migrate some SLES 15 SP3 VMs to SP4 (zypper migration). On all of them, I’m getting this warning:

All repositories have been refreshed.
Can’t get available migrations from server: SUSE::Connect::ApiError: There are activated extensions/modules on this system that cannot be migrated.
Deactivate them first, and then try migrating again.
The product(s) are ‘Python 2 Module 15 SP3 x86_64’.
You can deactivate them with:
SUSEConnect -d -p sle-module-python2/15.3/x86_64
‘/usr/lib/zypper/commands/zypper-migration’ exited with status 1

What would be the proper way to deal with that? I did the deactivation on one test VM and it seems to work fine, but I’m not sure if anything is broken. This seems to happen on all the SLES 15 SP3 VMs I’ve tested on.

Thanks.

Matt

Hi Matt

This helped for us:

Before you start the upgrade process you must deactive the Python 2 module (sle-module-python2 ) on the old 4.1.x or 4.2.x SUSE Manager Server. On the command line, as root, run:

SUSEConnect -d -p sle-module-python2/15.3/x86_64

This deactivation step is necessary because the Python 2 module is no longer available on the new SUSE Manager 4.3. On SUSE Manager Server 4.3, the Python 3 module (sle-module-python3) will get installed.

For more information, see the SUSE Manager 4.3 release notes.

Server - Minor Version Upgrade (Y Upgrade) :: SUSE Manager Documentation

best regards