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

puppetlabs/puppet_agent: Puppet agent upgrade causes YUM dependency issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
    • Environment:

      Master RHEL 6.9
      Agent RHEL 7.3

      PE version: 2016.4.7

    • Template:
    • Acceptance Criteria:
      Hide

      Fix the dependency issue

      Show
      Fix the dependency issue
    • Team:
      Platform OS
    • Method Found:
      Manual Test
    • CS Priority:
      Normal
    • CS Frequency:
      2 - 5-25% of Customers
    • CS Severity:
      3 - Serious
    • CS Business Value:
      4 - $$$$$
    • CS Impact:
      Hide
      The primary impact of this is that it breaks the `mco package` command.

      We would like to see users running the latest and greatest agent but that's difficult if the module won't upgrade and cleanup after itself. It may be possible to workaround this by having an exec that cleans it up.
      Show
      The primary impact of this is that it breaks the `mco package` command. We would like to see users running the latest and greatest agent but that's difficult if the module won't upgrade and cleanup after itself. It may be possible to workaround this by having an exec that cleans it up.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version:
      puppetagent 1.4.1
      Puppet Version:

      PE 2016.4.7
      Agent version 1.10.1 upgrading to 1.10.5 (probably all versions)
      OS Name/Version:
      RHEL 7.3 on the agent
      Describe your issue in as much detail as possible...

      The agent upgrades successfully to 1.10.5 BUT both agent RPMS are kept, this causes yum to have dependency issues and therefore for some mco package commands causes failures

      The requires manual intervention from our customers to fix the dependencies

      Removing the old agent RPM resolves the issue

      After an upgrade the resultant RPMs installed

      [root@centosagent ~]# rpm -qa | grep puppet-agen
      puppet-agent-1.10.1-1.el7.x86_64
      puppet-agent-1.10.5-1.el7.x86_64
      
      

      Resolving Dependencies
      There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
      

      Desired Behavior:

      The upgrade upgrades the agent RPM without leaving unresolved yum dependencies
      Actual Behavior:
      The upgrade upgrades the agent RPM leaving unresolved yum dependencies

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nicholas.kernohan Nicky Kernohan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support