Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-4749

unable to connect to puppetdb 403

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • PDB 5.2.15
    • None
    • PuppetDB
    • Split
    • RHEL 7 (x86_64)
    • PuppetDB
    • Needs Assessment
    • Needs Assessment

    Description

      node 'master' {
       class { 'puppetdb::master::config':
       puppetdb_server => 'puppetdb',
       manage_storeconfigs => false,
       }
      }
       
       
      node 'puppetdb' {
       class { 'puppetdb':
       report_ttl => '60d',
       java_args => {
       '-Xmx' => '1024m',
       '-Xms' => '1024m',
       },
       command_threads => '2',
       }
      }
      

       

      Using the above config (puppetdb module version 7.4.0) I get a 403 error when running the puppet agent on the master:

      #puppet agent -t --trace
      Info: Using configured environment 'production'
      Info: Retrieving pluginfacts
      Info: Retrieving plugin
      Info: Retrieving locales
      Info: Loading facts
      Info: Caching catalog for master
      Info: Applying configuration version '1590509561'
      Notice: Unable to connect to puppetdb server (https://puppetdb:8081): 403 "Forbidden"
      Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry
      

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            michael.tice@jhuapl.edu Michael Tice
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support