Unable to delete system profile from SUSE Manager and Internal error in SUSE Manager web UI

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

Environment

SUSE Manager Server 4.0
SUSE Manager Server 4.1 
SUSE Manager Server 4.2

Situation

Some actions in the SUSE Manager web UI throw an "Internal server error", such as when trying to delete a system profile from SUSE Manager. 

The cobblerd service shows a similar set of log entries when the status is checked.

# systemctl status cobblerd.service
● cobblerd.service - Cobbler Helper Daemon
   Loaded: loaded (/usr/lib/systemd/system/cobblerd.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Thu 2020-10-22 10:52:33 CST; 1s ago
  Process: 124221 ExecStartPost=/usr/bin/touch /usr/share/cobbler/web/cobbler.wsgi (code=exited, status=0/SUCCESS)
  Process: 124220 ExecStart=/usr/bin/cobblerd -F (code=exited, status=0/SUCCESS)
 Main PID: 124220 (code=exited, status=0/SUCCESS)

Oct 22 10:52:33 sumaadmin41 cobblerd[124220]: Traceback (most recent call last):
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]:   File "/usr/bin/cobblerd", line 75, in main
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]:     api = cobbler_api.CobblerAPI(is_cobblerd=True)
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]:   File "/usr/lib/python3.6/site-packages/cobbler/api.py", line 109, in __init__
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]:     self.deserialize()
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]:   File "/usr/lib/python3.6/site-packages/cobbler/api.py", line 893, in deserialize
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]:     return self._collection_mgr.deserialize()
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]:   File "/usr/lib/python3.6/site-packages/cobbler/cobbler_collections/manager.py", line 187, in deserialize
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]:     raise CX("serializer: error loading collection %s: %s. Check /etc/cobbler/modules.conf" % (collection.collection_type(), e))
Oct 22 10:52:33 sumaadmin41 cobblerd[124220]: cobbler.cexceptions.CX: 'serializer: error loading collection distro: "Error with distro 12sp4_test:1:SUSE - kernel \'/mnt/boot/x86_64/loader/linux\' not found". Check /etc/cobbler/modules.conf'


Sometimes the following error may also be observed :

System profile 1000010010 can not be deleted. Check cobbler service.

 

Resolution

Please perform the following steps to resolve the issue.
 
1. Identify any previously mounted ISO images, and remount them to the same path that they were previously mounted to. In this example, an ISO was previously mounted at /mnt.
2. Restart the cobblerd service and check the status.
# systemctl restart cobblerd.serivce

# systemctl status cobblerd.service
3. If you do not need the distribution mentioned in the errors (12sp4_test in this example), then you can delete it in the SUSE Manager web UI.
4. Repeat the previously failing action to see if the issue is resolved.
 

Cause

A previously mounted ISO image is no longer mounted at the same location. Cobbler will then be unable to locate needed files at the expected location.

Additional Information

If the above steps do not resolve the issue, please generate a supportconfig to collect the system details and contact SUSE support.

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:000019744
  • Creation Date: 22-Oct-2020
  • Modified Date:14-Oct-2022
    • SUSE Manager Server

< Back to Support Search

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

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center