Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7760

puppet_agent module is not supporting upgrade of RedHat Satellite puppet agent packages

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
    • Template:
    • Team:
      Night's Watch
    • Story Points:
      3
    • Sprint:
      Platform OS Kanban, PR - 2019-07-23, NW - 2019-08-07
    • CS Priority:
      Reviewed
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet_agent module is not supporting to upgrade RedHat Satellite puppet agent packages. We tried with both options of providing package_version as below.

      1)

      Console override of puppet_agent package_version = "1.10.9-1"

      Error: Could not update: Failed to update to version 1.10.9-1-1.el7, got version 1.10.9-1.el7sat instead
      Error: /Stage[main]/Puppet_agent::Install/Package[puppet-agent]/ensure: change from 1.10.9-1.el7sat to 1.10.9-1-1.el7 failed: Could not update: Failed to update to version 1.10.9-1-1.el7, got version 1.10.9-1.el7sat instead

      2)

      Console override of puppet_agent package_version = "1.10.9-1.el7sat"

      Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, invalid version 1.10.9-1.el7sat requested (file: /etc/puppetlabs/code/environments/production/modules/puppet_agent/manifests/init.pp, line: 86, column: 7) on node oser501800.wal-mart.com

      By default, Puppet_agent code is assuming el7 in the package_version rather than el7sat
      "https://github.com/puppetlabs/puppetlabs-puppet_agent/blob/master/manifests/install.pp#L167"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gheorghe.popescu Gheorghe Popescu
              Reporter:
              maheswaran Maheswaran Shanmugam
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support