Merge ~ltrager/maas:lp1878923_lp1878685 into maas:master
Proposed by
Lee Trager
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Lee Trager | ||||||||
Approved revision: | e92ccb39d681fdb00906faf882c5af0b9fbb2057 | ||||||||
Merge reported by: | MAAS Lander | ||||||||
Merged at revision: | not available | ||||||||
Proposed branch: | ~ltrager/maas:lp1878923_lp1878685 | ||||||||
Merge into: | maas:master | ||||||||
Diff against target: |
101 lines (+46/-10) 3 files modified
src/machine-resources/src/machine-resources/Gopkg.lock (+2/-1) src/metadataserver/builtin_scripts/hooks.py (+8/-9) src/metadataserver/builtin_scripts/tests/test_hooks.py (+36/-0) |
||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dougal Matthews (community) | Approve | ||
MAAS Lander | Approve | ||
Review via email: mp+384202@code.launchpad.net |
Commit message
LP: #1878923, #1878685 - Fix incorrect memory detection.
LXD was only detecting the amount of available memory in user space.
Memory reserved by the kernel was not shown as available. This caused MAAS
to show slightly less RAM then the system actually had.
MAAS was assuming that a NUMA node always had memory assigned to it. When
0 memory was assigned to a node commissioning would raise an exception and
fail.
To post a comment you must log in.
UNIT TESTS
-b lp1878923_lp1878685 lp:~ltrager/maas/+git/maas into -b master lp:~maas-committers/maas
STATUS: SUCCESS a8359f9d5056903 0cf2fb93fd
COMMIT: 5c22723945be2ff