SUSE Support

Here When You Need Us

Unable to register SLES15 SP0 PAYG instance

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

Environment

SUSE Linux Enterprise Server 15 GA (SP0)
SUSE Linux Enterprise for SAP Applications 15 GA (SP0)
Azure Cloud

Situation

Standard SLES and SLES for SAP workloads still running SLES15 SP0 are unable to connect to the PAYG update infrastructure.  This means they are also unable to migrate to a supported service pack.

The following errors are observed in /var/log/cloudregister:
2023-09-08 21:52:07,729 ERROR:Registration with ('52.148.152.22', None) failed. Trying ('52.156.104.18', None)
2023-09-08 21:52:07,729 WARNING:Found unknown entry in credentials file "system_token="
2023-09-08 21:52:07,730 INFO:No current registration server set.
2023-09-08 21:52:07,730 INFO:Modified /etc/hosts, added: 52.156.104.18  smt-azure.susecloud.net smt-azure

2023-09-08 21:52:08,057 ERROR:Baseproduct registration failed
2023-09-08 21:52:08,058 ERROR:  Registering system to registration proxy https://smt-azure.susecloud.net

Updating system details on https://smt-azure.susecloud.net ...
Error: Invalid system credentials, probably because the registered system was deleted in SUSE Customer Center. Check https://smt-azure.susecloud.net whether your system appears there. If it does not, please call SUSEConnect --cleanup and re-register this system.

Resolution

Workaround 1:

1. Contact the Azure support team and ask them for a copy of the regionServiceClientConfigAzure version 2 (regionServiceClientConfigAzure-2.0.0-150000.3.16.1) package.  End-customers with an existing SUSE entitlement can also download this package from their SCC account.  The package is the same in Public Cloud Module 15 SP1 through SP5 channels.

2. Upload the package to the instance and install it with an rpm -U
# rpm -Uvh regionServiceClientConfigAzure-2.0.0-150000.3.16.1.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:regionServiceClientConfigAzure-2.################################# [ 50%]
Cleaning up / removing...
   2:regionServiceClientConfigAzure-1.################################# [100%]

3. Clean up registration
# registercloudguest --clean

4. Force new registration
# registercloudguest --force-new

Workaround 2:

1. Adjust the dataProvider in the /etc/regionservereclnt.cfg file manually:
# sed -i.bak -e 's/--api 2019-08-15/--api latest/' -e 's/Tag --xml/Tag --attestedData --signature --xml/' /etc/regionserverclnt.cfg

2. Clean up registration:
# registercloudguest --clean

3. Force new registration:
# registercloudguest --force-new

Cause

SLES15 SP0 LTSS and SLES for SAP 15 SP0 ESPOS went end-of-life before regionServiceClientConfigAzure version 2 was published to the Public Cloud Module 15 channel.  The --signature and --attestedData flags are now required for instance verification.

Additional Information

Old dataProvider value:
dataProvider = /usr/bin/azuremetadata --api 2019-08-15 --subscriptionId --billingTag --xml

New dataProvider value:
dataProvider = /usr/bin/azuremetadata --api latest --subscriptionId --billingTag --attestedData --signature --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:000021200
  • Creation Date: 08-Sep-2023
  • Modified Date:11-Sep-2023
    • 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.