Page MenuHomeVyOS Platform

cloud-init DNS search-domain causes configuration migration/validation error
Closed, ResolvedPublicBUG

Description

Hello VyOS developers,

I'm running into an issue that looks very much like a bug to me. When running a custom build of 1.4, build on February 9th, 2024, and subsequently using the vyos-vm-images ansible playbooks to generate a qemu image for use in Proxmox with cloud-init, the configuration fails to boot every time a DNS search domain is set.

This seems to happen late enough in the configuration that I'm able to correct the issue, but attempting to merge in the failed cloud-init configuration results in:

[Errno 1] failed to run command: /opt/vyatta/sbin/my_set system domain-search domain 'mydomain.com'
returned: Configuration path: [system domain-search domain mydomain.com] is not valid

If this is useful, Build commit ID here is: 97481cb8ba4011

Happy to provide further logs if needed.

Details

Version
1.4-rolling-202402092255
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

Viacheslav changed the task status from Open to Needs reporter action.Feb 19 2024, 11:50 AM

I'll get a new build going and give this another test.

For reference, I may have been a bit premature in posting this in general, as I beleive the way custom CI configs are passed in Proxmox to the underlying VM changed recently.

Thanks for getting back to me so quickly here.

Viacheslav claimed this task.