Skip to content

Instantly share code, notes, and snippets.

Agent run:
Debug: Using cached certificate for ca
Debug: Using cached certificate for puppet.lab.beer.town
Debug: Creating new connection for https://puppet.lab.beer.town:8140
Debug: Using cached certificate_revocation_list for ca
Debug: Starting connection for https://puppet.lab.beer.town:8140
Debug: Caching connection for https://puppet.lab.beer.town:8140
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 400 on SERVER: Failed to find puppet.lab.beer.town via exec: Execution of '/etc/puppet/node.rb puppet.lab.beer.town' returned 1:
[root@puppet puppet]# /etc/puppet/node.rb puppet.lab.beer.town
Error retrieving node puppet.lab.beer.town: Net::HTTPNotFound
Check Foreman's /var/log/foreman/production.log for more information.
Started PUT "/smart_proxies/1-puppet-lab-beer-town/refresh" for 172.31.100.214 at 2014-12-11 07:28:42 -0600
Processing by SmartProxiesController#refresh as HTML
Parameters: {"authenticity_token"=>"cDAwbivNjYOdf0jxW9QwTeGhbAq/OCdHsrnxitDUYuc=", "id"=>"1-puppet-lab-beer-town"}
Redirected to https://puppet.lab.beer.town/smart_proxies
Completed 302 Found in 319ms (ActiveRecord: 3.5ms)
Started GET "/smart_proxies" for 172.31.100.214 at 2014-12-11 07:28:43 -0600
Processing by SmartProxiesController#index as HTML
Rendered smart_proxies/index.html.erb within layouts/application (16.6ms)
[root@puppet foreman-proxy]# cat /var/log/foreman-proxy/proxy.log
E, [2014-12-15T08:55:40.712018 #25840] ERROR -- : Failed puppet run: Check Log files
172.22.129.101 - - [15/Dec/2014 08:55:40] "POST /run HTTP/1.1" 500 34 2.9381
E, [2014-12-15T08:59:10.338873 #25840] ERROR -- : Failed puppet run: Check Log files
172.22.129.101 - - [15/Dec/2014 08:59:10] "POST /run HTTP/1.1" 500 34 2.1856
E, [2014-12-15T09:02:42.373482 #25840] ERROR -- : Failed puppet run: Check Log files
172.22.129.101 - - [15/Dec/2014 09:02:42] "POST /run HTTP/1.1" 500 34 2.0674
Foreman GUI:
failed to execute puppetrun: ERF12-4252 [ProxyAPI::ProxyException]: Unable to execute Puppet run ([RestClient::InternalServerError]: 500 Internal Server Error) for proxy https://puppet.lab.beer.town:8443/puppe
W, [2014-12-15T10:29:34.193013 #1055] WARN -- : runner.rb:194:in `receiver_thread' /usr/lib/ruby/site_ruby/1.8/mcollective/ssl.rb:199:in `base64_decode'
/usr/lib/ruby/site_ruby/1.8/mcollective/message.rb:118:in `base64_decode!'
/usr/lib/ruby/site_ruby/1.8/mcollective/message.rb:64:in `initialize'
/usr/libexec/mcollective/mcollective/connector/activemq.rb:392:in `new'
/usr/libexec/mcollective/mcollective/connector/activemq.rb:392:in `receive'
/usr/lib/ruby/site_ruby/1.8/mcollective/runner.rb:212:in `receive'
/usr/lib/ruby/site_ruby/1.8/mcollective/runner.rb:176:in `receiver_thread'
/usr/lib/ruby/site_ruby/1.8/mcollective/runner.rb:174:in `loop'
/usr/lib/ruby/site_ruby/1.8/mcollective/runner.rb:174:in `receiver_thread'
/usr/lib/ruby/site_ruby/1.8/mcollective/runner.rb:139:in `start_receiver_thread'
W, [2014-12-18T08:09:35.948710 #29879] WARN -- : runner.rb:193:in `receiver_thread' Failed to handle message: invalid base64 - ArgumentErro
W, [2014-12-18T08:09:35.949020 #29879] WARN -- : runner.rb:194:in `receiver_thread' /usr/lib/ruby/site_ruby/1.8/mcollective/ssl.rb:199:in `base64_decode'
<?xml version="1.0"?>
<ServerSettings>
<property name="ServerPort" value="26900"/> <!-- Port you want the server to listen on. -->
<property name="ServerIsPublic" value="true"/> <!-- Should this server register to master server -->
<property name="ServerName" value="[OPC] 7 Days to Die"/> <!-- Whatever you want the name to be. -->
<property name="ServerPassword" value=""/> <!-- Password to gain entry to the server -->
<property name="ServerMaxPlayerCount" value="20"/> <!-- Maximum Concurrent Players -->
<property name="ServerDescription" value="[OPC] 7 Days to Die Server"/> <!-- Whatever you want the description to be. -->
<property name="ServerWebsiteURL" value=""/> <!-- Website URL for the server -->
<?xml version="1.0"?>
<ServerSettings>
<property name="ServerPort" value="26900"/> <!-- Port you want the server to listen on. -->
<property name="ServerIsPublic" value="true"/> <!-- Should this server register to master server -->
<property name="ServerName" value="[OPC] 7 Days to Die"/> <!-- Whatever you want the name to be. -->
<property name="ServerPassword" value=""/> <!-- Password to gain entry to the server -->
<property name="ServerMaxPlayerCount" value="20"/> <!-- Maximum Concurrent Players -->
<property name="ServerDescription" value="[OPC] 7 Days to Die Server"/> <!-- Whatever you want the description to be. -->
<property name="ServerWebsiteURL" value=""/> <!-- Website URL for the server -->
--> Finished Dependency Resolution
Error: Package: 1:ruby-shadow-2.2.0-2.el7.x86_64 (puppetlabs-deps)
Requires: libruby.so.2.0()(64bit)
Error: Package: hiera-1.3.4-1.el7.noarch (puppetlabs-products)
Requires: rubygem-json
Error: Package: hiera-1.3.4-1.el7.noarch (puppetlabs-products)
Requires: ruby >= 1.8.5
Error: Package: 1:facter-2.4.0-1.el7.x86_64 (puppetlabs-products)
Requires: /usr/bin/ruby
Error: Package: puppet-3.7.4-1.el7.noarch (puppetlabs-products)
[root@puppetagent7 ruby-2.2.0]# yum repolist
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name status
puppetlabs-deps/x86_64 Puppet Labs Dependencies El 7 - x86_64 17
puppetlabs-products/x86_64 Puppet Labs Products El 7 - x86_64 131
repolist: 148
[root@puppetagent7 ruby-2.2.0]# ls /etc/yum.repos.d/
puppetlabs.repo
[root@puppetagen