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
The execution fails because the image is delivered without package cache. If I manually preheat the cache (apt-get update) , everything goes well. According to the tasks/main.yaml file, the cache warm up is intended in the install bootstrap packages (raw) step. But in my case, the step is not executed since the test connection went successful.
I didn't get if the install bootstrap packages (package) task is supposed to act as a safety net and only checks if the raw step has been executed or if it is also supposed to install packages. If the latter, I would create a PR add an OS specific "update cache" task.
Can you please help shed some light on this?
The text was updated successfully, but these errors were encountered:
That's a good catch. I indeed thought pre-heating was only required when packages are installed using "raw", but you are correct, pre-heating may be required for machines that do have python installed already.
@robertdebock, thanks for clarification. I am almost done with the PR. However, now I have a completely different question:
Does it make sense to distinguish between systems with and without Python when exactly the same packages are installed? If we would always run the raw task, we could reduce the complexity and get the same result. Or did I miss anything?
Hey @robertdebock,
happy new year! I have come across an issue that can be fixed in several ways. I wanted to get your opinion before I create a pull request.
Describe the bug
When I run the role against the official Debian 11 cloud image, I get the following error message:
The execution fails because the image is delivered without package cache. If I manually preheat the cache (
apt-get update
) , everything goes well. According to thetasks/main.yaml
file, the cache warm up is intended in theinstall bootstrap packages (raw)
step. But in my case, the step is not executed since thetest connection
went successful.I didn't get if the
install bootstrap packages (package)
task is supposed to act as a safety net and only checks if the raw step has been executed or if it is also supposed to install packages. If the latter, I would create a PR add an OS specific "update cache" task.Can you please help shed some light on this?
The text was updated successfully, but these errors were encountered: