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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • puppet_agent
    • None
    • Platform OS
    • Customer Feedback
    • Normal
    • 3 - 25-50% of Customers
    • 2 - Annoyance
    • 3 - $$$$
    • 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.
    • 35577
    • 1
    • 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

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

              Dates

                Created:
                Updated:

                Zendesk Support