oci-utils icon indicating copy to clipboard operation
oci-utils copied to clipboard

oci-network-config errors if exists interface that isnt a vnic

Open ldlda opened this issue 1 year ago • 0 comments

tailscale network interface (or any other) makes this tool error

opc at lda in ~
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 02:00:17:01:17:c5 brd ff:ff:ff:ff:ff:ff
3: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 02:00:17:00:bb:cf brd ff:ff:ff:ff:ff:ff
11: tailscale0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 500
    link/none

opc at lda in ~
$ tailscale down

opc at lda in ~
$ sudo systemctl disable tailscaled
Removed "/etc/systemd/system/multi-user.target.wants/tailscaled.service".

opc at lda in ~
$ sudo oci-network-config configure
Failed to configure network: 'NoneType' object has no attribute 'upper'

opc at lda in ~
$ sudo nmcli device disconnect tailscale0
Device 'tailscale0' successfully disconnected.

opc at lda in ~
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 02:00:17:01:17:c5 brd ff:ff:ff:ff:ff:ff
3: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 02:00:17:00:bb:cf brd ff:ff:ff:ff:ff:ff

opc at lda in ~
$ sudo oci-network-config configure
Configured

For the support Service Report it is 4-0000115497

ldlda avatar Jan 12 '25 13:01 ldlda