SUSE Support

Here When You Need Us

Unable to register or remove clients from SUSE Manager Web UI

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

Environment

SUSE Manager 4.3


Situation

After migration to SUSE Manager 4.3 from an earlier version, SUSE Manager Web UI is unable to function properly to register clients and/or delete clients.

In the rhn_web_ui.log following strace can be seen: 

2025-02-13 13:15:55,818 [ajp-nio-127.0.0.1-8009-exec-8] ERROR com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand - XmlRpcFault while logging in.  most likely user doesn't have permissions. 
redstone.xmlrpc.XmlRpcFault: <class 'ssl.CertificateError'>:hostname 'abc' doesn't match 'abc.xyz.com'
        at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:444) ~[redstone-xmlrpc-client.jar:?]
        at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376) ~[redstone-xmlrpc-client.jar:?]
        at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165) ~[redstone-xmlrpc-client.jar:?]
        at com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.invokeMethod(CobblerXMLRPCHelper.java:70) ~[rhn.jar:?]
        at com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand.login(CobblerLoginCommand.java:52) ~[rhn.jar:?]
        at com.redhat.rhn.frontend.integration.IntegrationService.authorize(IntegrationService.java:114) ~[rhn.jar:?]
        at com.redhat.rhn.frontend.integration.IntegrationService.getAuthToken(IntegrationService.java:67) ~[rhn.jar:?]
        at com.redhat.rhn.manager.kickstart.cobbler.CobblerCommand.<init>(CobblerCommand.java:67) ~[rhn.jar:?]
        at com.redhat.rhn.manager.kickstart.cobbler.CobblerSystemRemoveCommand.<init>(CobblerSystemRemoveCommand.java:37) ~[rhn.jar:?]
        at com.redhat.rhn.manager.system.SystemManager.deleteServer(SystemManager.java:740) ~[rhn.jar:?]
        at com.redhat.rhn.manager.system.SystemManager.deleteServer(SystemManager.java:719) ~[rhn.jar:?]
        at com.suse.manager.webui.controllers.SystemsController.delete(SystemsController.java:338) ~[rhn.jar:?]
...

In cobbler.log following logs can be seen: 

[Thread-278] 2025-02-13T13:15:55 - INFO | Exception occurred: <class 'ssl.CertificateError'>
[Thread-278] 2025-02-13T13:15:55 - INFO | Exception value: hostname 'abc' doesn't match 'abc.xyz.com'
[Thread-278] 2025-02-13T13:15:55 - INFO | Exception Info:
  File "/usr/lib/python3.6/site-packages/cobbler/remote.py", line 3816, in _dispatch
    return method_handle(*params)

  File "/usr/lib/python3.6/site-packages/cobbler/remote.py", line 3526, in login
    if self.__validate_user(login_user, login_password):

  File "/usr/lib/python3.6/site-packages/cobbler/remote.py", line 3402, in __validate_user
    return self.api.authenticate(input_user, input_password)

  File "/usr/lib/python3.6/site-packages/cobbler/api.py", line 1903, in authenticate
    rc = self.authn.authenticate(self, user, password)

  File "/usr/lib/python3.6/site-packages/cobbler/modules/authentication/spacewalk.py", line 113, in authenticate
    if __check_auth_token(client, api_handle, username, password) != 1:

  File "/usr/lib/python3.6/site-packages/cobbler/modules/authentication/spacewalk.py", line 49, in __check_auth_token
    return xmlrpc_client.auth.checkAuthToken(username, password)
...

Resolution

Navigate to cobbler's configuration settings at /etc/cobbler/setttings.yaml and change the "redhat_management_server: abc" to actual SUSE Manager FQDN i.e. "redhat_management_server: abc.xyz.com".

And restart the spacewalk services:

spacewalk-service restart

Cause

After migration to SUSE Manager 4.3, the settings.yaml file can be overwritten with new shortname of the SUSE Manager system. Causing this issue to occur.

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:000021714
  • Creation Date: 21-Feb-2025
  • Modified Date:17-Mar-2025
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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