Comment 4 for bug 1594546

Revision history for this message
Baodong (Robert) Li (baoli) wrote :

I'm still seeing this issue with
    cloud-init 0.7.9-113-g513e99e0-0ubuntu1~16.04.1

With the command:
 vconfig add ens3 add 2000

an interface with the name 'rename<ifno>@ens3' was added, however the interface would never come up. Systemd-udevd was trying to rename ens3.2000 to ens3 due to the systemd link file 50-cloud-init-ens3.link that was added by cloud-init.

I'm running a ubuntu xenial cloud image

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

So basically it's Debian Distro. Checking the code in distros/debian.py,
    renderer_configs = {
        "eni": {"eni_path": network_conf_fn["eni"],
                "eni_header": ENI_HEADER}

        "netplan": {"netplan_path": network_conf_fn["netplan"],
                    "netplan_header": ENI_HEADER,
                    "postcmds": True}
    }

adding the following to the "eni" dict solved the issue:
               "links_path_prefix": None

Is this still a bug?