Nobuchika Tanaka
2008-Feb-07 06:39 UTC
Puppetrun exited with HTTP-Error: 500 Internal Server Error.
Hi, I have a Redhat EL Rel3 machine running puppetmasterd and a Redhat EL Rel4 is running puppted. Both puppet version is v0.23.2. I tried to push a manifest from puppetmasterd to puppetd with puppetrun. But puppetrun exited with "HTTP-Error: 500 Internal Server Error". Following is output I tried. Puppetmasterd: # puppetrun --host client --debug Failed to load ruby LDAP library. LDAP functionality will not be available debug: Puppet::Network::Client::Runner: defining puppetrunner.run Triggering client debug: Calling puppetrunner.run err: Could not call puppetrunner.run: #<RuntimeError: HTTP-Error: 500 Internal Server Error > Host client failed: HTTP-Error: 500 Internal Server Error client finished with exit code 2 Failed: client Puppetd: # puppetd --verbose --server server --listen --no-client info: Starting handler for Runner info: Starting server for Puppet version 0.23.2 info: Listening on port 8139 debug: Overriding ::ffff:XXX.XXX.XXX.XXX with cert name server info: access[puppetrunner]: allowing server access I have no idea why puppetrun exited with error. Could you tell me what to do?
Luke Kanies
2008-Feb-07 16:20 UTC
Re: Puppetrun exited with HTTP-Error: 500 Internal Server Error.
On Feb 7, 2008, at 12:39 AM, Nobuchika Tanaka wrote:> Hi, > > I have a Redhat EL Rel3 machine running puppetmasterd > and a Redhat EL Rel4 is running puppted. > Both puppet version is v0.23.2. > > I tried to push a manifest from puppetmasterd to puppetd with > puppetrun. > But puppetrun exited with "HTTP-Error: 500 Internal Server Error". > Following is output I tried. > > Puppetmasterd: > # puppetrun --host client --debug > Failed to load ruby LDAP library. LDAP functionality will not be > available > debug: Puppet::Network::Client::Runner: defining puppetrunner.run > Triggering client > debug: Calling puppetrunner.run > err: Could not call puppetrunner.run: #<RuntimeError: HTTP-Error: > 500 Internal Server Error > > Host client failed: HTTP-Error: 500 Internal Server Error > client finished with exit code 2 > Failed: client > > Puppetd: > # puppetd --verbose --server server --listen --no-client > info: Starting handler for Runner > info: Starting server for Puppet version 0.23.2 > info: Listening on port 8139 > debug: Overriding ::ffff:XXX.XXX.XXX.XXX with cert name server > info: access[puppetrunner]: allowing server access > > I have no idea why puppetrun exited with error. > Could you tell me what to do?Does it do that every time on all hosts? Is the ruby version on each machine at least 1.8.2? -- Always behave like a duck - keep calm and unruffled on the surface but paddle like the devil underneath. -- Jacob Braude --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Nobuchika Tanaka
2008-Feb-08 02:39 UTC
Re: Puppetrun exited with HTTP-Error: 500 Internal Server Error.
Hi, Thank you for replying, Luke. >Does it do that every time on all hosts? Yes, it does. I tried it on the others, but it exited with same error. But pull mode that puppetd retrives a manifest from puppetmasterd works well on every host. >Is the ruby version on each machine at least 1.8.2? Yes it is. Puppetmasterd and puppetd runs on ruby version 1.8.6. Puppetmasterd & puppted: # ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux] -------------------- Nobuchika Tanaka
Luke Kanies
2008-Feb-19 15:19 UTC
Re: Puppetrun exited with HTTP-Error: 500 Internal Server Error.
On Feb 7, 2008, at 8:39 PM, Nobuchika Tanaka wrote:> Hi, > > Thank you for replying, Luke. > >> Does it do that every time on all hosts? > > Yes, it does. > I tried it on the others, but it exited with same error. > But pull mode that puppetd retrives a manifest from puppetmasterd > works > well on every host. > >> Is the ruby version on each machine at least 1.8.2? > Yes it is. > Puppetmasterd and puppetd runs on ruby version 1.8.6. > > Puppetmasterd & puppted: > # ruby -v > ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux]Sorry for the slow follow-up. Does the client-side (that is, the machine you''re connecting to) show any errors, or is it just puppetrun? -- I wanna hang a map of the world in my house. Then I''m gonna put pins into all the locations that I''ve traveled to. But first, I''m gonna have to travel to the top two corners of the map so it won''t fall down. -- Mitch Hedberg --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com