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

ntp : upgrading 6.2.0 to 6.3.0 could not retrieve catalog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ntp
    • Labels:
      None
    • Environment:

      Master and agent are both PE 2016.4.2, puppet version 4.7.0, and running RHEL 7.

    • Template:
      MODULES Bug Template
    • Team:
      Modules
    • Method Found:
      Customer Feedback
    • QA Risk Assessment:
      Needs Assessment

      Description

      *Module Version: 6.3.0
      *Puppet Version: 4.7.0
      *OS Name/Version: RHEL 7

      Upgrading the puppetlabs-ntp version from 6.2.0 to 6.3.0 results in the configuration not applying to agents.

      Desired Behavior:
      Configuration applies as normal

      Actual Behavior:
      Could not retrieve catalog

      Oct 18 09:12:49 nodename puppet-agent[406]: Starting Puppet client version 4.7.0
      Oct 18 09:12:56 nodename puppet-agent[451]: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Class[Ntp]:
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'broadcastclient'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'config'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'config_dir'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'config_file_mode'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'config_epp'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'config_template'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'disable_auth'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'disable_dhclient'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'disable_kernel'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'enable_mode7'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'fudge'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'leapfile'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'logfile'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'keys'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'keys_file'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'keys_controlkey'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'keys_requestkey'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'keys_trusted'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'minpoll'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'maxpoll'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'package_ensure'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'package_manage'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'package_name'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'panic'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'peers'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'pool'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'preferred_servers'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'noselect_servers'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'interfaces'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'interfaces_ignore'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'service_enable'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'service_ensure'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'service_manage'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'service_name'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'service_provider'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'statistics'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'statsdir'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'stepout'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'step_tickers_file'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'step_tickers_epp'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'step_tickers_template'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'tinker'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'tos'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'tos_maxclock'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'tos_minclock'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'tos_minsane'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'tos_floor'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'tos_ceiling'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'tos_cohort'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'udlc_stratum'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'ntpsigndsocket'
      Oct 18 09:12:56 nodename puppet-agent[451]:   expects a value for parameter 'authprov' at /etc/puppetlabs/code/environments/production/manifests/site.pp:14:1 on node nodename.domain.tld
      Oct 18 09:13:07 nodename puppet-agent[451]: Applied catalog in 10.04 seconds
      

      Heira values are:

      {
        "classes" : [ "ntp" ],
        "ntp::disable_auth"      : false,
        "ntp::disable_monitor"   : false,
        "ntp::driftfile"         : "/var/lib/ntp/drift",
        "ntp::keys_enable"       : true,
        "ntp::keys"              : [
                                     "0000 M 0000"
                                   ],
        "ntp::keys_file"         : "/etc/ntp/keys",
        "ntp::keys_controlkey"   : 0000,
        "ntp::keys_requestkey"   : 0000,
        "ntp::keys_trusted"      : [
                                     0000
                                   ],
        "ntp::statistics"        : [
                                     "loopstats",
                                     "peerstats",
                                     "clockstats",
                                     "sysstats"
                                   ],
        "ntp::iburst_enable"     : true,
        "ntp::servers"           : [ 
                                     "1.1.1.1",
                                     "2.2.2.2",
                                     "3.3.3.3",
                                   ],
        "ntp::restrict"          : [
                                     "default kod nomodify notrap nopeer noquery",
                                     "-6 default kod nomodify notrap nopeer noquery",
                                     "127.0.0.1",
                                     "-6 ::1",
                                     "7.7.7.7"
                                   ],
        "ntp::udlc"              : true
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bencutc Benjamin Carrell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support