SUSE Support

Here When You Need Us

There are errors in your kickstart/autoyast template. Please check the 'Autoinstallation File' tab to determine the problem with the template.

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

Environment

SUSE Manager Server 4.2


Situation

Create an Autoinstallation profiles with Autoyast Template, error message shows "There are errors in your kickstart/autoyast template. Please check the 'Autoinstallation File' tab to determine the problem with the template." It is a tricky message because no syntax error on Autoyast.xml.


Apache error messages (cat /var/log/apache2/error_log): 

[Tue Oct 19 08:00:08.728493 2021] [wsgi:error] [pid 9000] [client 10.0.14.188:54814] Target WSGI script not found or unable to stat: /srv/www/cobbler/svc
[Tue Oct 19 08:01:05.664109 2021] [wsgi:error] [pid 11007] [client 10.0.14.188:54886] Target WSGI script not found or unable to stat: /srv/www/cobbler/svc
[Tue Oct 19 08:01:29.568177 2021] [wsgi:error] [pid 30814] [client 10.0.14.188:54918] Target WSGI script not found or unable to stat: /srv/www/cobbler/svc
[Tue Oct 19 08:18:53.555806 2021] [wsgi:error] [pid 30814] [client 10.0.14.188:55468] Target WSGI script not found or unable to stat: /srv/www/cobbler/svc



Files located at /srv/www/cobbler/ directory:

drwxr-xr-x 3 root root 60 Nov 1 15:54 images
drwxr-xr-x 2 root root 6 Sep 14 18:11 rendered

Resolution

1) Please re-install the cobbler packages that contains the missing file(s).

zypper in -f cobbler

2) Files located at /srv/www/cobbler/svc/ directory

ll /srv/www/cobbler
total 0
drwxr-xr-x 3 root root 20 Nov  2 10:16 distro_mirror
drwxr-xr-x 3 root root 60 Oct 12 07:52 images
drwxr-xr-x 2 root root  6 Oct 12 07:52 links
drwxr-xr-x 2 root root  6 Oct 12 07:52 localmirror
drwxr-xr-x 2 root root 39 Nov  2 10:16 misc
drwxr-xr-x 2 root root  6 Oct 12 07:52 pub
drwxr-xr-x 2 root root  6 Oct 12 07:52 rendered
drwxr-xr-x 2 root root  6 Oct 12 07:52 repo_mirror
drwxr-xr-x 2 root root 25 Nov  2 10:16 svc

3) Refresh the profiles page, the error should be gone

Cause

This error message caused by missing services.py on /srv/www/cobbler/svc/ directory.

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:000020421
  • Creation Date: 01-Nov-2021
  • Modified Date:02-Nov-2021
    • SUSE Manager Server

< 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.