Jira (FACT-2955) AIX - mismatched processor frequencies found; facter will only report one of them

0 views
Skip to first unread message

Lionel Widmer (Jira)

unread,
Mar 3, 2021, 11:20:01 AM3/3/21
to puppe...@googlegroups.com
Lionel Widmer created an issue
 
Facter / Bug FACT-2955
AIX - mismatched processor frequencies found; facter will only report one of them
Issue Type: Bug Bug
Affects Versions: FACT 3.y
Assignee: Unassigned
Components: PE
Created: 2021/03/03 8:19 AM
Priority: Normal Normal
Reporter: Lionel Widmer

On some AIX LPARS we get the following warnings when running facter (also when Puppet is resolving facts):

2021-03-03 17:09:43.233892 WARN puppetlabs.facter - mismatched processor frequencies found; facter will only report one of them
2021-03-03 17:09:43.237845 WARN puppetlabs.facter - mismatched processor frequencies found; facter will only report one of them

 

This warning is due to the fact, after a hardware migration, the old processor entries are still present in the AIX ODM database.

From this output, you can see all processor resources. Only the Active ones are in used, the Defined ones are the old ones:

lsdev -Cc processor
proc0 Available 00-00 Processor
proc2 Defined 00-02 Processor
proc4 Defined 00-04 Processor
proc8 Available 00-08 Processor

As you can see from the following output, processor frequencies between the Defined (old hardware) procs and Available (current hardware procs) are different, and this is expected:

lsattr -El proc0
frequency 3724000000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 8 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER8 Processor type False

lsattr -El proc2
frequency 4704000000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 2 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER6 Processor type False

lsattr -El proc4
frequency 3108000000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 4 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER7 Processor type False

lsattr -El proc8
frequency 3724000000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 8 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER8 Processor type False

 

In facter, please consider only the Available procs for any facts related to CPU (like frequency), as only Available ones are relevant.

The following IBM link basically says that Defined proc resources have to be ignored. And, from my point of view it is not the role of Facter to show up warnings when sysadmins did not clean up the leftover of a migration.

Link:

https://www.ibm.com/support/pages/ibm-aix-lsdev-cc-processor-output-defined-vs-available-state

 

Please kindly ignore proc resources in Defined state for all facts

 

Thanks

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Apr 13, 2021, 9:17:02 AM4/13/21
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Team: Night's Watch
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Apr 13, 2021, 9:17:05 AM4/13/21
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Apr 14, 2021, 4:35:03 AM4/14/21
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Sep 7, 2021, 3:46:02 AM9/7/21
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Sep 7, 2021, 3:47:03 AM9/7/21
to puppe...@googlegroups.com

Victor Bobosila (Jira)

unread,
Sep 9, 2021, 6:59:02 AM9/9/21
to puppe...@googlegroups.com

Victor Bobosila (Jira)

unread,
Sep 17, 2021, 6:17:18 AM9/17/21
to puppe...@googlegroups.com

Victor Bobosila (Jira)

unread,
Sep 17, 2021, 6:18:04 AM9/17/21
to puppe...@googlegroups.com
Victor Bobosila updated an issue
Change By: Victor Bobosila
Release Notes Summary: Previously, facter added all the procs found in the ODM query, without checking the proc's status. This commit adds a check for each proc's status, and if the status is different from available, we skip
the processor.

Gabriel Nagy (Jira)

unread,
Sep 20, 2021, 5:34:02 AM9/20/21
to puppe...@googlegroups.com

Ciprian Badescu (Jira)

unread,
Sep 20, 2021, 8:20:03 AM9/20/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
 
Change By: Ciprian Badescu
Fix Version/s: FACT 3.14.20
Fix Version/s: FACT 4.2.5

Claire Cadman (Jira)

unread,
Oct 5, 2021, 8:20:03 AM10/5/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages