Steven Truong
2012-Jun-12 23:38 UTC
[Puppet Users] puppetdb indicated only facts were replaced, no sign of catalog
Dear all, I have this setup on Ubuntu 12.04 and using puppetmaster/puppet 2.7.14 and puppetdb/puppetdb-terminus 0.9.0 from puppetlabs. My puppetmaster also run puppetdb. I also use hiera in this setup. hadoop4 is puppetmaster and hadoop02 is puppet client. puppet node status hadoop4.west.net hadoop4.west.net Currently active Last catalog: 2012-06-05T23:23:33.159Z Last facts: 2012-06-12T22:42:18.383Z puppet node status hadoop02.west.net hadoop02.west.net Currently active No catalog received Last facts: 2012-06-12T22:55:01.816Z I kept changing my modules and re-ran puppet agent on puppet client but the catalog does not show up at all. I added new modules to these nodes and I still got "No catalog received". The interesting things about this "Last catalog: 2012-06-05T23:23:33.159Z" in the master is that it could be some stale data that I had when I set up puppetdb. If every time I run puppet agent on master or on client and the catalog information got updated, then this should show more recent times. I turned on log4j log to DEBUG and I did not see much. 2012-06-12 16:36:05,520 DEBUG [418893110@qtp-1933844018-9 - /commands] [mortbay.log] REQUEST /commands on org.mortbay.jetty.HttpConnection@4255acbc 2012-06-12 16:36:05,543 DEBUG [418893110@qtp-1933844018-9 - /commands] [core.JmsTemplate] Executing callback on JMS Session: Cached JMS Session: ActiveMQSession {id=ID:hadoop4-57420-1339541690768-4:8:1,started=false} 2012-06-12 16:36:05,543 DEBUG [418893110@qtp-1933844018-9 - /commands] [core.JmsTemplate] Sending created message: ActiveMQTextMessage {commandId = 0, responseRequired = false, messageId = null, originalDestination null, originalTransactionId = null, producerId = null, destination = null, transactionId = null, expiration = 0, timestamp = 0, arrival = 0, brokerInTime = 0, brokerOutTime = 0, correlationId = null, replyTo = null, persistent = false, type = null, priority = 0, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID null, content = null, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties false, readOnlyBody = false, droppable = false, text {"annotations":{"id":"3add9963-105d-4add-b427..."version":1}} 2012-06-12 16:36:05,546 DEBUG [command-proc-67] [listener.DefaultMessageListenerContainer] Received message of type [class org.apache.activemq.command.ActiveMQTextMessage] from consumer [Cached JMS MessageConsumer: ActiveMQMessageConsumer { value=ID:hadoop4-57420-1339541690768-4:1:1:1, started=true }] of session [Cached JMS Session: ActiveMQSession {id=ID:hadoop4-57420-1339541690768-4:1:1,started=true}] 2012-06-12 16:36:05,621 DEBUG [418893110@qtp-1933844018-9 - /commands] [mortbay.log] RESPONSE /commands 200 2012-06-12 16:36:05,627 INFO [command-proc-67] [puppetdb.command] [3add9963-105d-4add-b427-042c56d11d5a] [replace facts] hadoop4.west.net I have all the files in /etc/puppet/ such as puppetdb.conf routes.yaml as in the docs. Please tell me what I might be doing wrong. Thanks, Steven. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Deepak Giridharagopal
2012-Jun-13 01:03 UTC
Re: [Puppet Users] puppetdb indicated only facts were replaced, no sign of catalog
On Tue, Jun 12, 2012 at 5:38 PM, Steven Truong <midair77@gmail.com> wrote:> Dear all, > > I have this setup on Ubuntu 12.04 and using puppetmaster/puppet 2.7.14 and > puppetdb/puppetdb-terminus 0.9.0 from puppetlabs. > > My puppetmaster also run puppetdb. I also use hiera in this setup. > > hadoop4 is puppetmaster and hadoop02 is puppet client. > > puppet node status hadoop4.west.net > hadoop4.west.net > Currently active > Last catalog: 2012-06-05T23:23:33.159Z > Last facts: 2012-06-12T22:42:18.383Z > > puppet node status hadoop02.west.net > hadoop02.west.net > Currently active > No catalog received > Last facts: 2012-06-12T22:55:01.816Z > > I kept changing my modules and re-ran puppet agent on puppet client but > the catalog does not show up at all. I added new modules to these nodes > and I still got "No catalog received". > > The interesting things about this "Last catalog: 2012-06-05T23:23:33.159Z" > in the master is that it could be some stale data that I had when I set up > puppetdb. If every time I run puppet agent on master or on client and the > catalog information got updated, then this should show more recent times. > > > I turned on log4j log to DEBUG and I did not see much. > > 2012-06-12 16:36:05,520 DEBUG [418893110@qtp-1933844018-9 - /commands] > [mortbay.log] REQUEST /commands on org.mortbay.jetty.HttpConnection@4255acbc > 2012-06-12 16:36:05,543 DEBUG [418893110@qtp-1933844018-9 - /commands] > [core.JmsTemplate] Executing callback on JMS Session: Cached JMS Session: > ActiveMQSession {id=ID:hadoop4-57420-1339541690768-4:8:1,started=false} > 2012-06-12 16:36:05,543 DEBUG [418893110@qtp-1933844018-9 - /commands] > [core.JmsTemplate] Sending created message: ActiveMQTextMessage {commandId > = 0, responseRequired = false, messageId = null, originalDestination > null, originalTransactionId = null, producerId = null, destination = null, > transactionId = null, expiration = 0, timestamp = 0, arrival = 0, > brokerInTime = 0, brokerOutTime = 0, correlationId = null, replyTo = null, > persistent = false, type = null, priority = 0, groupID = null, > groupSequence = 0, targetConsumerId = null, compressed = false, userID > null, content = null, marshalledProperties = null, dataStructure = null, > redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties > false, readOnlyBody = false, droppable = false, text > {"annotations":{"id":"3add9963-105d-4add-b427..."version":1}} > 2012-06-12 16:36:05,546 DEBUG [command-proc-67] > [listener.DefaultMessageListenerContainer] Received message of type [class > org.apache.activemq.command.ActiveMQTextMessage] from consumer [Cached JMS > MessageConsumer: ActiveMQMessageConsumer { > value=ID:hadoop4-57420-1339541690768-4:1:1:1, started=true }] of session > [Cached JMS Session: ActiveMQSession > {id=ID:hadoop4-57420-1339541690768-4:1:1,started=true}] > 2012-06-12 16:36:05,621 DEBUG [418893110@qtp-1933844018-9 - /commands] > [mortbay.log] RESPONSE /commands 200 > 2012-06-12 16:36:05,627 INFO [command-proc-67] [puppetdb.command] > [3add9963-105d-4add-b427-042c56d11d5a] [replace facts] hadoop4.west.net > > I have all the files in /etc/puppet/ such as puppetdb.conf routes.yaml as > in the docs. > > Please tell me what I might be doing wrong. >What does your puppet.conf look like? In particular, what is "storeconfigs_backend" currently set to? It sounds like the facts terminus is correctly configured, but not the catalog and resource terminuses. deepak -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.