Error 400 on Server: 0 is not a string. It looks to be a Fixnum on node example.test.net

300 views
Skip to first unread message

Tony Zhao

unread,
Apr 27, 2014, 10:38:22 PM4/27/14
to puppet...@googlegroups.com
This is the error I got running puppetlab's puppetdb module trying to setup puppetdb and postgresql. I was able to run it locally with puppet apply.

I am running puppet 3.5.1 on both master and agent with hiera. Master is running Apache+Passenger.

Has anyone encounter similar issue before and can provide some insights?

Ken Barber

unread,
Apr 28, 2014, 8:51:35 AM4/28/14
to Puppet Users
Can you paste the full error in a gist (with surrounding content as
well) instead of just putting it in a subject line?

If you can run the failing component with --debug so we can see more
verbose output next to the error that might be also useful. If this
error is being logged by your master, you should run the master using
--no-daemonize and --debug perhaps.

ken.
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/461d498b-22d6-4b39-bc44-1e4d94a1e75b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Tony Zhao

unread,
Apr 28, 2014, 7:15:27 PM4/28/14
to puppet...@googlegroups.com
This gist has the debug output:
https://gist.github.com/touchdown/190fe8eca878b82fc71b

I realize that it came from running the postgresql setup in puppetdb module. I am running both postgresql locally so i simply declare both classes with default params.

Tony Zhao

unread,
Apr 29, 2014, 4:03:23 PM4/29/14
to puppet...@googlegroups.com
So I realized that I was running 3.4.2 when using puppet apply and 3.5.1 on puppetmaster. I am thinking that might have caused the problem?

Is there anyway to download a previous release of puppet?

Thanks


On Monday, April 28, 2014 8:51:35 AM UTC-4, Ken Barber wrote:
Reply all
Reply to author
Forward
0 new messages