Created
January 22, 2021 19:20
-
-
Save ripienaar/ec04066d77fc5b044cc5e055f233f783 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/puppetlabs/mcollective/client.cfg | |
loglevel = debug | |
> mco puppet status | |
debug 2021/01/21 16:52:15: pluginmanager.rb:162:in `loadclass' Loading Mcollective::Facts::Yaml_facts from mcollective/facts/yaml_facts.rb | |
debug 2021/01/21 16:52:15: pluginmanager.rb:43:in `<<' Registering plugin facts_plugin with class MCollective::Facts::Yaml_facts single_instance: true | |
debug 2021/01/21 16:52:15: pluginmanager.rb:162:in `loadclass' Loading Mcollective::Connector::Nats from mcollective/connector/nats.rb | |
debug 2021/01/21 16:52:15: cache.rb:117:in `block in ttl' Cache miss on 'ddl' key 'connector/nats' | |
debug 2021/01/21 16:52:15: base.rb:100:in `block in findddlfile' Found nats ddl at /opt/puppetlabs/mcollective/plugins/mcollective/connector/nats.ddl | |
debug 2021/01/21 16:52:15: pluginmanager.rb:43:in `<<' Registering plugin connector_plugin with class MCollective::Connector::Nats single_instance: true | |
debug 2021/01/21 16:52:15: pluginmanager.rb:162:in `loadclass' Loading Mcollective::Security::Choria from mcollective/security/choria.rb | |
debug 2021/01/21 16:52:15: pluginmanager.rb:43:in `<<' Registering plugin security_plugin with class MCollective::Security::Choria single_instance: true | |
info 2021/01/21 16:52:15: config.rb:151:in `loadconfig' The Marionette Collective version 2.23.3 started by /usr/bin/mco using config file /etc/puppetlabs/mcollective/client.cfg | |
debug 2021/01/21 16:52:15: pluginmanager.rb:162:in `loadclass' Loading MCollective::Application::Puppet from mcollective/application/puppet.rb | |
debug 2021/01/21 16:52:15: pluginmanager.rb:43:in `<<' Registering plugin puppet_application with class MCollective::Application::Puppet single_instance: true | |
debug 2021/01/21 16:52:15: pluginmanager.rb:79:in `[]' Returning new plugin puppet_application with class MCollective::Application::Puppet | |
debug 2021/01/21 16:52:15: pluginmanager.rb:79:in `[]' Returning new plugin connector_plugin with class MCollective::Connector::Nats | |
info 2021/01/21 16:52:15: nats.rb:15:in `initialize' Choria NATS.io connector using pure ruby nats/io/client 0.6.2 with protocol version 1 | |
debug 2021/01/21 16:52:15: pluginmanager.rb:79:in `[]' Returning new plugin security_plugin with class MCollective::Security::Choria | |
debug 2021/01/21 16:52:15: choria.rb:363:in `block in have_ssl_files?' Checking for SSL file /home/user/.puppetlabs/etc/puppet/ssl/certs/user.mcollective.pem | |
debug 2021/01/21 16:52:15: choria.rb:363:in `block in have_ssl_files?' Checking for SSL file /home/user/.puppetlabs/etc/puppet/ssl/private_keys/user.mcollective.pem | |
debug 2021/01/21 16:52:15: choria.rb:363:in `block in have_ssl_files?' Checking for SSL file /home/user/.puppetlabs/etc/puppet/ssl/certs/ca.pem | |
debug 2021/01/21 16:52:15: choria.rb:412:in `valid_certificate?' Verified certificate /CN=user.mcollective/OU=mcollective against CA /CN=Puppet CA: puppetmaster | |
debug 2021/01/21 16:52:16: choria.rb:191:in `block in query_srv_records' Attempting to resolve SRV record _mcollective-server._tcp.xx.xx | |
debug 2021/01/21 16:52:16: choria.rb:193:in `block in query_srv_records' Found 0 SRV records for _mcollective-server._tcp.xx.xx | |
debug 2021/01/21 16:52:16: choria.rb:191:in `block in query_srv_records' Attempting to resolve SRV record _x-puppet-mcollective._tcp.xx.xx | |
debug 2021/01/21 16:52:16: choria.rb:193:in `block in query_srv_records' Found 1 SRV records for _x-puppet-mcollective._tcp.xx.xx | |
debug 2021/01/21 16:52:16: choria.rb:201:in `block in query_srv_records' Found choriabroker:4222 with priority 10 and weight 0 | |
debug 2021/01/21 16:52:16: nats.rb:90:in `connect' Connecting to servers: nats://choriabroker:4222 | |
debug 2021/01/21 16:52:16: cache.rb:117:in `block in ttl' Cache miss on 'ddl' key 'agent/puppet' | |
debug 2021/01/21 16:52:16: base.rb:100:in `block in findddlfile' Found puppet ddl at /opt/puppetlabs/mcollective/plugins/mcollective/agent/puppet.ddl | |
debug 2021/01/21 16:52:16: cache.rb:117:in `block in ttl' Cache miss on 'ddl' key 'discovery/choria' | |
debug 2021/01/21 16:52:16: base.rb:100:in `block in findddlfile' Found choria ddl at /opt/puppetlabs/mcollective/plugins/mcollective/discovery/choria.ddl | |
debug 2021/01/21 16:52:16: pluginmanager.rb:162:in `loadclass' Loading MCollective::Discovery::Choria from mcollective/discovery/choria.rb | |
debug 2021/01/21 16:52:16: choria.rb:33:in `discover' Performing direct discovery against PuppetDB | |
debug 2021/01/21 16:52:16: choria.rb:342:in `pql_query' Performing PQL query: nodes[certname, deactivated] { (certname in inventory[certname] { facts.mcollective.server.collectives.match("\d+") = "mcollective" }) and (resources {type = "File" and tag = "mcollective_agent_puppet_server"}) } | |
debug 2021/01/21 16:52:17: choria.rb:191:in `block in query_srv_records' Attempting to resolve SRV record _x-puppet-db._tcp.xx.xx | |
debug 2021/01/21 16:52:17: choria.rb:193:in `block in query_srv_records' Found 0 SRV records for _x-puppet-db._tcp.xx.xx | |
debug 2021/01/21 16:52:18: choria.rb:191:in `block in query_srv_records' Attempting to resolve SRV record _x-puppet._tcp.xx.xx | |
debug 2021/01/21 16:52:18: choria.rb:193:in `block in query_srv_records' Found 1 SRV records for _x-puppet._tcp.xx.xx | |
debug 2021/01/21 16:52:18: choria.rb:201:in `block in query_srv_records' Found puppetmaster:8140 with priority 10 and weight 0 | |
debug 2021/01/21 16:52:18: choria.rb:256:in `https' Creating new HTTPS connection to puppetmaster:8081 | |
debug 2021/01/21 16:52:18: choria.rb:363:in `block in have_ssl_files?' Checking for SSL file /home/user/.puppetlabs/etc/puppet/ssl/certs/user.mcollective.pem | |
debug 2021/01/21 16:52:18: choria.rb:363:in `block in have_ssl_files?' Checking for SSL file /home/user/.puppetlabs/etc/puppet/ssl/private_keys/user.mcollective.pem | |
debug 2021/01/21 16:52:18: choria.rb:363:in `block in have_ssl_files?' Checking for SSL file /home/user/.puppetlabs/etc/puppet/ssl/certs/ca.pem | |
debug 2021/01/21 16:52:18: choria.rb:412:in `valid_certificate?' Verified certificate /CN=user.mcollective/OU=mcollective against CA /CN=Puppet CA: puppetmaster | |
The puppet application failed to run, use -v for full error backtrace details: Failed to make request to PuppetDB: 500: Server Error: { | |
"cause1":"org.postgresql.util.PSQLException: ERROR: syntax error at or near ")"\n Position: 1205", | |
"cause0":"javax.servlet.ServletException: org.postgresql.util.PSQLException: ERROR: syntax error at or near ")"\n Position: 1205", | |
"message":"javax.servlet.ServletException: org.postgresql.util.PSQLException: ERROR: syntax error at or near ")"\n Position: 1205", | |
"url":"/pdb/query/v4", | |
"status":"500" | |
} | |
debug 2021/01/21 16:52:18: pluginmanager.rb:82:in `[]' Returning cached plugin connector_plugin with class MCollective::Connector::Nats | |
info 2021/01/21 16:52:18: natswrapper.rb:140:in `block in start' Disconnected from NATS for an unknown reason | |
info 2021/01/21 16:52:18: natswrapper.rb:149:in `block in start' Connection to NATS server closed | |
Author
ripienaar
commented
Jan 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment