View Issue Details

IDProjectCategoryView StatusLast Update
0005314Rocky-Linux-9cloud-initpublic2025-04-09 16:02
ReporterFlorian Apolloner Assigned ToLouis Abel  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0005314: cloud-init fails to configure DNS/search domains for network-config v1
DescriptionI am using proxmox as hypervisor and the generated cloud-init configuration looks like this:

```
version: 1
config:
    - type: physical
      name: eth0
      mac_address: '86:bb:06:ac:d6:b1'
      subnets:
      - type: static
        address: '10.7.203.211'
        netmask: '255.255.224.0'
        gateway: '10.7.192.1'
    - type: nameserver
      address:
      - '10.7.192.2'
      - '10.7.192.3'
      search:
      - 'domain.ext'
```

When running such a VM the nameserver entries are not applied

This is fixed upstream via:

https://github.com/canonical/cloud-init/commit/c2c100e8c9fd8709539b3ab2b0ee34c66ba3f2f7
and
https://github.com/canonical/cloud-init/commit/0d787d0a262f70ff848b315633742aa8fc45a1de

RHEL report: https://issues.redhat.com/browse/RHEL-20964
Steps To ReproduceBoot VM with above network configuration
cat /etc/resolv.conf
TagsNo tags attached.

Activities

Florian Apolloner

Florian Apolloner

2024-04-08 09:15

reporter   ~0006634

This is fixed upstream (centos stream) with cloud-init-23.4-8.el9
Louis Abel

Louis Abel

2025-04-09 16:02

administrator   ~0009778

Marked as fixed upstream.

Issue History

Date Modified Username Field Change
2024-01-09 09:48 Florian Apolloner New Issue
2024-04-08 09:15 Florian Apolloner Note Added: 0006634
2025-04-09 16:02 Louis Abel Assigned To => Louis Abel
2025-04-09 16:02 Louis Abel Status new => closed
2025-04-09 16:02 Louis Abel Resolution open => fixed
2025-04-09 16:02 Louis Abel Note Added: 0009778