-
Notifications
You must be signed in to change notification settings - Fork 993
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
Fixes #36886 - upload facts for new hosts #9888
Conversation
Thoughts about this @ares ? |
Oops sorry, please ping me on matrix in case you need my attention. I'm trying to better understand the motivation. Based on the RM ticket, I feel like the facts were ignored because the host was in build mode. That is correct, we ignore facts (primarily puppet facts) while host is in build mode, because the puppet agent runs in Anaconda environment. I assume, this is supposed to update sub-man facts right after the build mode is disabled but it could still be before the reboot. I think a better place would be in the post-reboot template, once #9677 gets merged. |
Thanks for your reply. post-reboot would be a good place but I'm unsure if all OSses would be then supported. Even, it depends on a final reboot after installation is done or not. |
@sbernhard @ares any agreement on the approach? |
Thoughts @stejskalleos / @ares? |
ping.... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍏 LGTM, we have the same approach for global registration.
Thanks @sbernhard |
This was merged with super old test results and broke things as not all snapshots were uptodate. 😿 |
I'm very sorry I didn't reply earlier, as stated above, feel free to ping me on matrix. The reason why we didn't upload facts from provisioning template is, that the facts come from Installer env, not the actual installed OS. That means you'll get e.g. wrong kernel version etc. I believe that's why we ignore facts while the host is in the build mode, even though puppet already uploads them on the first run. This may bite us in the future. |
But is that really bad? I mean most facts would end up correct, and the ones that would not will get updated the next time the "real" OS runs a fact upload? |
No description provided.