← Back to team overview

maas-devel team mailing list archive

Re: Wake-on-Lan working or not in Raring

 

On 18/04/13 16:33, Lutz Behnke wrote:
> Hi there,

Hi,

> 
> I am trying to set up a little test cluster of MAAS with a 6 physical
> machines I had lying around. Unfortunately, these machines don't support
> IPMI, only WOL.
> 
> Currently, I do not grok what the state of WOL support is in MAAS.
> 
> I tried the version on the Quantal install media. Result:
> - All steps via commisioning to allocating would work, as long as I
>   turned on the machines by hand for each step.

Was the MAC populated and WoL set as the power type?

> - On the resulting Precise or Quantal install, WOL was not set up,
>   ethtool was not installed, nodes unsueable for JuJu.

WoL has not had as much love as IPMI unfortunately, since most serious
set ups will be using IPMI.  WoL cannot turn power off.

Can you please file a bug on the maas project with your findings on this.

> I then tried the version that is packaged with the Raring-beta. Result:
> 
> - Machines won't even commision, as the attempt to load the IPMI driver
>   kernel module will stop the machine. But as commisioning (or is it
>   enlisting?) has started, the nodes are reported as commisioning and
>   on the next restart, listed as ready. Machines remain in unuseable
>   state.

I have had IPMI working fine in raring, so I suspect it's a hardware
incompatibility.  What hardware are you using for the nodes?

(I CCed Andres who knows more about this than I)

> - I set the power type to WOL prior to starting the commission,
>   attempted both of setting the MAC and not setting it. But I can find
>   no indication that setting is respected in any way.

I suspect you are experiencing the same condition as for your quantal
installation above and I also suspect that your nodes are not responding
to a WoL signal.

Some things to check:
 1. is etherwake installed?
 2. Can you run "etherwake <mac address>" manually and see the node
power up?

If (2) doesn't work then we know why maas can't start the machine.  It's
possible you have to enable WoL in the BIOS.

> Then I found this bug: https://bugs.launchpad.net/maas/+bug/1005802
> which talks about a ether_wake template, which I cannot find any more
> (yes, the bug one year old)
> 
> And I also found this bug: https://bugs.launchpad.net/maas/+bug/1005802
> that states only IPMI will be supported in the future. Is this right?
> And why are still other power methods on the GUI if true?

You copy/pasted the same bug here and I can't see mention of only IPMI
being suported.

AFAIK WoL will not be removed, but it's not fully supported due to its
limitations.

> any help or pointers on debugging the power states are greatly
> appreciated. I will now try to understand
> /usr/share/maas/preseeds/enlist_userdata in order to see if I can hack WOL
> 
> mfg lutz
> 
> 

Good luck.


References