SUSE Support

Here When You Need Us

migration failed in Azure during distribution migration from sle12 to sle15

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

Environment

SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server
Microsoft Azure Virtual Machines

Situation

Following this document to perform a distribution migration fails:
https://documentation.suse.com/suse-distribution-migration-system/1.0/single-html/distribution-migration-system/index.html
Upgrading product SUSE Linux Enterprise Server for SAP Applications 15 SP1 x86_64.
command 'zypper --root '/system-root' --non-interactive refs SUSE_Linux_Enterprise_Server_for_SAP_Applications_x86_64' failed
Adding service SUSE_Linux_Enterprise_Server_for_SAP_Applications_x86_64: SUSE::Connect::ZypperError: Permission to access 'https://smt-azure.susecloud.net/services/1766/repo/repoindex.xml?credentials=SUSE_Linux_Enterprise_Server_for_SAP_Applications_x86_64' denied.
Unexpected exception.
Unknown error reading from 'plugin:/susecloud?credentials=SUSE_Linux_Enterprise_Server_for_SAP_Applications_x86_64&path=/services/1766'
History:
 - ABORT request: Aborting requested by user
 - Permission to access 'https://smt-azure.susecloud.net/services/1766/repo/repoindex.xml?credentials=SUSE_Linux_Enterprise_Server_for_SAP_Applications_x86_64' denied.

Please file a bug report about this.
See http://en.opensuse.org/Zypper/Troubleshooting for instructions.

Migration failed.

 

Resolution

A bug is open and a fix is being determined.

The workaround is:
  • Before performing the migration, edit /etc/regionserverclnt.cfg and change dataProvider to:
    dataProvider = /usr/sbin/azuremetadata -t --xml
  • Run the migration as documented.
  • After the migration finishes, switch /etc/regionserverclnt.cfg to the original metadata command:
    dataProvider = /usr/bin/azuremetadata --api 2019-08-15 --subscriptionId --billingTag --xml

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:000019665
  • Creation Date: 13-Jul-2020
  • Modified Date:13-Jul-2020
    • 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.