No way to easily view dynamic IPs handed out via DHCP

Bug #1389802 reported by Christian Reis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Wishlist
Unassigned

Bug Description

Running our own DHCP server with a dynamic range allows us to provision everything from BMCs to standalone devices. However, there is no way in MAAS to see what dynamic leases have been delivered without looking at the syslog. What's more, this information is really helpful if you are configuring new nodes and need the BMC MAC and IP (as in the case of NUC machines, see bug 1389799).

Tags: ux
Revision history for this message
Christian Reis (kiko) wrote :

Probing the logs returns interesting information:

async@malzinho:~$ grep -e DHCPREQUEST /var/log/syslog | grep dhcpd
Nov 4 17:45:51 malzinho dhcpd: DHCPREQUEST for 10.99.1.50 (10.99.1.1) from 00:25:90:cf:33:21 via eth0
Nov 4 17:47:08 malzinho dhcpd: DHCPREQUEST for 10.99.1.51 (10.99.1.1) from 00:25:90:e3:28:36 via eth0
Nov 4 17:47:50 malzinho dhcpd: DHCPREQUEST for 10.99.1.51 (10.99.1.1) from 00:25:90:e3:28:36 (maas-enlist) via eth0
Nov 4 17:51:25 malzinho dhcpd: DHCPREQUEST for 10.99.1.51 (10.99.1.1) from 00:25:90:e3:28:36 via eth0
Nov 4 17:57:15 malzinho dhcpd: DHCPREQUEST for 10.99.1.53 (10.99.1.1) from 00:25:90:ce:df:7f via eth0
Nov 4 17:57:44 malzinho dhcpd: DHCPREQUEST for 10.99.1.54 (10.99.1.1) from 00:25:90:e1:63:7c via eth0
Nov 4 17:58:31 malzinho dhcpd: DHCPREQUEST for 10.99.1.54 (10.99.1.1) from 00:25:90:e1:63:7c (maas-enlist) via eth0
Nov 4 18:41:47 malzinho dhcpd: DHCPREQUEST for 10.99.1.56 (10.99.1.1) from ec:a8:6b:fa:8d:e5 (nuc0amt) via eth0
Nov 4 18:43:02 malzinho dhcpd: DHCPREQUEST for 10.99.1.57 (10.99.1.1) from ec:a8:6b:fa:8d:e5 via eth0
Nov 4 19:04:39 malzinho dhcpd: DHCPREQUEST for 10.99.1.51 (10.99.1.1) from 00:25:90:e3:28:36 via eth0
Nov 4 19:04:42 malzinho dhcpd: DHCPREQUEST for 10.99.1.54 (10.99.1.1) from 00:25:90:e1:63:7c via eth0
Nov 4 19:04:43 malzinho dhcpd: DHCPREQUEST for 10.99.1.57 (10.99.1.1) from ec:a8:6b:fa:8d:e5 (tame-bottle) via eth0
Nov 4 19:05:37 malzinho dhcpd: DHCPREQUEST for 10.99.1.51 (10.99.1.1) from 00:25:90:e3:28:36 (ample-dirt) via eth0
Nov 4 19:05:42 malzinho dhcpd: DHCPREQUEST for 10.99.1.54 (10.99.1.1) from 00:25:90:e1:63:7c (smug-pigs) via eth0
Nov 4 19:06:48 malzinho dhcpd: DHCPREQUEST for 10.99.1.57 from ec:a8:6b:fa:8d:e5 (tame-bottle) via eth0
Nov 4 19:07:34 malzinho dhcpd: DHCPREQUEST for 10.99.1.58 (10.99.1.1) from 00:25:90:e1:63:7d (smug-pigs) via eth0

Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is all currently tracked in the maasserver_dhcplease table courtesy of the lease parser. There is no web view for it though; I think this is probably part of the work for tracking unmanaged devices on the network.

However, we've talked about getting rid of the leases parser, it sounds like you want to keep it now.

tags: added: ux
Changed in maas:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Carla Berkers (carlaberkers) wrote :

in 1.9, users can see this info on the subnet details page.

Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
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.