MAAS machine commissioning fails in "20-dhcp-unconfigured-ifaces "

Bug #2059953 reported by Andreas
This bug affects 2 people
Affects Status Importance Assigned to Milestone
maas (Ubuntu)

Bug Description

Every time I try to comission new machines in (snap maas 3.4.1-14343-g.a552d2522 34087 3.4/stable canonical) (3 HPE Apollo Servers ProLiant X450 G9) it fails as seen below:

INFO: Discovered interfaces - eno49, eno50
INFO: Unconfigured IPv4 interfaces - eno50
INFO: Unconfigured IPv6 interfaces - eno49, eno50
INFO: Running dhclient -4 on eno50...
Traceback (most recent call last):
  File "/tmp/", line 161, in <module>
  File "/tmp/", line 102, in dhcp_explore
    call(["dhclient", "-nw", "-4", iface])
  File "/usr/lib/python3.12/", line 389, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.12/", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/", line 1953, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'dhclient'

Revision history for this message
Evan Ruffini (eruffini) wrote :

Just adding some additional context - possible bug or compatibility issue with 24.04.

Ran into this problem with latest version of MAAS 3.4, and attempting to commission nodes with 24.04. Downgraded commissioning to 22.04 and it succeeded.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maas (Ubuntu):
status: New → Confirmed
Revision history for this message
David Torrey (dotj) wrote (last edit ):

Temporary workaround I used:

Create a custom commissioning script "10-maas-extra-packages" with the contents:


apt update
apt -y install isc-dhcp-client

This gets executed prior to 20-maas-02-dhcp-unconfigured-ifaces, which then runs successfully.

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.