SLES 12 SP5 Distribution Migration System (DMS) failed

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

Environment

SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applica­tions 12 SP5
PAYG instances on Azure

Situation

A Distribution Migration System (DMS) migration from SLES 12 SP5 to SLES 15 SP1 fails with the following SLES15-Migration version:

 
SLES15-Migration-2.0.37-6
 

These error messages are found in the /var/log/distro-migration.log file:
 
Calling: ['bash', '-c', 'zypper migration --no-verbose --non-interactive --gpg-auto-import-keys --no-selfupdate --auto-agree-with-licenses --allow-vendor-change --strict-errors-dist-migration --replacefiles --product SLES_SAP/15.1/x86_64 --root /system-root &>> /system-root/var/log/distro_migration.log']


Executing 'zypper --root /system-root --non-interactive --gpg-auto-import-keys  refresh'

Error retrieving metadata for 'SLE-Module-Adv-Systems-Management12-Pool':
Not ready to read within timeout.
Skipping repository 'SLE-Module-Adv-Systems-Management12-Pool' because of the above error.
Error retrieving metadata for 'SLE-Module-Adv-Systems-Management12-Updates':
Not ready to read within timeout.
Skipping repository 'SLE-Module-Adv-Systems-Management12-Updates' because of the above error.
Error retrieving metadata for 'SLE-Module-Containers12-Pool':
Not ready to read within timeout.
Skipping repository 'SLE-Module-Containers12-Pool' because of the above error.
Error retrieving metadata for 'SLE-Module-Containers12-Updates':
Not ready to read within timeout.
.
.

Resolution

This issue is reported to SUSE Engineering until a permanent fix is available the following workaround can be used:


1- Create the old/previously used directories: "/var/lib/regionService/certs"

2- Copy the cert files

3- Modify "/etc/regionserverclnt.cfg" and set "certLocation" -> to the previously used path "/var/lib/regionService/certs"

4- Install the latest "SLES15-Migration" package

5- Trigger the Migration executing: "sudo run_migration"


Example:
 
sles-sap-12-sp5-gen2:~ # mkdir -p /var/lib/regionService/certs



sles-sap-12-sp5-gen2:~ # ll /var/lib/regionService/certs
total 0



sles-sap-12-sp5-gen2:~ # cp -a /usr/lib/regionService/certs/* /var/lib/regionService/certs/



sles-sap-12-sp5-gen2:~ # ll /var/lib/regionService/certs
total 20
-rw-r--r-- 1 root root 1956 Jan 17 05:32 104.45.31.195.pem
-rw-r--r-- 1 root root 1960 Jan 17 05:32 191.237.254.253.pem
-rw-r--r-- 1 root root  843 Jan 17 05:32 23.100.36.229.pem
-rw-r--r-- 1 root root 1220 Jan 17 05:32 40.121.202.140.pem
-rw-r--r-- 1 root root 1220 Jan 17 05:32 52.187.53.250.pem



sles-sap-12-sp5-gen2:~ # ll /usr/lib/regionService/certs/
total 20
drwxr-xr-x 2 root root  134 Jan 24 10:49 .
drwxr-xr-x 3 root root   19 Jan 24 10:49 ..
-rw-r--r-- 1 root root 1956 Jan 17 05:32 104.45.31.195.pem
-rw-r--r-- 1 root root 1960 Jan 17 05:32 191.237.254.253.pem
-rw-r--r-- 1 root root  843 Jan 17 05:32 23.100.36.229.pem
-rw-r--r-- 1 root root 1220 Jan 17 05:32 40.121.202.140.pem
-rw-r--r-- 1 root root 1220 Jan 17 05:32 52.187.53.250.pem



sles-sap-12-sp5-gen2:~ # vi /etc/regionserverclnt.cfg

 

sles-sap-12-sp5-gen2:~ # cat /etc/regionserverclnt.cfg
[server]
api = regionInfo
#certLocation = /usr/lib/regionService/certs
certLocation = /var/lib/regionService/certs
regionsrv = 23.100.36.229,40.121.202.140,52.187.53.250,104.45.31.195,191.237.254.253

[instance]
dataProvider = /usr/bin/azuremetadata --api latest --subscriptionId --billingTag --attestedData --signature --xml
instanceArgs = msftazure
httpsOnly = true



sles-sap-12-sp5-gen2:~ # zypper in SLES15-Migration



sles-sap-12-sp5-gen2:~ # run_migration


Cause

The issue is that the regionService directory has moved from "/var/lib" to "/usr/lib" and
the DMS scripting is only looking for the certs directory under "/var/lib" when attempting to setup the bind mount into the ISO runtime environment.

SUSE Engineering is working to get this fixed.

Status

Reported to Engineering

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:000021338
  • Creation Date: 29-Jan-2024
  • Modified Date:29-Jan-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

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center