Skip to content

Instantly share code, notes, and snippets.

@walterheck
Last active August 29, 2015 14:04
Show Gist options
  • Save walterheck/d67119c8f791da8ffd5f to your computer and use it in GitHub Desktop.
Save walterheck/d67119c8f791da8ffd5f to your computer and use it in GitHub Desktop.
[root@puppet ~]# puppet agent -t
Warning: Setting modulepath is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Warning: Setting manifest is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/etckepper_puppet.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
root and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@puppet ~]# puppet agent -t
Warning: Setting modulepath is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Warning: Setting manifest is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/etckepper_puppet.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Caching catalog for puppet.puppettest.example.coma
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
(at /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:816:in `set_default')
Info: Applying configuration version '1406295201'
Notice: /Stage[main]/Puppet::Passenger/File[/var/lib/puppet/ssl/ca]/mode: mode changed '0755' to '0770'
Notice: /Stage[main]/Puppet::Passenger/File[/var/lib/puppet/ssl/ca/requests]/mode: mode changed '0755' to '0750'
Notice: Finished catalog run in 6.15 seconds
You have new mail in /var/spool/mail/root
[root@puppet ~]# puppet agent -t
Warning: Setting modulepath is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Warning: Setting manifest is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/etckepper_puppet.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
root and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@puppet puppet]# cat puppet.conf
[main]
# The Puppet log directory.
# The default value is '$vardir/log'.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
# The default value is '$vardir/run'.
rundir = /var/run/puppet
# Where SSL certificates are kept.
# The default value is '$confdir/ssl'.
ssldir = $vardir/ssl
[agent]
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuratiion. Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``
# option.
# The default value is '$confdir/classes.txt'.
classfile = $vardir/classes.txt
# Where puppetd caches the local configuration. An
# extension indicating the cache format is added automatically.
# The default value is '$confdir/localconfig'.
localconfig = $vardir/localconfig
environment = production
report = true
use_srv_records = false
runinterval = 1800
splay = false
pluginsync = true
server = puppet.puppettest.example.com
masterport = 8140
[master]
modulepath = /etc/puppet/modules/common:/etc/puppet/modules/custom
reports = store, foreman
hiera_config = /etc/puppet/hiera.yaml
node_terminus = exec
pluginsync = true
ssl_client_verify_header = SSL_CLIENT_VERIFY
manifest = /etc/puppet/manifests/site.pp
parser = current
autosign = false
ssl_client_header = SSL_CLIENT_S_DN
certname = puppet.puppettest.example.com
external_nodes = /etc/puppet/node.rb
[root@puppet puppet]# cat rack/config.ru
# a config.ru, for use with every rack-compatible webserver.
# SSL needs to be handled outside this, though.
# if puppet is not in your RUBYLIB:
# $LOAD_PATH.unshift('/opt/puppet/lib')
$0 = "master"
# if you want debugging:
# ARGV << "--debug"
ARGV << "--rack"
# Rack applications typically don't start as root. Set --confdir and --vardir
# to prevent reading configuration from ~puppet/.puppet/puppet.conf and writing
# to ~puppet/.puppet
ARGV << "--confdir" << "/etc/puppet"
ARGV << "--vardir" << "/var/lib/puppet"
# NOTE: it's unfortunate that we have to use the "CommandLine" class
# here to launch the app, but it contains some initialization logic
# (such as triggering the parsing of the config file) that is very
# important. We should do something less nasty here when we've
# gotten our API and settings initialization logic cleaned up.
#
# Also note that the "$0 = master" line up near the top here is
# the magic that allows the CommandLine class to know that it's
# supposed to be running master.
#
# --cprice 2012-05-22
require 'puppet/util/command_line'
# we're usually running inside a Rack::Builder.new {} block,
# therefore we need to call run *here*.
run Puppet::Util::CommandLine.new.execute
Jul 25 15:32:06 puppet puppet-agent[14811]: Retrieving pluginfacts
Jul 25 15:32:06 puppet puppet-agent[14811]: Retrieving plugin
Jul 25 15:32:07 puppet puppet-agent[14811]: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Jul 25 15:32:07 puppet puppet-agent[14811]: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Jul 25 15:32:07 puppet puppet-agent[14811]: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Jul 25 15:32:07 puppet puppet-agent[14811]: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Jul 25 15:32:07 puppet puppet-agent[14811]: Loading facts in /var/lib/puppet/lib/facter/etckepper_puppet.rb
Jul 25 15:32:07 puppet puppet-agent[14811]: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Jul 25 15:32:18 puppet abrt[15092]: Saved core dump of pid 13708 (/usr/bin/ruby) to /var/spool/abrt/ccpp-2014-07-25-15:32:17-13708 (142979072 bytes)
Jul 25 15:32:18 puppet abrtd: Directory 'ccpp-2014-07-25-15:32:17-13708' creation detected
Jul 25 15:32:19 puppet puppet-agent[14811]: Could not retrieve catalog from remote server: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Jul 25 15:32:19 puppet puppet-agent[14811]: <html><head>
Jul 25 15:32:19 puppet puppet-agent[14811]: <title>500 Internal Server Error</title>
Jul 25 15:32:19 puppet puppet-agent[14811]: </head><body>
Jul 25 15:32:19 puppet puppet-agent[14811]: <h1>Internal Server Error</h1>
Jul 25 15:32:19 puppet puppet-agent[14811]: <p>The server encountered an internal error or
Jul 25 15:32:19 puppet puppet-agent[14811]: misconfiguration and was unable to complete
Jul 25 15:32:19 puppet puppet-agent[14811]: your request.</p>
Jul 25 15:32:19 puppet puppet-agent[14811]: <p>Please contact the server administrator,
Jul 25 15:32:19 puppet puppet-agent[14811]: root and inform them of the time the error occurred,
Jul 25 15:32:19 puppet puppet-agent[14811]: and anything you might have done that may have
Jul 25 15:32:19 puppet puppet-agent[14811]: caused the error.</p>
Jul 25 15:32:19 puppet puppet-agent[14811]: <p>More information about this error may be available
Jul 25 15:32:19 puppet puppet-agent[14811]: in the server error log.</p>
Jul 25 15:32:19 puppet puppet-agent[14811]: </body></html>
Jul 25 15:32:19 puppet puppet-agent[14811]: Not using cache on failed catalog
Jul 25 15:32:19 puppet puppet-agent[14811]: Could not retrieve catalog; skipping run
Jul 25 15:32:19 puppet puppet-master[15110]: Setting modulepath is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
Jul 25 15:32:19 puppet puppet-master[15110]: (at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Jul 25 15:32:19 puppet puppet-master[15110]: Setting manifest is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
Jul 25 15:32:19 puppet puppet-master[15110]: (at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Jul 25 15:32:20 puppet puppet-master[15110]: Starting Puppet master version 3.6.2
Jul 25 15:32:41 puppet abrtd: Sending an email...
Jul 25 15:32:41 puppet abrtd: Email was sent to: root@localhost
Jul 25 15:32:41 puppet abrtd: Duplicate: UUID
Jul 25 15:32:41 puppet abrtd: DUP_OF_DIR: /var/spool/abrt/ccpp-2014-07-25-15:20:12-11980
Jul 25 15:32:41 puppet abrtd: Deleting problem directory ccpp-2014-07-25-15:32:17-13708 (dup of ccpp-2014-07-25-15:20:12-11980)
Jul 25 15:32:42 puppet abrtd: No actions are found for event 'notify-dup'
Jul 25 15:33:19 puppet puppet-agent[15710]: Retrieving pluginfacts
Jul 25 15:33:19 puppet puppet-agent[15710]: Retrieving plugin
Jul 25 15:33:21 puppet puppet-agent[15710]: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Jul 25 15:33:21 puppet puppet-agent[15710]: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Jul 25 15:33:21 puppet puppet-agent[15710]: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Jul 25 15:33:21 puppet puppet-agent[15710]: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Jul 25 15:33:21 puppet puppet-agent[15710]: Loading facts in /var/lib/puppet/lib/facter/etckepper_puppet.rb
Jul 25 15:33:21 puppet puppet-agent[15710]: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Jul 25 15:33:31 puppet puppet-master[15217]: Compiled catalog for puppet.puppettest.example.com in environment production in 9.11 seconds
Jul 25 15:33:32 puppet puppet-agent[15710]: Caching catalog for puppet.puppettest.example.com
Jul 25 15:33:32 puppet puppet-agent[15710]: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
Jul 25 15:33:32 puppet puppet-agent[15710]: (at /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:816:in `set_default')
Jul 25 15:33:34 puppet puppet-agent[15710]: Applying configuration version '1406295201'
Jul 25 15:33:36 puppet puppet-agent[15710]: (/Stage[main]/Puppet::Passenger/File[/var/lib/puppet/ssl/ca]/mode) mode changed '0755' to '0770'
Jul 25 15:33:36 puppet puppet-agent[15710]: (/Stage[main]/Puppet::Passenger/File[/var/lib/puppet/ssl/ca/requests]/mode) mode changed '0755' to '0750'
Jul 25 15:33:39 puppet puppet-agent[15710]: Finished catalog run in 6.15 seconds
Jul 25 15:33:48 puppet puppet-agent[16262]: Retrieving pluginfacts
Jul 25 15:33:49 puppet puppet-agent[16262]: Retrieving plugin
Jul 25 15:33:50 puppet puppet-agent[16262]: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Jul 25 15:33:50 puppet puppet-agent[16262]: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Jul 25 15:33:50 puppet puppet-agent[16262]: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Jul 25 15:33:50 puppet puppet-agent[16262]: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Jul 25 15:33:50 puppet puppet-agent[16262]: Loading facts in /var/lib/puppet/lib/facter/etckepper_puppet.rb
Jul 25 15:33:50 puppet puppet-agent[16262]: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Jul 25 15:33:58 puppet abrt[16531]: Saved core dump of pid 15217 (/usr/bin/ruby) to /var/spool/abrt/ccpp-2014-07-25-15:33:57-15217 (153509888 bytes)
Jul 25 15:33:58 puppet abrtd: Directory 'ccpp-2014-07-25-15:33:57-15217' creation detected
Jul 25 15:33:58 puppet puppet-agent[16262]: Could not retrieve catalog from remote server: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Jul 25 15:33:58 puppet puppet-agent[16262]: <html><head>
Jul 25 15:33:58 puppet puppet-agent[16262]: <title>500 Internal Server Error</title>
Jul 25 15:33:58 puppet puppet-agent[16262]: </head><body>
Jul 25 15:33:58 puppet puppet-agent[16262]: <h1>Internal Server Error</h1>
Jul 25 15:33:58 puppet puppet-agent[16262]: <p>The server encountered an internal error or
Jul 25 15:33:58 puppet puppet-agent[16262]: misconfiguration and was unable to complete
Jul 25 15:33:58 puppet puppet-agent[16262]: your request.</p>
Jul 25 15:33:58 puppet puppet-agent[16262]: <p>Please contact the server administrator,
Jul 25 15:33:58 puppet puppet-agent[16262]: root and inform them of the time the error occurred,
Jul 25 15:33:58 puppet puppet-agent[16262]: and anything you might have done that may have
Jul 25 15:33:58 puppet puppet-agent[16262]: caused the error.</p>
Jul 25 15:33:58 puppet puppet-agent[16262]: <p>More information about this error may be available
Jul 25 15:33:58 puppet puppet-agent[16262]: in the server error log.</p>
Jul 25 15:33:58 puppet puppet-agent[16262]: </body></html>
Jul 25 15:33:58 puppet puppet-agent[16262]: Not using cache on failed catalog
Jul 25 15:33:58 puppet puppet-agent[16262]: Could not retrieve catalog; skipping run
Jul 25 15:34:19 puppet abrtd: Sending an email...
Jul 25 15:34:19 puppet abrtd: Email was sent to: root@localhost
Jul 25 15:34:19 puppet abrtd: Duplicate: UUID
Jul 25 15:34:19 puppet abrtd: DUP_OF_DIR: /var/spool/abrt/ccpp-2014-07-25-15:20:12-11980
Jul 25 15:34:19 puppet abrtd: Deleting problem directory ccpp-2014-07-25-15:33:57-15217 (dup of ccpp-2014-07-25-15:20:12-11980)
Jul 25 15:34:19 puppet abrtd: No actions are found for event 'notify-dup'
[ 2014-07-25 16:20:03.5217 21735/7f9d7de84720 agents/HelperAgent/Main.cpp:602 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.21730/generation-0/request
[ 2014-07-25 16:20:03.5255 21740/7f17009727e0 agents/LoggingAgent/Main.cpp:318 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.21730/generation-0/logging
[ 2014-07-25 16:20:03.5256 21732/7f4fda438720 agents/Watchdog/Main.cpp:631 ]: All Phusion Passenger agents started!
[Fri Jul 25 16:20:03 2014] [notice] Apache/2.2.15 (Unix) DAV/2 Phusion_Passenger/4.0.18 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[ 2014-07-25 16:20:04.1090 21735/7f9d7c98b700 Pool2/Spawner.h:738 ]: [App 21968 stdout]
[ 2014-07-25 16:20:05.0502 21735/7f9d7c98b700 Pool2/SmartSpawner.h:301 ]: Preloader for /etc/puppet/rack started on PID 21968, listening on unix:/tmp/passenger.1.0.21730/generation-0/backends/preloader.21968
[ 2014-07-25 16:20:05.6869 21735/7f9d7c6a0700 Pool2/Spawner.h:738 ]: [App 22027 stdout]
[ 2014-07-25 16:20:13.7501 21735/7f9d7c6a0700 Pool2/SmartSpawner.h:301 ]: Preloader for /usr/share/foreman started on PID 22027, listening on unix:/tmp/passenger.1.0.21730/generation-0/backends/preloader.22043
[ 2014-07-25 16:24:09.6390 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] /usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:105: [BUG] Segmentation fault
[ 2014-07-25 16:24:09.6390 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[ 2014-07-25 16:24:09.6390 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr]
[ 2014-07-25 16:24:30.2187 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] /usr/lib/ruby/1.8/pathname.rb:609:
[ 2014-07-25 16:24:30.2187 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] [BUG]
[ 2014-07-25 16:24:30.2187 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] Segmentation fault
[ 2014-07-25 16:24:30.2263 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr]
[ 2014-07-25 16:24:30.2263 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[ 2014-07-25 16:24:30.2263 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr]
[ 2014-07-25 16:24:49.4576 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] /usr/lib/ruby/1.8/pathname.rb:287:
[ 2014-07-25 16:24:49.4577 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] [BUG]
[ 2014-07-25 16:24:49.4577 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] Segmentation fault
[ 2014-07-25 16:24:49.4577 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr]
[ 2014-07-25 16:24:49.4577 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[ 2014-07-25 16:24:49.4577 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr]
[ 2014-07-25 16:25:06.9532 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] /usr/lib/ruby/1.8/pathname.rb:287:
[ 2014-07-25 16:25:06.9532 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] [BUG]
[ 2014-07-25 16:25:06.9532 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] Segmentation fault
[ 2014-07-25 16:25:06.9533 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr]
[ 2014-07-25 16:25:06.9533 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[ 2014-07-25 16:25:06.9533 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr]
[ 2014-07-25 16:26:20.1704 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] /usr/lib/ruby/1.8/pathname.rb:290: [BUG] Segmentation fault
[ 2014-07-25 16:26:20.1705 21735/7f9d7c722700 Pool2/Implementation.cpp:1274 ]: [App 21968 stderr] ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment