Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3451

Puppet generates metrics that extend past 6 decimal places under some circumstances

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: PUP 3.4.3, PUP 3.7.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      RHEL 6.5 + PE 3.2.1 Master
      AIX 7.1 + PE 3.2.1 Agent

    • Template:
    • Team:
      Agent

      Description

      Puppet generally produces metrics that only extend to 6 decimal places inside of a report. You can verify this by turning on stored reports, performing a few puppet runs, and examining the reports.

      Note that all "metrics" extend to a precision of 6 decimal places.

      However, occasionally, this is not the case. We've seen two cases where runs produce reports with data like the following.

            values: 
              - - schedule
                - Schedule
                - 0.002184
              - - package
                - Package
                - 8.616064999999999
              - - schedo
                - Schedo
                - 0.238365
              - - mount
                - Mount
                - 0.006872
              - - "no"
                - "No"
                - 2.9204849999999998
              - - file_line
                - "File line"
                - 0.016742
              - - file
                - File
                - 11.492138999999996
              - - vmo
                - Vmo
                - 0.606267
              - - usersec
                - Usersec
                - 1.211225
              - - exec
                - Exec
                - 4.037464
      

      Note that some of the metrics extend past 6 decimal places.

      Normally, I can perform puppet runs all day and never see decimal places go beyond 6.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                zee Zee Alexander
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support