Merge ~adam-collard/maas:2.9-pod-hints-average into maas:2.9
Proposed by
Adam Collard
Status: | Merged |
---|---|
Approved by: | Adam Collard |
Approved revision: | 79293fb4c4b646c92a997b85b414181f8f978f78 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~adam-collard/maas:2.9-pod-hints-average |
Merge into: | maas:2.9 |
Diff against target: |
124 lines (+21/-14) 3 files modified
src/maasserver/models/bmc.py (+7/-6) src/maasserver/models/tests/test_bmc.py (+8/-6) src/maasserver/triggers/tests/test_system_listener.py (+6/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adam Collard (community) | Approve | ||
MAAS Lander | unittests | Pending | |
Review via email: mp+394756@code.launchpad.net |
Commit message
Change PodHints CPU speed to be mean-average of nodes'
Previous implementation seemed to be a naive implementation of an
average with "cpu_speed = (cpu_speed + node.cpu_speed) / 2" which
falls down with 3 or more nodes.
Cherry-pick 4ace066772f093d
To post a comment you must log in.
LANDING hints-average lp:~adam-collard/maas/+git/maas into -b 2.9 lp:~maas-committers/maas
-b 2.9-pod-
STATUS: FAILED BUILD maas-ci. internal: 8080/job/ maas/job/ branch- tester/ 8812/consoleTex t
LOG: http://