Registration and zypper failed for GCE instances behind Cloud NAT
This document (000019662) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server
Google Compute Engine
Situation
2020-07-02 13:16:56,389 ERROR: Registration failed: Registering system to registration proxy https://smt-gce.susecloud.net Updating system details on https://smt-gce.susecloud.net ... Activating sle-module-web-scripting 15.1 x86_64 ... -> Adding service to system ... command 'zypper --non-interactive refs Web_and_Scripting_Module_x86_64' failed Error: zypper returned (4) with 'Problem retrieving the repository index file for service 'Web_and_Scripting_Module_x86_64': Login failed. (https://smt-gce.susecloud.net/services/1798/repo/repoindex.xml?credentials=Web_and_Scripting_Module_x86_64): The requested URL returned error: 401 Check if the URI is valid and accessible. Skipping service 'Web_and_Scripting_Module_x86_64' because of the above error. Could not refresh the services because of errors.'
2020-07-02 13:16:56,389 INFO:Registration: /usr/sbin/SUSEConnect --url https://smt-gce.susecloud.net --product sle-module-legacy/15.1/x86_64 --instance-data /var/lib/cloudregister/935ce144-0435-49b9-9475-12a9c59a88e8 2020-07-02 13:16:56,690 ERROR: Registration failed: Registering system to registration proxy https://smt-gce.susecloud.net Updating system details on https://smt-gce.susecloud.net ... Error: Invalid system credentials, probably because the registered system was deleted in SUSE Customer Center. Check https://smt-gce.susecloud.net whether your system appears there. If it does not, please call SUSEConnect --cleanup and re-register this system. 2020-07-02 13:16:56,690 INFO:Registration: /usr/sbin/SUSEConnect --url https://smt-gce.susecloud.net --product sle-module-public-cloud/15.1/x86_64 --instance-data /var/lib/cloudregister/935ce144-0435-49b9-9475-12a9c59a88e8 2020-07-02 13:16:56,986 ERROR: Registration failed: Registering system to registration proxy https://smt-gce.susecloud.net
Resolution
To increase this, follow documentation provided here:
https://cloud.google.com/nat/docs/using-nat
https://cloud.google.com/nat/docs/ports-and-addresses#ports-and-connections
If this was a new instance which failed initial registration, after increasing the recommended setting, run:
registercloudguest --force-new
Cause
Status
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:000019662
- Creation Date: 02-Jul-2020
- Modified Date:15-Aug-2024
-
- 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