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

unable to connect to puppetdb 403

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: PDB 5.2.15
    • Fix Version/s: None
    • Component/s: PuppetDB
    • Environment:
    • Template:
    • Master Config:
      Split
    • Agent OS:
      RHEL 7 (x86_64)
    • Master OS:
      RHEL 7 (x86_64)
    • Method Found:
      Needs Assessment
    • QA Risk 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

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support