Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
puppetdb improved logging
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Schmitt  
View profile  
 More options Aug 29 2012, 7:11 am
From: David Schmitt <da...@dasz.at>
Date: Wed, 29 Aug 2012 13:11:26 +0200
Local: Wed, Aug 29 2012 7:11 am
Subject: puppetdb improved logging
Hi,

I was just hunting down a really nasty dependency problem, which could
only be found by this patch:

--- /tmp/puppetdb.rb.orig       2012-08-29 07:09:44.680687865 -0400
+++
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/puppetdb.rb       2012-08-29
07:09:54.069673455 -0400
@@ -160,7 +160,7 @@
             # and try that
             other_resource = find_resource(hash['resources'], other_hash)
|| find_resource(hash['resources'], aliases[other_array])

-            raise "Can't find resource #{other_ref} for relationship"
unless other_resource
+            raise "Can't find resource #{other_ref} for relationship to
#{resource_hash_to_ref(resource_hash)}" unless other_resource

             if other_resource['exported']
               raise "Can't create an edge between
#{resource_hash_to_ref(resource_hash)} and exported resource #{other_ref}"

I'm currently on the road and thus cannot provide a proper ticket :-(

Best Regards, David


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Deepak Giridharagopal  
View profile  
 More options Aug 29 2012, 10:43 am
From: Deepak Giridharagopal <dee...@puppetlabs.com>
Date: Wed, 29 Aug 2012 08:43:50 -0600
Local: Wed, Aug 29 2012 10:43 am
Subject: Re: [Puppet-dev] puppetdb improved logging

You're absolutely right...that error message is seriously unhelpful!

And in fact, we already have a ticket for this. :) The fix has already
been merged and will appear in the next version (which will be
released in a few days):

https://github.com/puppetlabs/puppetdb/pull/267

The patch should apply cleanly to your terminus if you need it
beforehand, and if it doesn't let us know and we can craft a patch for
you that works!

deepak

--
Deepak Giridharagopal / Puppet Labs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »