Unable to delete system profile from SUSE Manager 4.0 & 4.1 and show 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 

Situation

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

The cobblerd service status shows failed.

#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. mount the image to the correct path.
2. then restart cobblerd service and check the status.
#systemctl restart cobblerd.serivce

#systemctl status cobblerd.service
3. If you do not need that Distribution [12sp4_test], you can delete that item on the WEB GUI.
4. Try to delete the system profile again.
 

Cause

The cobblerd status shows failed after restarting the spacewalk-service or cobblerd service due to the image was not mounted. 

Additional Information

If the above steps still cannot delete the system profile, please run the 'supportconfig' command as root user 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:27-Oct-2020
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@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