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.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
2. then restart cobblerd service and check the status.
#systemctl restart cobblerd.serivce #systemctl status cobblerd.service
4. Try to delete the system profile again.
Cause
Additional Information
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com