Public bug reported:

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

** Affects: pump (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: netplan openstack ubuntu18.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1873969

Title:
  VM  extra network interface on Ubuntu 18.04 on OpenStack

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pump/+bug/1873969/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to