-
Notifications
You must be signed in to change notification settings - Fork 24
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
Possible wrong Cloud-Init network-config generated file #51
Comments
As I can see, you're trying to use Talos as a control-plane and bootstrap provider. |
Thanks for changing my submission with type 'support'. |
Hmmm, I don't know how Talos load the cloud-init iso, If you know something, I can help you add support for Talos. |
As far as I know, Talos expects cloud-init datasource to be in "nocloud" format. In this format, network-config file can't start with "network:". |
A couple of usefull links: |
Will check this out |
This is the console output of Talos NoCloud booting image regarding the issue:
|
I will check this if it works with other netplans distros, and then I will implement it |
I'm really looking forward to hearing good news from you. |
I will test it on ubuntu but can you tested on Talos, |
What am I supposed to test? Release 0.1.1? |
Currently, we support only Netplan-based distros, If someone wants to take effort and add this, it will be great. |
OK. It was expected. |
We will try to support this soon. |
I would like to share my experience about using CAPMOX with TALOS.
TALOS dislikes defining static routes in place of gateways and perhaps even defining nameservers for each device. |
Thanks for sharing, |
We have released a new version. |
I'm trying to make nocloud template string work like the netplan one as much as possible. But there is an issue. |
Oh, no |
I will create new issue, so we can take this as a feature to support multiple cloud-init network-config. However, DHCP will be included in the next release, i don't know if that helps you. |
Issue is added |
One workaround I've found is to add an illegal gateway (169.254.255.254 for example). Cluster-api-provider-ipam-in-cluster will accept this, and netplan will ignore it when applying with a warning. |
I have been trying to get the talos bootstrap provider and proxmox infrastructure provider together the whole morning. Running into the network-config metadata version=0 is not supported issue... So glad to finally find this github issue about it, meaning that I probably did nothing wrong in my configuration :) Has there been any progress on the topic since January? Could possibly some sort of variable be added that makes it generate the cidata in the nocloud format such that it is compatible with talos? |
Unfortunately not. We don't use Talos and as such we can't commit to adding support for it. Patches welcome, of course, and we are more than happy to accept additional maintainers :-) |
CAPMOX works well with TALOS. But it needs some patches to the CAPMOX's code.
It's not tested against vrf. My use case is two ethernets, public and private. |
Thanks! This patch appears to be working. I am now getting past the point where it was complaining that: "network-config metadata version=0 is not supported" :) On a related point, how are you setting up the initial network for the control plane using Talos and Proxmox? I am attempting to use the VIP solution built into Talos but it seems to not be working... If you don't mind it would be very nice to see an example of your TalosControlPlane and ProxmoxCluster objects |
For networking I use Cilium without kube-proxy.
|
@ricottatosta Thank you for this - can you submit it as a PR, please? |
What steps did you take and what happened:
Sorry I submit this as a bug, but maybe it isn't.
When deploying a cluster with Talos as provider for bootstrap and controlplane, Talos' init process finds a cloud-init drive, but then complains about network-config file. Talos' error says: "network-config metadata version=0 is not supported", maybe because it starts with "network:". Is it supported? Reading the manual, it shouldn't.
cloud-init manual
What did you expect to happen:
Maybe cluster deployment should generate a network-config file starting without a top level "network:".
Environment:
kubectl version
): 1.28.3/etc/os-release
): Talos 1.5.5The text was updated successfully, but these errors were encountered: