Comment 1 for bug 1962178

Revision history for this message
Rafael Castillo (rafaelcastillo) wrote : Re: undercloud vm not leasing ip address in minimal libvirt deploy

Poking around the undercloud vm:

[root@undercloud ~]# nmcli con
NAME UUID TYPE DEVICE
ens3 e6701eae-b871-4862-aedf-112626424326 ethernet --
[root@undercloud ~]# nmcli device
DEVICE TYPE STATE CONNECTION
eth0 ethernet disconnected --
eth1 ethernet disconnected --
lo loopback unmanaged --
[root@undercloud ~]# nmcli con up ens3
Error: Connection activation failed: No suitable device found for this connection (device eth0 not available because profile is not compatible with device (mismatching interface name)).
[root@undercloud ~]# nmcli device up eth0
Device 'eth0' successfully activated with 'c81cbd6d-7570-4383-9d23-48bd10fc8a7d'.
[root@undercloud ~]# nmcli con
NAME UUID TYPE DEVICE
eth0 c81cbd6d-7570-4383-9d23-48bd10fc8a7d ethernet eth0
ens3 e6701eae-b871-4862-aedf-112626424326 ethernet --
[root@undercloud ~]# ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:88:20:5b:ce:e1 brd ff:ff:ff:ff:ff:ff
    altname enp0s3
    altname ens3
    inet 192.168.23.30/24 brd 192.168.23.255 scope global dynamic noprefixroute eth0
       valid_lft 3505sec preferred_lft 3505sec
    inet6 fe80::8534:9a97:d31d:6966/64 scope link noprefixroute
       valid_lft forever preferred_lft forever