So I was tried it to fix myself.
I found the reason:
First, there was no master running. I restarted it several time to
find the problem, even with:
puppetmasterd -l console --debug
it just died, silently.
Second:
In the file /etc/puppet/fileserver.conf I inserted an space at the end
of the ip.
[files]
path /etc/puppet/files
allow 178.78.72.121 -space here
this breaks the puppetmaster silently. this is real bad. this must be
a bug. I try to look at the ticket at
http://projects.puppetlabs.com/projects/puppet/issues,
but there is no search. I have to make an account to search? (ok I am
a little bit angry, searching for a day for the dam space) ;-)
On 11 Aug., 14:44, martin kummer mr...@yahoo.com wrote:
hi all
I run puppet version 0.25.4 on Ubuntu 10.4 LTS as client and as
master.
Everything worked fin, but now I got a problem:
If I try to update with puppetd --test, I get this Error Message:
err: Could not retrieve catalog from remote server: undefined method
`closed?' for nil:NilClass
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
So I looked into the syslog on the client side, and found this:
Aug 8 07:44:38 localhost puppetd[909]: Using cached catalog
Aug 8 07:44:38 localhost puppetd[909]: Could not retrieve catalog;
skipping run
Aug 8 08:14:39 localhost puppetd[909]: Could not retrieve catalog
from remote server: Error 400 on SERVER: Duplicate definition:
User[web] is already defined in file /etc/puppet/manifests/classes/
web.pp at line 52; cannot redefine at /etc/puppet/manifests/classes/
users.pp:36 on node web1
Aug 8 08:14:39 localhost puppetd[909]: Using cached catalog
Aug 8 08:14:39 localhost puppetd[909]: Could not retrieve catalog;
skipping run
Aug 8 08:44:40 localhost puppetd[909]: Could not retrieve catalog
from remote server: undefined method `closed?' for nil:NilClass
So I found out, that I have an, Duplicate definition. But this
Duplicate definition Error exists in my Log, since Aug 6 21:43:27:
Aug 6 21:43:27 localhost puppetd[909]: Could not retrieve catalog
from remote server: Error 400 on SERVER: Invalid parameter 'uid' for
type 'Group' at /etc/puppet/manifests/classes/users.pp:42 on node web1
Aug 6 21:43:28 localhost puppetd[909]: Using cached catalog
But the behavior changed just 36 hours later, this must have something
to to with the caching catalog. I fixed the Duplicate definition, but
still get the Could not retrieve catalog from remote server Error.
Any hints?
Thanks in Advance
Martin Kummer
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.