Hello Gurus,
We have an SLES machine running in Azure.
SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 4
I am trying to install some repo files, but it looks like is empty.
etc/products.d # zypper lr
Warning: No repositories defined.
Use the ‘zypper addrepo’ command to add one or more repositories.
I have tried the following already, but still did not solve the issue.
-
registercloudguest --force-new
rm /etc/SUSEConnect
rm -f /etc/zypp/{repos,services,credentials}.d/*
rm -f /usr/lib/zypp/plugins/services/*
sed -i ‘/^# Added by SMT reg/,+1d’ /etc/hosts
/usr/sbin/registercloudguest --force-new
cd /etc/products.d
unlink baseproduct
ln -s SLES_SAP.prod baseproduct
ls -l /etc/products.d
registercloudguest --force-new
Here is part of the logs from /var/log/cloudregister
2021-11-04 16:11:33,273 ERROR: Registration failed: Registering system to registration proxy https://smt-azure.susecloud.net
Updating system details on https://smt-azure.susecloud.net …
Activating sle-module-hpc 12 x86_64 …
Error: Registration server returned ‘Unmet product dependencies, activate one of these products first: SUSE Linux Enterprise Server 12 SP2 x86_64, SUSE Linux Enterprise Server for SAP Applications 12 SP2 x86_64, SUSE Linux Enterprise Server 12 SP3 x86_64, SUSE Linux Enterprise Server for SAP Applicati ons 12 SP3 x86_64, SUSE Linux Enterprise Server 12 SP4 x86_64, SUSE Linux Enterprise High Performance Computing 12 SP2 x86_64, SUSE Linux Enterprise Hi gh Performance Computing 12 SP3 x86_64, SUSE Linux Enterprise Server for SAP Applications 12 SP4 x86_64, SUSE Linux Enterprise High Performance Computi ng 12 SP4 x86_64, SUSE Linux Enterprise High Performance Computing 12 SP5 x86_64, SUSE Linux Enterprise Server 12 SP5 x86_64, SUSE Linux Enterprise Ser ver for SAP Applications 12 SP5 x86_64’ (422)
2021-11-04 16:11:33,274 INFO:Registration: /usr/sbin/SUSEConnect --url https://smt-azure.susecloud.net --product sle-module-legacy/12/x86_64 --instance -data /var/lib/cloudregister/7a0082ab-a823-4b4f-866c-f1afdd4804b2
2021-11-04 16:11:33,734 ERROR: Registration failed: Registering system to registration proxy https://smt-azure.susecloud.net
Updating system details on smt-azure.susecloud.net
Any ideas is appreciated.
Thank you.
Best regards,
JB