Commissioning is failing to set node memory attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jelmer Vernooij | ||
maas (Ubuntu) |
Fix Released
|
Critical
|
Andres Rodriguez | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Tested with 0.1+bzr1239+
After commissioning the lenovo machines in the QA lab, the memory attribute is set to 0 MB
The fallout from this is that juju bootstrap won't be able to find a matching node when you run:
== TEST CASE ==
1. $ juju bootstrap --constraints "arch=amd64"
2012-10-09 16:57:51,558 INFO Bootstrapping environment 'maas' (origin: lp:juju type: maas)...
2012-10-09 16:57:52,724 ERROR No matching node is available.
2. $ juju bootstrap --constraints "arch=amd64 mem=0"
2012-10-09 16:59:53,958 INFO Bootstrapping environment 'maas' (origin: lp:juju type: maas)...
2012-10-09 16:59:57,067 INFO 'bootstrap' command finished successfully
To test if fixed, 1 should succeed.
Tested in the lenovo lab. Both 1 and "juju bootstrap" (i.e. without any constraints) now work fine.
Related branches
- Martin Packman (community): Approve
- John A Meinel (community): Approve
- Jeroen T. Vermeulen (community): Approve
-
Diff: 56 lines (+34/-1)2 files modifiedsrc/maasserver/models/node.py (+9/-1)
src/maasserver/tests/test_node.py (+25/-0)
- Julian Edwards (community): Approve
-
Diff: 60 lines (+23/-3)3 files modifieddebian/changelog (+21/-1)
debian/extras/maas-region-celeryd (+1/-1)
debian/rules (+1/-1)
description: | updated |
Changed in maas: | |
milestone: | none → 12.10 |
importance: | Undecided → Critical |
status: | New → Triaged |
Changed in maas: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
tags: | added: sru-12.10 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
importance: | Undecided → Critical |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
description: | updated |
Changed in maas (Ubuntu): | |
milestone: | none → precise-updates |
milestone: | precise-updates → none |
no longer affects: | maas |
Changed in maas (Ubuntu Precise): | |
status: | New → Fix Released |
Changed in maas: | |
status: | New → Fix Released |
importance: | Undecided → Critical |
assignee: | nobody → Jelmer Vernooij (jelmer) |
If it helps, armhf/highbank does seem to pick up the memory field correctly.