Project

General

Profile

Actions

Bug #2207

closed

statistics in ui, number of cpus (facts.processorcount) is incorrect

Added by Lance Dillon over 11 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Probably a deeper problem, but it is counting number of processors incorrectly. It appears to be taking the highest number of processor and adding 1 (for 0 based counting). On some architectures, some memory is only accessible through a specific socket, so you need to have at least one core per socket, so disabling processors isn't done from the end, but in a round-robin fashion. We have a machine that has processors 0,1,2, 10,11,12, 20,21,22, 30,31,32 active, others disabled, but foreman reports 33 processors by adding 1 to the last processor 32. It should actually count all the processors to get an accurate number, in this case 12.

Actions #1

Updated by Lance Dillon over 11 years ago

Misreported, actually a facter bug apparently, facter is reporting processorcount wrong.

Actions #2

Updated by Ohad Levy over 11 years ago

  • Status changed from New to Pending
Actions #3

Updated by Benjamin Papillon about 10 years ago

  • Status changed from Pending to Feedback

Two bugs were referenced for this problem on puppetlabs :
http://projects.puppetlabs.com/issues/18215
and
http://projects.puppetlabs.com/issues/19249

They have been resolved in facter 1.7.4. Can you upgrade your facter version and retry please?

Regards,

Actions #4

Updated by Anonymous about 7 years ago

  • Status changed from Feedback to Resolved

no reaction, closing

Actions

Also available in: Atom PDF