Open XLordalX opened 11 months ago
So what is the problem here? The logs you posted are not from the installation, and they point towards network error.
During the installation Talos only pulls the installer image.
Registry mirror configuration works during the initial install as well.
@smira The network error only occurs during installation. If I remove the mirror config before installation and add it back after installation, it works fine.
Please provide the error during the installation.
@smira Actually, looks like I was wrong about being able to reach the mirror after installation. It seems that talos is unable to reach the local network at 10.44.0.0/16 at all.
This is my network configuration:
machine:
network:
interfaces:
- interface: eth0
routes:
- network: 10.44.0.0/16
gateway: 10.44.0.1
I am able to ping the gateway from a pod just fine, but cannot ping any other servers on the same local network while I can ping the talos node from other servers on the network. Any ideas how to debug this?
The configuration makes sense to me, but I certainly don't know how it should be configured.
What is strange is that there's no address assigned to the machine, only a route.
Usually debugging involves taking packet dumps at different points to see what might be wrong.
I have this bug too. my mirror is internal domains. I have tested them by 'docker pull
@soulwhisper your error is different and not related to the above, and that looks like misconfiguration.
@smira so how could i dig deeper into what happened when bootstrap talos cluster? Theoretically, containerd image pull should try mirror first, then directly. That is where i get this error. But how can I check this failed mirror pull log?
@smira so how could i dig deeper into what happened when bootstrap talos cluster? Theoretically, containerd image pull should try mirror first, then directly. That is where i get this error. But how can I check this failed mirror pull log?
first, you should probably open a separate issue or a github discussion.
second, the error is there in your message, it's not found
, so the image is not in your mirror (it's in gcr.io
, so the problem is with your mirror); Talos doesn't fallback to upstream registry unless you configure it to do so. you can check your mirror logs to see what is wrong. You can also look into the docs.
@smira piggy backing off this, how does one configure Talos to fallback to the upstream registry? I could not find anything in the docs or config reference that describes this.
By injecting the endpoint of the upstream registry as the (last) option.
Thanks I gave that a shot. Seems like talos doesn't fallback if it's a non-network error.
Bug Report
Description
Image mirror on private network not working during initial installation.
I tried configuring the network interface, with no luck:
It works perfectly fine when I enable it after bootstrap, so the registry is definitely working.
Logs
Environment