Misleading error message in log "Unknown power_type 'sm15k'"
Bug #1381444 reported by
Raphaël Badin
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Julian Edwards |
Bug Description
When trying to query the power state of a node whose power type can't be queried, we get the following message:
Oct 15 09:56:49 maas-trusty-
The message is actually wrong, the power type is known but it can't be queried.
Related branches
lp://staging/~julian-edwards/maas/dont-query-all-nodes-power
- 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)
tags: | added: papercut power |
Changed in maas: | |
milestone: | none → next |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Julian Edwards (julian-edwards) |
tags: | added: hs-arm64 hs-moonshot-maas-juju |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 1.7.1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
These error message also happen for ucsm and ether-wake power types. It floads the log files as those queries happen quite often with a number of servers.
Oct 16 03:28:08 maas-trusty- back-may22 maas.power: [ERROR] pullman-01: Failed to query power state: Unknown power_type 'ucsm'.
Oct 16 14:50:33 maas-trusty- back-may22 maas.power: [ERROR] pullman-02-no-disk: Failed to query power state: Unknown power_type 'ether_wake'.