No WOL option in latest MAAS version for 16.04 also the Manual settings crashes

Bug #1589140 reported by qwerty on 2016-06-04
This bug affects 8 people
Affects Status Importance Assigned to Milestone

Bug Description

1.) No WOL option in latest MAAS version for Ubuntu 16.04 (don't know about older version). In the drop down menu for selecting the way that MAAS controls the power of the machines does not include WOL anymore. Is this suppose to be this way?

2.) So I used the manual mode for a test setup. I could add a new machine and when added to the MAAS interface. I then clicked on the "Manual" option for power setup. Then I clicked "Commission" and powered on the machine. It got far in the process until the moment it should restart. The machine turns off (where I would come in and restart the machine) and right after (no more than 2 seconds) the machine as been turned off (by MAAS itself) it gives "Commissioning failed". I tried a couple of times and got the latest version of MAAS, but the problem is still there.

Changed in maas:
status: New → Incomplete
Mike Pontillo (mpontillo) wrote :

Thanks for taking the time to report a bug in MAAS.

(1) The WoL option has indeed been removed from MAAS 2.0. If you want to use WoL, we still support it in MAAS 1.9 on Ubuntu 14.04 (Trusty).

(2) We'll need more information about the reason for the commissioning failure in order to troubleshoot this issue. The following information would be useful:

 - The text printed out on the system console you are trying to commission.
 - The contents of /var/log/maas/rsyslog/<node>, where <node> is the node you are trying to commission. (may be pretty much the same as what is printed out on the console, but easier to obtain)
 - Any information from the "Commissioning Output" section of the "Machine Output" page on the details page for that machine.
 - A description of your network; what network interfaces are in use on the region and rack controllers, what subnets are they attached to? Is MAAS serving DHCP for this network, or is it an external DHCP server?
 - The output of "sudo maas-rack support-dump" from your rack controller.
 - (if all else fails) A packet capture on the rack controller during the commissioning process.

Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
Adam Ryczkowski (adam-9) wrote :

Is there any particular reason, why the WOL was removed in the MAAS 2.0?

Adam Ryczkowski (adam-9) wrote :

For those of you, who are interested, here is a walkaround, that involves patching the MAAS:

Have fun with commodity computing!

Jochen Wezel (jwezel) wrote :

Would be great if this issue could be included assigned on road map to one of the next milestones, e.g. v2.3 (Status is currently "expired" ?!?).

I'd be glad if (as posted by Adam Ryczkowski) could already solve the Wake-On-LAN issue as soon as committed (not yet tested).

Josu (jok-erensuge) wrote :

Sadly it dont work at 2.2.1 :(. It say:

$ sudo patch -p1 -d /usr/lib/python3/dist-packages/provisioningserver/ < maas-wakeonlan.diff

patching file drivers/power/
Hunk #1 FAILED at 353.
Hunk #2 FAILED at 371.
2 out of 2 hunks FAILED -- saving rejects to file drivers/power/
patching file drivers/power/
can't find file to patch at input line 85
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff -Nrup /usr/lib/python3/dist-packages/provisioningserver/power/ provisioningserver/power/
|--- /usr/lib/python3/dist-packages/provisioningserver/power/ 2016-12-21 12:56:19.000000000 +0000
|+++ provisioningserver/power/ 2017-04-02 19:01:59.001823063 +0000
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored

I supose that it's don't apeare...

Deepa (dpaclt) wrote :

Is there any work around or fix for this ?

Changed in maas:
status: Expired → Confirmed
yosefrow (yosefrow) wrote :

I don't understand why this feature was removed. I just tested etherwake now with `etherwake mac-address` on 16.04 and it works perfectly.

Someone created a manual plugin at However, this plugin uses wakeonlan package/binary which for some reason does not seem to work.

So I tried search/replacing every occurence of wakeonlan with etherwake and applying the patch and I still can't get it to work.

Any suggestions?

yosefrow (yosefrow) wrote :

I'm using maas 2.2.2 btw

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers