-
Notifications
You must be signed in to change notification settings - Fork 35
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
Omni : problem to use an OnPrem image-factory #711
Comments
I have verified that Image Factory and Omni can be upgraded normally in an on-prem environment. I think there should be a problem with your Omni configuration. You need to configure registry-mirror for omni and point "factory.talos.dev" to your own "image-factory" address;
---Talos Update Logs(1.7.6 to 1.7.7)---
---Image Factory Logs---
|
It is not working for me because when I launched the upgrade, the first node (a controlplane one) is trying to access to factory.talos.dev to get its image and not my OnPrem factory. And since it can't access Internet (we are behind a FW), it is failing. I think that omni is passing by default "factory.talos.dev" instead of my factory URL to node.
|
I use it in the Airgap environment without any problems. Let's analyze the principle;
|
Other troubleshooting steps:
|
Thank you for your answer. But unfortunately it won't work because the problem seems to be that Nevertheless, I have found a workaround with your suggestions. I added theses lines in my cluster patches :
And it works ! So I keep my issue open. |
I'm glad to see that you solved the problem. --registry-mirror= |
I tried this and it does not work. Sorry. |
I can confirm that my --registry-mirrors is working.
|
@flpajany I know why it doesn't work, because the --registry-mirror parameter needs to be configured before creating the cluster. |
@6547709 Wouah it works with 0.43.2 when machines were in a cluster ! Thank you (I really would like to know how it works). Unfortunatly, when machines are in maintenance mode, they still cannot figure out that factory.talos.dev is in fact my factory
But with my "hack", it is working. |
Is there an existing issue for this?
Current Behavior
I have installed an image-factory (v0.5.0) in a docker running on my machine where omni OnPrem is running too.
Here is the command I execute :
But when I launch an upgrade for a machine, in the logs, I found this line :
It is trying to download the installer from the official factory and not my own.
Asking for help.
Thanks,
Regards
Expected Behavior
I wish to find this line when my machine lauched a talos upgrade :
Steps To Reproduce
omni
with option --image-factory-address= (onPrem too)What browsers are you seeing the problem on?
Chrome
Anything else?
I hacked omni code to make it works with standalone machine (in maintenance mode) by doing this :
But to let you know, I make it works by customizing and recompiling omni.
factory.talos.dev
is hardcoded inside de truescript part :But unfortunely, it is not working for nodes inside a configured cluster : it is still trying to contact
factory.talos.dev
.And this time, I can not find any mention of factory.talos.dev in any code (except for tests)...
The text was updated successfully, but these errors were encountered: