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
2014-04-10 18:09:06,655 INFO [puppetlabs.jetty] Removing buggy security provider SunPKCS11-NSS version 1.7 | |
2014-04-10 18:09:14,128 DEBUG [main] [utils.logging] Debug logging enabled | |
2014-04-10 18:09:14,187 DEBUG [main] [kitchensink.ssl] Loaded PEM object of type 'class org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject' from '/etc/puppetdb/ssl/ca.pem' | |
2014-04-10 18:09:14,201 DEBUG [main] [kitchensink.ssl] Loaded PEM object of type 'class java.security.KeyPair' from '/etc/puppetdb/ssl/private.pem' | |
2014-04-10 18:09:14,209 DEBUG [main] [kitchensink.ssl] Loaded PEM object of type 'class org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject' from '/etc/puppetdb/ssl/public.pem' | |
2014-04-10 18:09:14,336 INFO [main] [cli.services] PuppetDB version 1.6.3 | |
2014-04-10 18:09:14,337 DEBUG [main] [bonecp.BoneCPDataSource] JDBC URL = jdbc:postgresql://pg1.vm:5432/puppetdb, Username = puppetdb, partitions = 1, max (per partition) = 25, min (per partition) = 1, helper threads = 3, idle max |
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
root@puppetdb1:/var/lib/puppetdb/mq# service puppetdb stop | |
root@puppetdb1:/var/lib/puppetdb/mq# touch localhost/KahaDB/lock | |
root@puppetdb1:/var/lib/puppetdb/mq# ps auxw | grep java | |
root 34340 0.0 0.0 7832 868 pts/0 S+ 17:55 0:00 grep java | |
root@puppetdb1:/var/lib/puppetdb/mq# service puppetdb start | |
root@puppetdb1:/var/lib/puppetdb/mq# ps auxw | grep java | |
puppetdb 34349 95.6 1.5 616112 94684 ? Sl 17:55 0:02 /usr/lib/jvm/java-7-openjdk-amd64/bin/java -XX:OnOutOfMemoryError=kill -9 %p -Xmx192m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof -jar /usr/share/puppetdb/puppetdb.jar services -c /etc/puppetdb/conf.d | |
root 34360 0.0 0.0 7832 872 pts/0 S+ 17:55 0:00 grep java | |
root@puppetdb1:/var/lib/puppetdb/mq# tail /var/log/puppetdb/puppetdb.log | |
2014-04-10 17:55:08,345 INFO [main] [cli.services] Starting query server |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'pp' | |
def replace_catalog(catalog) | |
uri = URI.parse("http://localhost:8080/v3/commands") |
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
2014-04-08 15:12:31,228 WARN [o.e.j.s.HttpChannel] /v4/catalogs/puppetdb1.vm | |
clojure.lang.ExceptionInfo: Value does not match schema: {:version (not (instance? java.lang.String nil))} | |
at schema.core$validate.invoke(core.clj:165) ~[na:na] | |
at com.puppetlabs.puppetdb.catalogs$eval5779$canonical_catalog__5780$fn__5781.invoke(catalogs.clj:217) ~[na:na] | |
at com.puppetlabs.puppetdb.catalogs$eval5779$canonical_catalog__5780.invoke(catalogs.clj:205) ~[na:na] | |
at com.puppetlabs.puppetdb.query.catalogs$eval7040$catalog_for_node__7041$fn__7042.invoke(catalogs.clj:104) ~[na:na] | |
at com.puppetlabs.puppetdb.query.catalogs$eval7040$catalog_for_node__7041.invoke(catalogs.clj:99) ~[na:na] | |
at com.puppetlabs.puppetdb.http.catalogs$produce_body$fn__11542.invoke(catalogs.clj:15) ~[na:na] | |
at com.puppetlabs.jdbc$with_transacted_connection_fn$fn__6416$fn__6417.invoke(jdbc.clj:229) ~[na:na] | |
at clojure.java.jdbc.internal$transaction_STAR_.invoke(internal.clj:204) ~[na:na] |
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
[ken@kb puppetdb-vagrant]# vagrant up centos-6.5-64-nocm | |
Bringing machine 'centos-6.5-64-nocm' up with 'vmware_fusion' provider... | |
==> centos-6.5-64-nocm: Cloning VMware VM: 'puppetlabs/centos-6.5-64-nocm'. This can take some time... | |
==> centos-6.5-64-nocm: Checking if box 'puppetlabs/centos-6.5-64-nocm' is up to date... | |
==> centos-6.5-64-nocm: Verifying vmnet devices are healthy... | |
==> centos-6.5-64-nocm: Preparing network adapters... | |
==> centos-6.5-64-nocm: Starting the VMware VM... | |
==> centos-6.5-64-nocm: Waiting for the VM to finish booting... | |
==> centos-6.5-64-nocm: The machine is booted and ready! | |
==> centos-6.5-64-nocm: Forwarding ports... |
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
2014-04-02 01:15:37,062 INFO [command-proc-51] [puppetdb.command] [d2456be6-d928-4510-8c5c-df316514aa61] [replace facts] puppetdb1.vm | |
2014-04-02 01:15:37,504 INFO [command-proc-51] [puppetdb.command] [41dc0ccc-b44a-4b8d-9408-46b775c9d6cf] [replace catalog] puppetdb1.vm | |
2014-04-02 01:15:37,826 INFO [command-proc-51] [puppetdb.command] [350c59b1-41e4-4609-b134-5ed4a7843978] [store report] puppet v3.5.0-rc2 - puppetdb1.vm | |
2014-04-02 01:18:03,875 INFO [command-proc-51] [puppetdb.command] [c299d4d5-509c-4a90-8797-f7d3cd1738e7] [replace facts] puppetdb1.vm | |
2014-04-02 01:18:04,148 INFO [command-proc-51] [puppetdb.command] [3970c8fe-d983-4e45-b573-a1ce6540e275] [replace catalog] puppetdb1.vm | |
2014-04-02 01:18:04,462 INFO [command-proc-51] [puppetdb.command] [354f6123-13f2-48b8-be63-956ced6dd7e3] [store report] puppet v3.5.0-rc2 - puppetdb1.vm | |
2014-04-02 01:54:28,395 INFO [command-proc-51] [puppetdb.command] [fe8d166e-cfd2-4c07-bbb5-9914fab1cb1a] [replace facts] puppetdb1.vm | |
2014-04-02 01:54:28,705 INFO [comman |
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
#<Puppet::Indirector::Request:0x7f304bb3d300 | |
@authenticated=true, | |
@environment= | |
#<Puppet::Node::Environment:0x7f304b82d548 | |
@attr_expirations={:modules=>Wed Apr 02 01:54:42 +0100 2014}, | |
@known_resource_types= | |
TypeCollection{:hostclasses=>["", "settings"], :nodes=>[], :definitions=>[]}, | |
@manifest="/etc/puppet/manifests/site.pp", | |
@modulepath=["/etc/puppet/modules", "/usr/share/puppet/modules"], | |
@name=:production, |
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
#<Puppet::Indirector::Request:0x7f9f9c6e0968 | |
@environment= | |
#<Puppet::Node::Environment:0x7f9f9c8fd548 | |
@attr_expirations={:modules=>Wed Apr 02 01:18:17 +0100 2014}, | |
@manifest="/etc/puppet/manifests/site.pp", | |
@modulepath=["/etc/puppet/modules", "/usr/share/puppet/modules"], | |
@name=:production, | |
@value_cache= | |
{:modules=> | |
[#<Puppet::Module:0x7f9f9e438038 |
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
[root@el5-64-1 ~]# yum clean | |
Loaded plugins: fastestmirror, security | |
Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, all | |
[root@el5-64-1 ~]# yum install augeas-libs | |
Loaded plugins: fastestmirror, security | |
Loading mirror speeds from cached hostfile | |
* base: mirrors.cat.pdx.edu | |
* centosplus: centos-distro.cavecreek.net | |
* contrib: mirror.spro.net | |
* epel: ftp.osuosl.org |
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
puppet apply -e 'notice(inline_template("<%= require \"pp\"; PP.pp([methods.sort, instance_variables.sort, global_variables.sort, local_variables.sort], \"\") %>"))' | |
Notice: Scope(Class[main]): [[:!, | |
:!=, | |
:!~, | |
:<=>, | |
:==, | |
:===, | |
:=~, | |
:__id__, | |
:__send__, |