-
-
Notifications
You must be signed in to change notification settings - Fork 650
Sync fails during writing PXE file #2680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I suspect that this may relate to #2681, but I am not sure yet. |
Arghhh I tested that case and it is still bugged. I believe I needs to debug that deeper... |
That is happening due to the fact that I rewrote how children and parents are resolved. This means at this point we need to look a child up and now we do this with a not exisiting one which means the children dict is not consistent or I havn't added a correct skip condition (e.g. when there are no children for an object). |
Okay the code in question is Lines 608 to 612 in 8000 998e3f5
To my understanding the child should never be |
I believe to find the root cause we need to check the following things:
|
Okay I found a possible candidate: In the file EDIT: To be more precise: That means that you have dead children entries in your item because children don't get popped on removal. |
I can't reproduce this at all but even worse I don't get any config files for any bootloader configs at all... My steps were the following (taken from bash history):
Result:
This of course is then not a PXE based distro/profile but a Grub based but I still don't get any results. I tried to set the bootloader to PXE after the import but also the |
You have to enable netboot for the system. |
Okay when not setting a bootloader on the system it gets not inherited by the distro. This needs to be fixed aswell. |
Okay now with |
You do? I can't anymore xD |
Okay so I can't reproduce above original stacktrace. My comment was referring to the stacktrace in the Gitter Chat
This is actually not a bug but a behavior change. If you do a
for example the inheritance to the profile is working again. I believe that this will be a usability problem in many other places, so I think we need to improve this situation before the release because most people won't read the docs to actually understand this. What also doesn't help is the misleading error message. |
I will close this issue because noone is able to reproduce it anymore, the discussion about the improvements we can do in the related PR (#2684) or in another issue. |
Remove child reference on parent on collection.remove()
Describe the bug
cobbler sync
fails with the following error if some of my systems havebootloaders set to "pxe":
Steps to reproduce
Expected behavior
The command should not fail.
Cobbler version
Operating system
CentOS 8.
Cobbler log
The text was updated successfully, but these errors were encountered: