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

Facter 3 outputs mountpoints facts differently on AIX

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • Method Found:
      Manual Test
    • QA Risk Assessment:
      Needs Assessment

      Description

      Facter 3 does not correctly detect mountpoints data on AIX. The value for the mountpoint's size is identical to that of the mountpoint's used space.

      This is fixed in Facter 4 and it shows differences when tunning puppet facts diff on AIX 7.1 and AIX 7.2:

      {
        "mountpoints./.capacity": {
          "new_value": "24.86%",
          "old_value": "57.10%"
        },
        "mountpoints./.used": {
          "new_value": "509.04 MiB",
          "old_value": "2.00 GiB"
        },
        "mountpoints./.used_bytes": {
          "new_value": 533770240,
          "old_value": 2147483648
        },
        "mountpoints./admin.capacity": {
          "new_value": "0.28%",
          "old_value": "50.07%"
        },
        "mountpoints./admin.used": {
          "new_value": "364.00 KiB",
          "old_value": "128.00 MiB"
        },
        "mountpoints./admin.used_bytes": {
          "new_value": 372736,
          "old_value": 134217728
        },
        "mountpoints./home.capacity": {
          "new_value": "0.02%",
          "old_value": "50.01%"
        },
        "mountpoints./home.used": {
          "new_value": "1004.00 KiB",
          "old_value": "4.00 GiB"
        },
        "mountpoints./home.used_bytes": {
          "new_value": 1028096,
          "old_value": 4294967296
        },
        "mountpoints./opt.capacity": {
          "new_value": "18.86%",
          "old_value": "55.20%"
        },
        "mountpoints./opt.used": {
          "new_value": "1.13 GiB",
          "old_value": "6.00 GiB"
        },
        "mountpoints./opt.used_bytes": {
          "new_value": 1214803968,
          "old_value": 6442450944
        },
        "mountpoints./tmp.capacity": {
          "new_value": "3.41%",
          "old_value": "50.87%"
        },
        "mountpoints./tmp.used": {
          "new_value": "69.89 MiB",
          "old_value": "2.00 GiB"
        },
        "mountpoints./tmp.used_bytes": {
          "new_value": 73281536,
          "old_value": 2147483648
        },
        "mountpoints./usr.capacity": {
          "new_value": "43.94%",
          "old_value": "64.08%"
        },
        "mountpoints./usr.used": {
          "new_value": "2.20 GiB",
          "old_value": "5.00 GiB"
        },
        "mountpoints./usr.used_bytes": {
          "new_value": 2358939648,
          "old_value": 5368709120
        },
        "mountpoints./var.capacity": {
          "new_value": "4.85%",
          "old_value": "51.24%"
        },
        "mountpoints./var.used": {
          "new_value": "446.80 MiB",
          "old_value": "9.00 GiB"
        },
        "mountpoints./var.used_bytes": {
          "new_value": 468504576,
          "old_value": 9663676416
        },
        "mountpoints./var/adm/ras/livedump.capacity": {
          "new_value": "0.14%",
          "old_value": "50.04%"
        },
        "mountpoints./var/adm/ras/livedump.used": {
          "new_value": "368.00 KiB",
          "old_value": "256.00 MiB"
        },
        "mountpoints./var/adm/ras/livedump.used_bytes": {
          "new_value": 376832,
          "old_value": 268435456
        }
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            luchian.nemes Luchian Nemes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support