Errors trying to register SUMA Proxy 4.0

Hi,
I’m having problems to register SUSE Manager Proxy 4.0 in SUSE Manager Server 4.0.
-SUSE Manager Proxy already installed in a VM
-Proxy shouldn’t have direct access to online repositories (they should be fetched from SUSE Manager Server)

  • Proxy repositories (Basesystem Module 15 SP1 x86_64, SUSE Manager Proxy Module 4.0 x86_64…) synchronized in SUMA server
    When I try in the CLI of SUSE Manger Server “cat bootstrap-proxy.sh | ssh root@proxy-ip” I get following errors:

Problem retrieving the repository index file for service ‘spacewalk’:
[spacewalk|file:/usr/lib/zypp/plugins/services/spacewalk] This system is not registered to any spacewalk server. If the system is not intended to be managed with spacewalk, please uninstall the zypp-plugin-spacewalk package.
Refreshing service ‘Basesystem_Module_15_SP1_x86_64’.
Problem retrieving the repository index file for service ‘Basesystem_Module_15_SP1_x86_64’:
Download (curl) error for ‘https://scc.suse.com/access/services/1757/repo/repoindex.xml?cookies=0&credentials=Basesystem_Module_15_SP1_x86_64’:

Same error for the other modules (SUSE_Manager_Proxy_Module_4.0_x86_64…).

Can the proxy be registered in the main server accessing the modules in the server and not from the SCC?

Thanks for your help in advance.

SUSE Manager Server Client bootstrap script v4.0
(…)
UPDATING RHN_REGISTER/UP2DATE CONFIGURATION FILES

PREPARE GPG KEYS AND CORPORATE PUBLIC CA CERT

  • no organizational GPG keys to import

  • attempting to install corporate public CA cert
    2020-07-09 09:30:03 URL:https://SUMA-Server/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm [13601/13601] → “rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm” [1]
    FINISHED --2020-07-09 09:30:03–
    Total wall clock time: 0.03s
    Downloaded: 1 files, 13K in 0s (120 MB/s)
    Preparing… ########################################
    Updating / installing…
    rhn-org-trusted-ssl-cert-1.0-1 ########################################

CLEANING UP OLD SUSE MANAGER REPOSITORIES

CHECKING THE REGISTRATION STACK

  • check for necessary packages being installed…
  • client codebase is sle-15-sp1
    salt-2019.2.0-6.21.1.x86_64
    package salt-minion is not installed
    2020-07-09 09:30:04 URL:https://SUMA-Server/pub/repositories/sle/15/1/bootstrap/repodata/repomd.xml [2622/2622] → “repomd.xml” [1]
    FINISHED --2020-07-09 09:30:04–
    Total wall clock time: 0.03s
    Downloaded: 1 files, 2.6K in 0s (88.6 MB/s)
  • going to install missing packages…
    2020-07-09 09:30:04 URL:https://SUMA-Server/pub/repositories/sle/15/1/bootstrap/repodata/repomd.xml [2622/2622] → “repomd.xml” [1]
    FINISHED --2020-07-09 09:30:04–
    Total wall clock time: 0.03s
    Downloaded: 1 files, 2.6K in 0s (90.6 MB/s)
    adding client software repository at https://SUMA-Server/pub/repositories/sle/15/1/bootstrap
    Refreshing service ‘spacewalk’.
    Warning: Skipping service ‘spacewalk’ because of the above error.
    Problem retrieving the repository index file for service ‘spacewalk’:
    [spacewalk|file:/usr/lib/zypp/plugins/services/spacewalk] This system is not registered to any spacewalk server. If the system is not intended to be managed with spacewalk, please uninstall the zypp-plugin-spacewalk package.

Retrieving repository ‘susemanager:bootstrap’ metadata [.done]
Building repository ‘susemanager:bootstrap’ cache […done]
Specified repositories have been refreshed.
Refreshing service ‘Basesystem_Module_15_SP1_x86_64’.
Problem retrieving the repository index file for service ‘Basesystem_Module_15_SP1_x86_64’:
Download (curl) error for ‘https://scc.suse.com/access/services/1757/repo/repoindex.xml?cookies=0&credentials=Basesystem_Module_15_SP1_x86_64’:
Error code: Connection failed
Error message: Could not resolve host: scc.suse.com

Check if the URI is valid and accessible.
Refreshing service ‘SUSE_Manager_Proxy_4.0_x86_64’.
Refreshing service ‘SUSE_Manager_Proxy_Module_4.0_x86_64’.
Problem retrieving the repository index file for service ‘SUSE_Manager_Proxy_4.0_x86_64’:
Download (curl) error for ‘https://scc.suse.com/access/services/1885/repo/repoindex.xml?cookies=0&credentials=SUSE_Manager_Proxy_4.0_x86_64’:
Error code: Connection failed
Error message: Could not resolve host: scc.suse.com

Check if the URI is valid and accessible.
Refreshing service ‘Server_Applications_Module_15_SP1_x86_64’.
Problem retrieving the repository index file for service ‘SUSE_Manager_Proxy_Module_4.0_x86_64’:
Download (curl) error for ‘https://scc.suse.com/access/services/1893/repo/repoindex.xml?cookies=0&credentials=SUSE_Manager_Proxy_Module_4.0_x86_64’:
Error code: Connection failed
Error message: Could not resolve host: scc.suse.com

Check if the URI is valid and accessible.
Refreshing service ‘spacewalk’.
Problem retrieving the repository index file for service ‘Server_Applications_Module_15_SP1_x86_64’:
Download (curl) error for ‘https://scc.suse.com/access/services/1765/repo/repoindex.xml?cookies=0&credentials=Server_Applications_Module_15_SP1_x86_64’:
Error code: Connection failed
Error message: Could not resolve host: scc.suse.com

Check if the URI is valid and accessible.
Warning: Skipping service ‘spacewalk’ because of the above error.
Problem retrieving the repository index file for service ‘spacewalk’:
[spacewalk|file:/usr/lib/zypp/plugins/services/spacewalk] This system is not registered to any spacewalk server. If the system is not intended to be managed with spacewalk, please uninstall the zypp-plugin-spacewalk package.

Problem retrieving files from ‘SLE-Module-Basesystem15-SP1-Updates’.
Download (curl) error for ‘https://updates.suse.com/SUSE/Updates/SLE-Module-Basesystem/15-SP1/x86_64/update/repodata/repomd.xml?zdXdjHNoaE4d2R6YghcVvuV3N7h61wFPA_oTlF7H_FAjlMQT7znnqdR1dmJbWGWohCipwD_cGHSTBUHcb4Zxf9idGF9thYvAyD6ISrtAu1nALGc6xXldba0sZ258jdDiqsni_btq7U6pTBcBlPbvs-J6gmj4qw’:
Error code: Connection failed
Error message: Could not resolve host: updates.suse.com

Please see the above error message for a hint.
Warning: Skipping repository ‘SLE-Module-Basesystem15-SP1-Updates’ because of the above error.
Warning: Skipping repository ‘SLE-Product-SUSE-Manager-Proxy-4.0-Updates’ because of the above error.
Problem retrieving files from ‘SLE-Product-SUSE-Manager-Proxy-4.0-Updates’.
Download (curl) error for ‘https://updates.suse.com/SUSE/Updates/SLE-Product-SUSE-Manager-Proxy/4.0/x86_64/update/repodata/repomd.xml?wN-3qltPq7w6TpSV1BYj6Tzrxqfd1Vk1m6SBzEFe_qOK-h1ZWbFUcSyjdjiKlSZ6aVq83R5zngphjZnop64e0ceNiLrIJs1bUbTis9UZuBQiZhP0yRFkLW7JzhblPBx9n91K-bnWA975-6dkoQpymFSHmOI99BiqUvDBbQ’:
Error code: Connection failed
Error message: Could not resolve host: updates.suse.com

Please see the above error message for a hint.
Problem retrieving files from ‘SLE-Module-SUSE-Manager-Proxy-4.0-Updates’.
Download (curl) error for ‘https://updates.suse.com/SUSE/Updates/SLE-Module-SUSE-Manager-Proxy/4.0/x86_64/update/repodata/repomd.xml?3D4cgTyK69J0kBQrpnJmj8gFF3VbNStIIVb6WzfbFz5yUixZ8bR1IVlbJrn12v5ckRz69qTsRi02Q9tco2DFbxFWIH9LRFN2nHHrNjSC7wscqHd5523yeBUDX3cL8-aqIbSgfYZ3Qo8FeIBRAOOF3ZCMKmiCE_ZdDO-E’:
Error code: Connection failed
Error message: Could not resolve host: updates.suse.com

Please see the above error message for a hint.
Warning: Skipping repository ‘SLE-Module-SUSE-Manager-Proxy-4.0-Updates’ because of the above error.
Problem retrieving files from ‘SLE-Module-Server-Applications15-SP1-Updates’.
Download (curl) error for ‘https://updates.suse.com/SUSE/Updates/SLE-Module-Server-Applications/15-SP1/x86_64/update/repodata/repomd.xml?V50pwYUUdR72OOsSe2Verb5HcFGxUQfFrgqmeUfK2okdX4aufiTmiA046jESvp9G46m0_14oq6z4ots2OznxSUCDfXDES6qj5-BUiXZUOaVkPZmO03TmtR_9FGaQI2x4ZsiHjiYVsWMFmRtMouEsiT_nrPHP9Eld_OBJu9DjNw’:
Error code: Connection failed
Error message: Could not resolve host: updates.suse.com

Please see the above error message for a hint.
Warning: Skipping repository ‘SLE-Module-Server-Applications15-SP1-Updates’ because of the above error.
Some of the repositories have not been refreshed because of an error.
no package provides salt-minion
ERROR: Failed to install all missing packages.

According to the documentation I don’t see that step : https://documentation.suse.com/external-tree/en-us/suma/4.0/suse-manager/installation/proxy-setup.html#at.manager.proxy.run.confproxy

Are you trying to connect the proxy as a client (so it can take the rpms) ?

I’m following the third step of the Proxy registration documentation: “Bootstrap the client with the bootstrap script”
https://documentation.suse.com/external-tree/en-us/suma/4.0/suse-manager/installation/proxy-registration.html
As far as I understand, your link (proxy setup) needs to be done after registering the proxy as a client of the main server.