Jira (PDB-4749) unable to connect to puppetdb 403

0 weergaven
Naar het eerste ongelezen bericht

Michael Tice (Jira)

ongelezen,
26 mei 2020, 12:28:0326-05-2020
aan puppe...@googlegroups.com
Michael Tice created an issue
 
PuppetDB / Bug PDB-4749
unable to connect to puppetdb 403
Issue Type: Bug Bug
Affects Versions: PDB 5.2.15
Assignee: Unassigned
Components: PuppetDB
Created: 2020/05/26 9:27 AM
Environment:

Master:

puppet-agent-5.5.20-1.el7.x86_64
puppet5-release-5.0.0-11.el7.noarch
puppetdb-termini-5.2.15-1.el7.noarch
puppetserver-5.3.13-1.el7.noarch

 

Puppetdb:

puppet-agent-5.5.20-1.el7.x86_64
puppet5-release-5.0.0-11.el7.noarch
puppetdb-5.2.15-1.el7.noarch
puppetdb-termini-5.2.15-1.el7.noarch

Labels: help_wanted module
Priority: Normal Normal
Reporter: Michael Tice

node 'master' {
class

Unknown macro: { 'puppetdb}

}

node 'puppetdb' {
class { 'puppetdb':
report_ttl => '60d',
java_args =>

Unknown macro: { '-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

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Austin Blatt (Jira)

ongelezen,
27 mei 2020, 12:23:0627-05-2020
aan puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
{ quote code }
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',
}
}
{ quote code }

 

Using the above config (puppetdb module version 7.4.0) I get a 403 error when running the puppet agent on the master:
{ quote code }
#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
{ quote code }
 

 

Austin Blatt (Jira)

ongelezen,
27 mei 2020, 12:24:0327-05-2020
aan puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Master Config: Monolithic Split
Allen beantwoorden
Auteur beantwoorden
Doorsturen
0 nieuwe berichten