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)
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.
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
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.
Registration of on-demand (Pay-As-You-Go) instances will fail when the /etc/products.d/basesystem symlink is set incorrectly.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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.