VM extra network interface on Ubuntu 18.04 on OpenStack

Bug #1873969 reported by MOHAMED EL GAMAL
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pump (Ubuntu)
New
Undecided
Unassigned

Bug Description

Second interface dosnt get an ip address when configuring with openstack

Openstack instance configuration
internal-10.20.10
10.20.10.18
internet
10.20.100.18

in the VM after starting

ubuntu@node11:~$ ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether fa:16:3e:79:cf:fc brd ff:ff:ff:ff:ff:ff
    inet 10.20.100.18/24 brd 10.20.100.255 scope global dynamic ens3
       valid_lft 83172sec preferred_lft 83172sec
    inet6 fe80::f816:3eff:fe79:cffc/64 scope link
       valid_lft forever preferred_lft forever
3: ens4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether fa:16:3e:6a:69:57 brd ff:ff:ff:ff:ff:ff

ens4 second interfaces dosnt get an IP address

 cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    version: 2
    ethernets:
        ens3:
            dhcp4: true
            match:
                macaddress: fa:16:3e:79:cf:fc
            set-name: ens3

the only work around is to configure statically without DCHP as not to have a conflicting default GW

        ens4:
            dhcp4: false
            addresses: [10.20.10.18/24]

It should be auto setup without conflicing GW

Please treat it as urgent

Question already raised multiple times

https://askubuntu.com/questions/1167839/how-to-add-second-extra-network-interface-on-ubuntu-18-04-vm-on-openstack/1228979#1228979

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.