SUSE Support

Here When You Need Us

Public Cloud PAYG Migration fails zypper migration script died unexpectedly

This document (000021537) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP5

Situation

When running zypper migration, the following error is returned:
Receive: script died unexpectedly

 

# zypper migration

Executing '/usr/bin/zypper patch-check --updatestack-only'

Refreshing service 'Basesystem_Module_x86_64'.
Refreshing service 'Desktop_Applications_Module_x86_64'.
Refreshing service 'Development_Tools_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'SAP_Applications_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_High_Availability_Extension_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_for_SAP_Applications_x86_64'.
Refreshing service 'Server_Applications_Module_x86_64'.
Loading repository data...
Reading installed packages...

0 patches needed (0 security patches)


Executing '/usr/bin/zypper ref'

Error retrieving metadata for 'SLE-Module-Basesystem15-SP3-Pool':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-Basesystem15-SP3-Pool' because of the above error.
Error retrieving metadata for 'SLE-Module-Basesystem15-SP3-Updates':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-Basesystem15-SP3-Updates' because of the above error.
Error retrieving metadata for 'SLE-Module-Desktop-Applications15-SP3-Pool':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-Desktop-Applications15-SP3-Pool' because of the above error.
Error retrieving metadata for 'SLE-Module-Desktop-Applications15-SP3-Updates':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-Desktop-Applications15-SP3-Updates' because of the above error.
Error retrieving metadata for 'SLE-Module-DevTools15-SP3-Pool':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-DevTools15-SP3-Pool' because of the above error.
Error retrieving metadata for 'SLE-Module-DevTools15-SP3-Updates':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-DevTools15-SP3-Updates' because of the above error.
Error retrieving metadata for 'SLE-Module-Public-Cloud15-SP3-Pool':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-Public-Cloud15-SP3-Pool' because of the above error.
Error retrieving metadata for 'SLE-Module-Public-Cloud15-SP3-Updates':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-Public-Cloud15-SP3-Updates' because of the above error.
Error retrieving metadata for 'SLE-Module-SAP-Applications15-SP3-Pool':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-SAP-Applications15-SP3-Pool' because of the above error.
Error retrieving metadata for 'SLE-Module-SAP-Applications15-SP3-Updates':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-SAP-Applications15-SP3-Updates' because of the above error.
Error retrieving metadata for 'SLE-Product-HA15-SP3-Pool':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Product-HA15-SP3-Pool' because of the above error.
Error retrieving metadata for 'SLE-Product-HA15-SP3-Updates':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Product-HA15-SP3-Updates' because of the above error.
Error retrieving metadata for 'SLE-Product-SLES_SAP15-SP3-Pool':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Product-SLES_SAP15-SP3-Pool' because of the above error.
Error retrieving metadata for 'SLE-Product-SLES_SAP15-SP3-Updates':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Product-SLES_SAP15-SP3-Updates' because of the above error.
Error retrieving metadata for 'SLE-Module-Server-Applications15-SP3-Pool':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-Server-Applications15-SP3-Pool' because of the above error.
Error retrieving metadata for 'SLE-Module-Server-Applications15-SP3-Updates':
Receive: script died unexpectedly
History:
- [0-Success]

Skipping repository 'SLE-Module-Server-Applications15-SP3-Updates' because of the above error.
Could not refresh the repositories because of errors.
repository refresh failed, exiting
'/usr/lib/zypper/commands/zypper-migration' exited with status 1

Resolution

A Mass PTF for cloud-regionsrv-client is available here:

https://ptf.suse.com/f2cf38b50ed714a8409693060195b235/sle-module-public-cloud-15-sp3/28553/x86_64/20240823

This is the preferred resolution.

Alternative workaround:

Backdate the cloud-regionsrv-client package to major version 10.1.7:
# zypper in --oldpackage cloud-regionsrv-client-10.1.7-150000.6.108.1

Then refresh zypper and start the migration which should now proceed normally:
# zypper ref
# zypper migration

Cause

This issue was introduced by a bug in cloud-regionsrv-client-10.3.0-150300.13.3.1.

Newly released cloud-regionsrv-client-10.3.0-150300.13.6.1 is also affected.  Bug went uncaught before this newer build was released.

Additional Information

Public Cloud Engineering states the fixed package will be released in the next three to four weeks. Please use the PTF in the meantime.  (Updated Aug 26, 2024)

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021537
  • Creation Date: 23-Aug-2024
  • Modified Date:09-Sep-2024
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.