-
Notifications
You must be signed in to change notification settings - Fork 576
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
Image cache from ISO not being loaded #9892
Comments
We would need the logs of the machine as it was installing to dig any further. After the install the state looks okay given that the ISO was removed. |
Is there a way to get those logs? Once I sent the config the api was unavailable. Maybe if I connect it to Omni? |
Getting logs is no different than any other Talos usage. Serial console logs are the easiest, make sure console=ttyS0 is set on boot. IPMI, Omni or network log receiver are also options. It depends on your environment |
I tried again with a system that already had talos installed on the disk but was in maintenance mode. Here's what I did. Generated an 8GB raw disk and I then generated a config with the following patch
I applied it to the machine with a full (default) machine config. The nice thing about doing it this way is the machine didn't have to reboot so I didn't lose any logs. I then bootstrapped the system and checked the image cache config and it says the cache is ready (copy skipped which is expected in this case).
When I look at the registryd.log I can see all the image requests and none of them have errors like they did with the ISO. Here's the full support zip just for future reference support.zip I'm still trying to figure out why the ISO isn't working for me and getting full logs from the installer. |
We dug into this some more and the basic issue is I'm not actually booting my physical servers from a real CD. I'm using a USB drive with Ventoy which is booting the ISO image. Here's what we found. Booting the system with ventoy shows the following discovered volumes
I tried a USB drive by restoring the disk volume in gnome disks and also tried
Finally I used a KVM to attach a virtual ISO over USB. This worked and was detected properly by the talos and the image cache worked as expected.
One idea to address this would be to allow the image cache to be pulled from a different location via disk label or partition. |
Clarifying information from siderolabs#9892 Signed-off-by: Justin Garrison <justin.garrison@siderolabs.com>
I still believe directly flashed to the USB should work correctly, that |
Clarifying information from siderolabs#9892 Signed-off-by: Justin Garrison <justin.garrison@siderolabs.com>
Clarifying information from siderolabs#9892 Signed-off-by: Justin Garrison <justin.garrison@siderolabs.com>
Clarifying information from siderolabs#9892 Signed-off-by: Justin Garrison <justin.garrison@siderolabs.com> Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Bug Report
I've been trying to get the image cache to work with an ISO on a bare metal machine.
I created the iso with image cache via
and when I mount the iso on my local machine I can see the image cache directory and blobs
I'm generating a default machine config and applying the following patch
After the machine is installed the imagecacheconfig says it was skipped but I'm not sure why
When I look through the registryd logs I can see all of the images were not found
When I look on the filesystem the /system/imagecache/disk directory is empty
Logs
support.zip
Environment
The text was updated successfully, but these errors were encountered: