etherwake does not wake up machines

Bug #1396740 reported by Daniel Bidwell
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Low
Unassigned
maas (Ubuntu)
Invalid
Low
Unassigned

Bug Description

wakeonlan uses a tcp socket to wake up the server and can run as the maas user. ether_wake uses a udp socket to wake up the server and must run as root for it to work.

Revision history for this message
Daniel Bidwell (bidwell) wrote :

The fix for this is ato add the following line to /etc/sudoers.d/99-maas-sudoers:

maas ALL= NOPASSWD: /usr/sbin/etherwake

and edit /etc/maas/templates/power/ether_wake.template to change:

/usr/sbin/etherwake $mac_address

to:

sudo /usr/sbin/etherwake $mac_address

If the network that you need to send to is not eth0 then you need to use the following instead:

sudo /usr/sbin/etherwake -i ethx $mac_address

Changed in maas:
status: New → Triaged
importance: Undecided → Low
Changed in maas (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Joseph Motacek (cleanshooter) wrote :

Thanks for posting the fix here it was a big help.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi!

We believe this is no longer an issue in the latest MAAS releases. As such, we are marking this bug report as invalid. If you believe this is still an issue, please re-open this bug report.

Thanks

Changed in maas:
status: Triaged → Invalid
Changed in maas (Ubuntu):
status: Triaged → Invalid
abro baka (etfmaas)
Changed in maas:
status: Invalid → Confirmed
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Confirmed → Invalid
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.