SUSE Support

Here When You Need Us

registercloudguest for on-demand instance fails to register system

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

Environment

SUSE Linux Enterprise Server for Azure
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)
SUSE Linux Enterprise Server 12 Service Pack 4 (SLES 12 SP4)
SUSE Linux Enterprise Server 15 (SLES 15)


Situation

Instance registration information has been properly cleaned up with the instructions in this TID:


Even after the cleanup, the registercloudguest --force-new registration script fails to register the system.

Resolution

Fix the errant basesystem symbolic link in the /etc/products.d/ directory.

payg-sles:~ # cd /etc/products.d
payg-sles:/etc/products.d # ls -l basesystem
lrwxrwxrwx 1 root root 13 Jan 1 2019 basesystem -> sle-module-toolchain.prod
payg-sles:/etc/products.d # unlink basesystem

If the system is  a vanilla SLES image, the target product file in which to point the link is SLES.prod

payg-sles:/etc/products.d # ln -s SLES.prod baseproduct

If the system is a SLES for SAP image, the target filename is SLES_SAP.prod

payg-sles:/etc/products.d # ln -s SLES_SAP.prod baseproduct

Now that the product link is fixed, the registration script should continue and successfully register the PAYG instance.

payg-sles:/etc/products.d # /usr/sbin/registercloudguest --force-new

Cause

The incorrect symlink target is the result of a bug in the image creation process which was discovered and addressed in late August, 2018.  Images spun up after September, 2018, should not be affected.

Additional Information

Registration of on-demand (Pay-As-You-Go) instances will fail when the /etc/products.d/basesystem symlink is set incorrectly.


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:7024252
  • Creation Date: 08-Nov-2019
  • Modified Date:03-Mar-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

SUSE Support Forums

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

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.

Open an Incident

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