MAAS tries to power query node with ether_wake power type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Low
|
Julian Edwards |
Bug Description
General Problem Description:
I have a lot of old Lenovo ThinkCenter Desktops which I want to use in a Opensstack-Coud
Powering on a node on the commandline works fine if I do it with this:
root@os1:~# etherwake 00:1e:37:45:1c:16
Using "wakeonlan" doesn't work - so I uninstalled it as I saw that it't not needed in /etc/maas/
But MAAS is failing to power it on. I can't find any hint why. Thats the only message I get:
Nov 26 10:06:31 os1 maas.power: [ERROR] impeccable-
1. The error log " /var/log/
Nov 26 11:42:50 os1 maas.node: [INFO] private-help.maas: Commissioning started
Nov 26 11:43:31 os1 maas.lease_
Nov 26 11:45:40 os1 maas.node: [INFO] private-help.maas: Stopping monitor: node-f5742194-
Nov 26 11:46:02 os1 maas.node: [INFO] private-help.maas allocated to user georg
Nov 26 11:46:02 os1 maas.node: [INFO] private-help.maas: Starting monitor: {u'deadline': datetime.
Nov 26 11:46:02 os1 maas.dns: [INFO] Generating new DNS zone file for maas
Nov 26 11:46:02 os1 maas.calls: [INFO] Starting task 'write_
Nov 26 11:46:02 os1 maas.calls: [INFO] Starting task 'rndc_command' with args: ([u'reload', u'maas'],) {}
Nov 26 11:46:02 os1 maas.calls: [INFO] Finished task 'rndc_command' with args: ([u'reload', u'maas'],) {}
Nov 26 11:46:02 os1 maas.calls: [INFO] Finished task 'write_
Nov 26 11:46:02 os1 maas.dns: [INFO] Generating new DNS zone file for 6.168.192.
Nov 26 11:46:02 os1 maas.calls: [INFO] Starting task 'write_
Nov 26 11:46:02 os1 maas.calls: [INFO] Starting task 'rndc_command' with args: ([u'reload', u'6.168.
Nov 26 11:46:02 os1 maas.calls: [INFO] Finished task 'rndc_command' with args: ([u'reload', u'6.168.
Nov 26 11:46:02 os1 maas.calls: [INFO] Finished task 'write_
Nov 26 11:46:02 os1 maas.power: [INFO] Changing power state (on) of node: private-help.maas (node-f5742194-
Nov 26 11:46:31 os1 maas.power: [ERROR] private-help.maas: Failed to query power state: Unknown power_type 'ether_wake'.
Nov 26 11:46:31 os1 maas.lease_
2.
ii maas 1.7.0+bzr3299-
ii maas-cli 1.7.0+bzr3299-
ii maas-cluster-
ii maas-common 1.7.0+bzr3299-
ii maas-dhcp 1.7.0+bzr3299-
ii maas-dns 1.7.0+bzr3299-
ii maas-proxy 1.7.0+bzr3299-
ii maas-region-
ii maas-region-
ii python-django-maas 1.7.0+bzr3299-
ii python-maas-client 1.7.0+bzr3299-
ii python-
3. I configured two NICs:
* 192.168.6.2 (managed DNS and DHCP) - thats where all nodes connect
* 192.168.0.2 (unmanaged)
I can add nodes as long as I power them on by hand.
Aquiring works to but if I want to start the node by pressing the start button - then nothing happens.
If I run etherwake by hand it works. I would like to know whick command is actually run by maas in the background in ordter to power on the nods with wake-on-lan packets?
Related branches
- Graham Binns (community): Approve
- Raphaël Badin (community): Approve
-
Diff: 68 lines (+31/-3)2 files modifiedsrc/provisioningserver/rpc/power.py (+4/-1)
src/provisioningserver/rpc/tests/test_power.py (+27/-2)
Changed in maas: | |
status: | Fix Committed → Fix Released |
That error:
[ERROR] impeccable- beam.maas: Failed to query power state: Unknown power_type 'ether_wake'.
Is saying that MAAS cannot query that power_type, this is because that power_type doesn't support that ability and never will as its not built into the protocol.