Focal verification:
1- install landscape client on a machine that is running focal, the
proposed version of landscape-client and has at least one interface in
the DOWN state (or with no IP address).
root@build-focal:~# ip a
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
16: eth0@if17: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP group default qlen 1000
link/ether 00:16:3e:b6:2d:33 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.30.157.254/24 metric 100 brd 10.30.157.255 scope global dynamic eth0
valid_lft 3334sec preferred_lft 3334sec
inet6 fe80::216:3eff:feb6:2d33/64 scope link
valid_lft forever preferred_lft forever
18: eth2@if19: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP group default qlen 1000
link/ether 00:16:3e:8c:f6:f1 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::216:3eff:fe8c:f6f1/64 scope link
valid_lft forever preferred_lft forever
20: eth6@if21: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP group default qlen 1000
link/ether 00:16:3e:f9:03:b7 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 192.168.126.242/24 metric 100 brd 192.168.126.255 scope global dynamic
eth6
valid_lft 3334sec preferred_lft 3334sec
inet6 fe80::216:3eff:fef9:3b7/64 scope link
valid_lft forever preferred_lft forever
root@build-focal:~# cat /etc/os-release | grep VERSION
VERSION="20.04.6 LTS (Focal Fossa)"
VERSION_ID="20.04"
VERSION_CODENAME=focal
root@build-focal:~# apt list landscape-client
Listing... Done
landscape-client/focal-proposed,now 23.02-0ubuntu1~20.04.4 amd64 [installed]
In this case eth2 is an interface with no IP address, but a valid MAC address.
2- Running landscape-api get-computers --with-network --json we get the
following output section for the network devices of the machine I am testing on
(full output truncated for readability):
...
"network_devices": [
{
"interface": "eth0",
"ip_address": "10.30.157.254",
"mac_address": "00:16:3e:b6:2d:33",
"broadcast_address": "10.30.157.255",
"netmask": "255.255.255.0",
"speed": 10000,
"duplex": true
},
{
"interface": "eth2",
"ip_address": "0.0.0.0",
"mac_address": "00:16:3e:8c:f6:f1",
"broadcast_address": "0.0.0.0",
"netmask": "0.0.0.0",
"speed": 10000,
"duplex": true
},
{
"interface": "eth6",
"ip_address": "192.168.126.242",
"mac_address": "00:16:3e:f9:03:b7",
"broadcast_address": "192.168.126.255",
"netmask": "255.255.255.0",
"speed": 10000,
"duplex": true
}
]
...
As we can see all three interface show up including eth2 with the
correct placeholders used for an interface with the IP address.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2052834
Title:
Incomplete network info showing in both web and API :: landscape-
server 23.03
To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape/+bug/2052834/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs