[2.0b6] core count not updated during commissioning if MAAS previously stored a higher core count
Bug #1590144 reported by
Jason Hobbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned |
Bug Description
I commissioned some nodes with hyperthreading enabled, and the core count showed correctly as 20 (10 cores, with 2 HTs per core).
I then disabled hyperthreading and recommissioned. The core count did not change - it remained as 20.
Here's the cpuinfo output from the node in MAAS:
http://
This is with 2.0 beta 6.
Related branches
lp:~ltrager/maas/lscpu
- Mike Pontillo (community): Approve
- Andres Rodriguez (community): Needs Fixing
-
Diff: 197 lines (+53/-74)4 files modifiedsrc/maasserver/models/node.py (+1/-1)
src/metadataserver/models/commissioningscript.py (+7/-23)
src/metadataserver/models/tests/test_commissioningscript.py (+41/-49)
src/provisioningserver/refresh/node_info_scripts.py (+4/-1)
Changed in maas: | |
status: | New → Incomplete |
Changed in maas: | |
status: | New → Confirmed |
importance: | Undecided → High |
summary: |
- core count not updated during commissioning + [2.0b6] core count not updated during commissioning |
summary: |
- [2.0b6] core count not updated during commissioning + [2.0b6] core count not updated during commissioning if MAAS stores a + higher core count |
summary: |
- [2.0b6] core count not updated during commissioning if MAAS stores a - higher core count + [2.0b6] core count not updated during commissioning if MAAS previously + stored a higher core count |
Changed in maas: | |
status: | Confirmed → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Jason,
Can you also please attache /proc/cpuinfo ? That said, we grab what:
1. lshw
2. /proc/cpuinfo
(2) is if lshw doesn't provide the correct information.
For example, there's a bug in lshw that would always return 1 CPU when it had 10 cores. So, if that's the case, /proc/cpuinfo reports 20.