Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1525

Swap facts are incorrect on AIX in Facter 3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 3.1.8, FACT 3.4.1
    • Fix Version/s: FACT 3.11.4
    • Component/s: None
    • Labels:
    • Template:
    • Acceptance Criteria:
      Hide

      On AIX, 'facter -p swapsize' returns the correct results.

      Show
      On AIX, 'facter -p swapsize' returns the correct results.
    • Team:
      Platform OS
    • Story Points:
      3
    • Sprint:
      Platform OS Kanban
    • Method Found:
      Customer Feedback
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      The AIX memory resolver has been fixed to handle overflow issues so that large amounts of swap space are reported correctly by Facter.

      Description

      Running PE 2016.2.0 on AIX 6, the swapsize and swapsize_mb facts report incorrect values.

      # swap -l
      device              maj,min        total       free
      /dev/hd6              10,  2     17216MB     17206MB
      # facter -p swapsize
      832.00 MiB
      # facter -p swapsize_mb
      832
      

      Recreated this issue on PE 2016.4.0 as well:

      # facter -p osfamily
      AIX
      # facter -p kernelversion
      6100
      # facter --version
      3.4.1 (commit d0f32490f41ca12722c13e4c48d4572ae4f9bfdc)
      # lsps -a
      Page Space      Physical Volume   Volume Group Size %Used Active  Auto  Type Chksum
      hd6             hdisk0            rootvg       17216MB     1   yes   yes    lv     0
      # swap -l
      device              maj,min        total       free
      /dev/hd6              10,  2     17216MB     17206MB
      # facter -p swapsize
      832.00 MiB
      # facter -p swapsize_mb
      832
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enis.inan Enis Inan
                Reporter:
                adam.bottchen Adam Bottchen
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support