8000 Exception "autoinstall_snippets_dir" is required to find snippets for windows · Issue #3819 · cobbler/cobbler · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Exception "autoinstall_snippets_dir" is required to find snippets for windows  #3819
Closed
@sergey-ganchuk

Description

@sergey-ganchuk

Describe the bug

I'm trying to create system based on windows profile.
cobbler sync fails.

message in cobbler log:
"autoinstall_snippets_dir" is required to find snippets

Steps to reproduce

  1. import windows iso: cobbler import --path=/mnt --name=win11
  2. create system linked to win11 profile
  3. run cobbler sync

Expected behavior

cobbler sync should end without error

Cobbler version

Cobbler 3.3.6
  source: df356046, Tue Jul 16 11:51:24 2024 +0200
  build time: Wed Sep  4 07:51:36 2024

Operating system

Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

Cobbler log

 "autoinstall_snippets_dir" is required to find snippets
#   File "/usr/local/lib/python3.10/dist-packages/cobbler/templar.py", line 213, in render_cheetah
#     data_out = str(generated_template_class)
#
#   File "/usr/local/lib/python3.10/dist-packages/Cheetah/Template.py", line 1053, in __unicode__
#     return getattr(self, mainMethName)()
#
#   File "cheetah_cobbler.template_api_1725438165_04825_46539.py", line 100, in respond
#
#   File "cheetah_cobbler.template_api_1725438165_04825_46539.py", line 71, in __errorCatcher1
#
#   File "<string>", line 1, in <module>
#
#   File "/usr/local/lib/python3.10/dist-packages/cobbler/template_api.py", line 189, in SNIPPET
#     result = self.BuiltinTemplate.SNIPPET(self, file)
#
#   File "DynamicallyCompiledCheetahTemplate.py", line 87, in SNIPPET
#
#   File "/usr/local/lib/python3.10/dist-packages/cobbler/template_api.py", line 157, in read_snippet
#     raise AttributeError("\"autoinstall_snippets_dir\" is required to find snippets")
#

Screenshots

Additional information

also on version 3.3.4

Metadata

Metadata

Assignees

534A

Labels

3.3.4Release 3.3.43.3.6Release 3.3.6Bug ReportReporting a bug

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0