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
Trying to setup puppetdbquery on puppet-3.0.0-rc5
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
  5 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
 
Chuck  
View profile  
 More options Aug 30 2012, 9:04 am
From: Chuck <cssc...@gmail.com>
Date: Thu, 30 Aug 2012 06:04:27 -0700 (PDT)
Local: Thurs, Aug 30 2012 9:04 am
Subject: Trying to setup puppetdbquery on puppet-3.0.0-rc5

I have puppetdbquery working on my puppet-2.7.16 puppet master but I am
getting an error when using it with puppet-3.0.0-rc5

https://github.com/dalen/puppet-puppetdbquery

This is the error I am getting:

  err: Could not retrieve catalog from remote server: Error 400 on SERVER:
undefined method `start' for
#<Puppet::Network::HTTP::Connection:0x7fa6e25db7c8>

How would I go about finding the actual cause of this issue?

Thanks,


 
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.
Chris Price  
View profile  
 More options Aug 31 2012, 12:28 pm
From: Chris Price <ch...@puppetlabs.com>
Date: Fri, 31 Aug 2012 09:28:44 -0700 (PDT)
Local: Fri, Aug 31 2012 12:28 pm
Subject: Re: Trying to setup puppetdbquery on puppet-3.0.0-rc5

Chuck,

The cause of this issues is that we introduced our own HTTP connection
wrapper in 3.0 (rather than using Net::HTTP directly).  This allows us to
do a better job of centralizing the logic related to managing SSL setup and
error handling.

Our Connection class provides a subset of the methods available on Ruby's
HTTP class, and it looks like puppetdbquery is using one of the methods
that don't currently exist in our new API.

The possible solutions would be to add the missing #start method to our new
class, or to tweak puppetdbquery so that it doesn't rely on the #start
method.  I'll ping the folks on our platform team and see what their
thoughts are.

Thanks for the heads up!
Chris


 
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.
Erik Dalén  
View profile  
 More options Sep 1 2012, 5:03 am
From: Erik Dalén <erik.gustav.da...@gmail.com>
Date: Sat, 1 Sep 2012 11:03:19 +0200
Local: Sat, Sep 1 2012 5:03 am
Subject: Re: [Puppet Users] Re: Trying to setup puppetdbquery on puppet-3.0.0-rc5
I'll try to take a look at this during the weekend and see if I can
create something that is compatible with both puppet 2.7 and 3.0. Can
probably try to make the requests more like the puppetdb-terminus does
them as it works on both.

On 31 August 2012 18:28, Chris Price <ch...@puppetlabs.com> wrote:

--
Erik Dalén

 
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.
Erik Dalén  
View profile  
 More options Sep 4 2012, 4:44 am
From: Erik Dalén <erik.gustav.da...@gmail.com>
Date: Tue, 4 Sep 2012 10:44:05 +0200
Local: Tues, Sep 4 2012 4:44 am
Subject: Re: [Puppet Users] Re: Trying to setup puppetdbquery on puppet-3.0.0-rc5
I've released a new version now that contains a fix for this, thanks
for the report.

On 1 September 2012 11:03, Erik Dalén <erik.gustav.da...@gmail.com> wrote:

--
Erik Dalén

 
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.
Chuck  
View profile  
 More options Sep 4 2012, 6:41 pm
From: Chuck <cssc...@gmail.com>
Date: Tue, 4 Sep 2012 15:41:00 -0700 (PDT)
Subject: Re: [Puppet Users] Re: Trying to setup puppetdbquery on puppet-3.0.0-rc5

Thanks,  I have tested it on my puppet 3.0 rc-5 master is working great
now.  


 
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 »