Jira (FACT-3086) Facter 4.2.5 errors on AIX

8 views
Skip to first unread message

Sanjay Tripathi (Jira)

unread,
Oct 25, 2021, 1:04:02 PM10/25/21
to puppe...@googlegroups.com
Sanjay Tripathi updated an issue
 
Facter / Bug FACT-3086
Facter 4.2.5 errors on AIX
Change By: Sanjay Tripathi
Component/s: Facter 4
Affects Version/s: FACT 4.2.5
Priority: Normal Critical
Summary: Facter 4.2.5 errors on AIX
Get the following errors when Facter 4.2.5 is run on AIX:

1) Facter: Command odmget -q "PdDvLn='processor/sys/proc_rspc' AND status='1'" CuAt completed with the following stderr message: 0518-507 odmget: Could not retrieve object for CuAt, ODM error number 5904

2) Facter: Could not resolve mountpoints, got undefined method `merge!' for nil:NilClass at /path/to/puppet/lib/ruby/gems/2.5.0/gems/facter-4.2.5/lib/facter/resolvers/aix/mountpoints.rb:55:in `compute_sizes'

     A preventive fix in mountpoints.rb.compute_size() helps avoid this error:

        if @fact_list[:mountpoints][info.last].nil?
          return
       end

    However, the root-cause is that there is a mismatch between mount output and df -P for some mounts.

 

    
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Ciprian Badescu (Jira)

unread,
Nov 2, 2021, 8:45:03 AM11/2/21
to puppe...@googlegroups.com
Ciprian Badescu commented on Bug FACT-3086
 
Re: Facter 4.2.5 errors on AIX

Sanjay Tripathi, Can you provide the output of mount and df -P.

Ciprian Badescu (Jira)

unread,
Dec 13, 2021, 6:36:03 AM12/13/21
to puppe...@googlegroups.com

We’ve put this ticket’s status into “Needs Information” and assigned it to you. Please either (a) update it with the information we’ve requested and re-open it if you need more help, or (b) change the status to “Closed” if you were able to resolve the issue on your own.

This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Josh Cooper (Jira)

unread,
Apr 21, 2022, 12:31:01 AM4/21/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug FACT-3086

sstripathi We haven't heard back so I'm going to close this as cannot reproduce. Please reopen with the requested output if you are able to reproduce. Or if you'd like to submit a fix to https://github.com/puppetlabs/facter/blob/88a4f07aca392d438792c329994c462de0c7746b/lib/facter/resolvers/aix/mountpoints.rb#L61 that'd be great as well.

Josh Cooper (Jira)

unread,
Apr 21, 2022, 12:31:02 AM4/21/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Priority: Critical Normal
Reply all
Reply to author
Forward
0 new messages