You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing cobbler buildiso --systems="example" the ISO is not built successfully.
Steps to reproduce
Add an image to Cobbler
Add a system with the previously added image as a parent
Run cobbler buildiso ...
See below stacktrace
Expected behavior
cobbler buildiso will succeed without problems.
Cobbler version
3.3.3
Operating system
openSUSE Leap/Tumbleweed
Cobbler log
[2022-08-10_124242_buildiso] 2022-08-10T12:42:43 - INFO | copying kernels and initrds for standalone distro
[2022-08-10_124242_buildiso] 2022-08-10T12:42:43 - INFO | processing system: suma-cobbler-test-cli-sles15.tf.local:1
[2022-08-10_124242_buildiso] 2022-08-10T12:42:43 - INFO | Exception occurred: <class 'AttributeError'>
[2022-08-10_124242_buildiso] 2022-08-10T12:42:43 - INFO | Exception value: 'NoneType' object has no attribute 'name'
[2022-08-10_124242_buildiso] 2022-08-10T12:42:43 - INFO | Exception Info:
File "/usr/lib/python3.6/site-packages/cobbler/remote.py", line 100, in run
rc = self._run(self)
File "/usr/lib/python3.6/site-packages/cobbler/remote.py", line 175, in runner
self.options.get("xorrisofs_opts", ""),
File "/usr/lib/python3.6/site-packages/cobbler/api.py", line 1909, in build_iso
distro_name=distro_name, systems=systems, exclude_dns=exclude_dns)
File "/usr/lib/python3.6/site-packages/cobbler/actions/buildiso/netboot.py", line 567, in run
self.generate_netboot_iso(systems, exclude_dns)
File "/usr/lib/python3.6/site-packages/cobbler/actions/buildiso/netboot.py", line 534, in generate_netboot_iso
self._generate_netboot_system(system, cfglines, exclude_dns)
File "/usr/lib/python3.6/site-packages/cobbler/actions/buildiso/netboot.py", line 460, in _generate_netboot_system
distname = self.make_shorter(dist.name)
Screenshots
None
Additional information
Found during stabilization of Cobbler for Uyuni/SUSE Manager by @meaksh.
The text was updated successfully, but these errors were encountered:
Describe the bug
When executing
cobbler buildiso --systems="example"
the ISO is not built successfully.Steps to reproduce
cobbler buildiso ...
Expected behavior
cobbler buildiso
will succeed without problems.Cobbler version
Operating system
openSUSE Leap/Tumbleweed
Cobbler log
Screenshots
None
Additional information
Found during stabilization of Cobbler for Uyuni/SUSE Manager by @meaksh.
The text was updated successfully, but these errors were encountered: