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

PCore object default equality not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.10.0
    • Component/s: Language
    • Labels:
      None
    • Template:
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-02-08, PDE 2017-02-22, PDE 2017-03-08
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      This is a bug in code that is experimental and not yet released. Does not need a release note.
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      covered by unit tests

      Description

      When using Thomas Hallgren's rich-data-wip branch PCore objects are not being properly checked for default equality:

      17:43 $ DEVICE_IP=10.32.166.100 DEVICE_USER=root DEVICE_PASSWORD=lab bundle exec puppet apply 28.pp --modulepath ~/workspace/
      Notice: Compiled catalog for w541.shermdog.local in environment production in 0.20 seconds
      Notice: /Stage[main]/Main/Xe_ietf_diffserv_policy_pcore[prm-DSCP#QUEUING_O_1]/policy_entry: policy_entry changed 'Vanilla_ice::Diffserv_policy::Policy_entry({
        'policy_name' => 'prm-DSCP#QUEUING_O_1',
        'classifier_entry' => [
          Vanilla_ice::Diffserv_policy::Classifier_entry({
            'classifier_entry_name' => 'class-default',
            'classifier_action_entry_cfg' => [
              Vanilla_ice::Diffserv_policy::Classifier_action_entry_cfg({
                'action_type' => 'action:min-rate',
                'min_rate_cfg' => Vanilla_ice::Diffserv_policy::Min_rate_cfg({
                  'absolute_rate_metric' => 'none',
                  'absolute_rate_units' => 'bps',
                  'bw_excess_share_cfg' => Vanilla_ice::Diffserv_policy::Bw_excess_share_cfg({
                    'value' => 28,
                    'absolute_rate_metric' => 'none',
                    'absolute_rate_units' => 'perc'
                  })
                })
              })
            ]
          })
        ]
      })' to 'Vanilla_ice::Diffserv_policy::Policy_entry({
        'policy_name' => 'prm-DSCP#QUEUING_O_1',
        'classifier_entry' => [
          Vanilla_ice::Diffserv_policy::Classifier_entry({
            'classifier_entry_name' => 'class-default',
            'classifier_action_entry_cfg' => [
              Vanilla_ice::Diffserv_policy::Classifier_action_entry_cfg({
                'action_type' => 'action:min-rate',
                'min_rate_cfg' => Vanilla_ice::Diffserv_policy::Min_rate_cfg({
                  'absolute_rate_metric' => 'none',
                  'absolute_rate_units' => 'bps',
                  'bw_excess_share_cfg' => Vanilla_ice::Diffserv_policy::Bw_excess_share_cfg({
                    'value' => 28,
                    'absolute_rate_metric' => 'none',
                    'absolute_rate_units' => 'perc'
                  })
                })
              })
            ]
          })
        ]
      })'
      Notice: Applied catalog in 9.34 seconds
      

      Sample manifest and branch https://github.com/puppetlabs/vanilla_ice/blob/pcore/28.pp

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                richard.sherman Rick Sherman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: