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 for SAP Applications 15 GA (SP0)
Azure Cloud
Situation
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
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
Additional Information
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com