-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Network plugin does not set DNS server when using Proxmox #56
Comments
Hello, Can you share the cloud config drive format (aka what metadata type is loaded by cloudbase-init)? Is it NoCloud? Also, if you could share the metadata files from the metadata ISO attached by proxmox, that would be great. Thank you. |
It is probable that cloud-init does not use the debiface network config, but a more advanced one from the metadata (I need the metadata files from the config drive ISO to confirm this). If that is the case, the cloudbase-init logs would be required too, to check why the advanced version was not used. |
For metadata we are using: Here is the contents of
Here are the contents of
|
Hello, Can you share the openstack/latest/content/0000? r"(dns-nameservers\s+)|(dns_nameservers\s+)|(dns-nameserver\s+)|(dns_nameserver\s+)(?P<dnsnameservers>.+)" Can you try the regexp above? EDIT: the above regexp works only for dns_nameserver case. Thank you, |
Correct regexp:
|
Any update on this? |
same issue :( |
Same problem with Proxmox 6.4-4
It generated by configdrive2_network After applying proposed changes I get this in logs:
No dns nameservers configured. Switching to 'nocloud' is also not possible, as proxmox generating ISO without joliet-long extension, and file |
For someone who want to make it work with proxmox:
Not sure that it will be applied to cloudbase-init, probably it should be fixed in proxmox with moving to |
When using Proxmox the config that is generated for cloud-init has the DNS server key as "dns_nameserver" but the network plugin expects it to be "dns-nameserver".
I don't know cloudinit like, at all really, so I don't know if the standard allows both or what. I know the cloudinit config works for our Ubuntu images which makes me lean towards the standard, or at least the normal implementation of it, works with either.
I believe this is the responsible regex causing the issue: https://github.com/cloudbase/cloudbase-init/blob/master/cloudbaseinit/utils/debiface.py#L56
The text was updated successfully, but these errors were encountered: