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

[puppet_agent] : pc_repo source does not account for load balancers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
      None
    • Template:
    • Team:
      Platform OS
    • Method Found:
      Customer Feedback
    • CS Priority:
      Normal
    • CS Frequency:
      3 - 25-50% of Customers
    • CS Severity:
      2 - Annoyance
    • CS Business Value:
      3 - $$$$
    • CS Impact:
      Hide
      Customers using this module in a load balanced compile master environment will see a change in the logs for agents classified with the module. The console will also report those nodes as having change events, preventing them from "settling down" into the unchanged category.

      That said this can be worked around by either modifying the module, or using the aio_version(or whatever is a fact of the puppet agent version on the node) fact in the node classifier group. This would cause the agent to only receive classification with the puppet_agent module when it's version is out of date.
      Show
      Customers using this module in a load balanced compile master environment will see a change in the logs for agents classified with the module. The console will also report those nodes as having change events, preventing them from "settling down" into the unchanged category. That said this can be worked around by either modifying the module, or using the aio_version(or whatever is a fact of the puppet agent version on the node) fact in the node classifier group. This would cause the agent to only receive classification with the puppet_agent module when it's version is out of date.
    • Zendesk Ticket IDs:
      35577
    • Zendesk Ticket Count:
      1
    • QA Risk Assessment:
      Needs Assessment

      Description

      Module Version: 1.5.0
      Puppet Version: N/A
      OS Name/Version: N/A

      When using a load balancer and compile masters, users are instructed to configure the pe_repo so that it uses compile_master_address_pool to allow installations that point to the load balancer instead of a specific compile master.

      puppet_agent instead uses a hardcoded value of "https://${::servername}:8140/packages", which does not account for load balancers.

      Desired Behavior:

      puppet_agent should allow for a source to be configured that accounts for a deployment that includes compile masters and load balancers.

      Actual Behavior:

      Agent runs show pc_repo flipping between different compile masters:

      Notice: /Stage[main]/Puppet_agent::Osfamily::Redhat/Yumrepo[pc_repo]/baseurl: baseurl changed 'https://compile1.puppetdebug.vlan:8140/packages/2017.3.1/el-7-x86_64' to 'https://compile2.puppetdebug.vlan:8140/packages/2017.3.1/el-7-x86_64'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              paul.schaffer Paul Schaffer
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support