Hide Forgot
Description of problem: s390x /proc/cpuinfo returns wrong number of processors therefor after registration there is wrong number of processors in Satellite Hardware information. Version-Release number of selected component (if applicable): rhn-client-tools-1.0.0-38.el6.noarch How reproducible: Always Steps to Reproduce: 1. Log into s390x machine that has more than 1 processor 2. cat /proc/cpuinfo 3. ls -d /sys/devices/system/cpu/cpu[0-9] | grep -c cpu[[:digit:]] 4. rhn_register into Satellite and check System > Hardware Actual results: Numbers differ Expected results: Same numbers Additional info: RHEL5 /proc/cpuinfo shows proper information. Explanation for this bug is in bug 621041 comment 18.
After discussion with dhorak short clarification. There is cpuplugd daemon that automaticaly adds/removes cpus based on load and /proc/cpuinfo shows number of cpus defined in that moment. Regarding the fact that this bug is not an issue in RHEL5 - maybe this daemon is not activated by default or it depends on kernel. Strategy of using /sys/devices/cpu for getting total number of cpus should be the valid on.
Fixed in spacewalk.git in commits: 823888291bdc6f9cd4d843d18bd7ea88241fac89 3ecd060daf6b53baf63122c80c1d52fdbcba6c38 Cherry picked to satellite.git as commits: ba1b95e5540c39b2aeacfdb4f0a42e6de97e1453 dd8f84ad7fb07be944f5796abaf134806d3d4413
Verified in rhn-client-tools-1.0.0-56.el6 - Hardware tab now shows correct number.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0565.html