Rachel Andrew
2013-Jun-19 16:28 UTC
[Puppet Users] Error 400 on SERVER: No such file or directory - getcwd
Hi fully expecting to have done something silly here but am struggling to debug why I am getting the error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: No such file or directory - getcwd at /etc/puppet/manifests/nodes.pp:2 on node my.domain.net the line in question is getting a custom module which has not changed recently. I was installing http://www.practicalclouds.com/content/guide/pclouds-vcsdeploy-deploy-stuff and having some permissions issues, so I think this may well be to do with permissions. However I am at a loss as to what as everything looks to be ok. Puppet Master and two client nodes on Debian Wheezy, the clients both return this error. Puppet version 3.2.1 on all 3. Any suggestions as to where to start debugging this? Rachel -- 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+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Jon Jaroker
2013-Dec-10 18:40 UTC
[Puppet Users] Re: Error 400 on SERVER: No such file or directory - getcwd
I debugged this same 400 error with ''getcwd'' in my 2.7.18 version of puppet. I did not find useful information through web searches, so posted my debugging steps here: http://jaroker.com/?p=2036 In my case, the puppet master had been operating normally for over a year. I had recently updated my Eclipse IDE and created new manifests. The IDE used non UTF-8 encoding on these new files. Subsequent puppet runs on various nodes produced this 400-getcwd error: "puppet: Could not retrieve catalog from remote server Error 400 on SERVER “Could not parse for environment...” getcwd" In my case, the solution was to identify DOS-encoded files on the master and convert them to unix. Jon On Wednesday, June 19, 2013 12:28:28 PM UTC-4, Rachel Andrew wrote:> > Hi > > fully expecting to have done something silly here but am struggling to > debug why I am getting the error: > > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > No such file or directory - getcwd at /etc/puppet/manifests/nodes.pp:2 on > node my.domain.net > > the line in question is getting a custom module which has not changed > recently. > > I was installing > http://www.practicalclouds.com/content/guide/pclouds-vcsdeploy-deploy-stuffand having some permissions issues, so I think this may well be to do with > permissions. However I am at a loss as to what as everything looks to be > ok. > > Puppet Master and two client nodes on Debian Wheezy, the clients both > return this error. Puppet version 3.2.1 on all 3. > > Any suggestions as to where to start debugging this? > > Rachel-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3340e221-be23-405d-baa0-5d08001aedc8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Seemingly Similar Threads
- Executing a script after creating vhosts with create_resources
- [PATCH] dash: Fix "pwd -P" breakage due to getcwd(0, 0) usage
- possible portability bug in bsd-getcwd.c
- [Bug 1748] New: getcwd being called with invalid argument in servconf.c
- rsync: getcwd(): bad address (14)