(I''m emailing the list, rather than direct.)
Adnet Ghislain wrote:> Hello,
>
> More on my deployment, i have an issue where the fact sometime does
> not load and it seems that they do not work and as i rely on facts in it
> ll fails:
>
> Oct 6 02:54:18 oiseadmin puppetd[42243]: Could not call
> fileserver.list: #<Errno::ECONNRESET: Connection reset by peer>
> Oct 6 02:54:18 oiseadmin puppetd[42243]:
> (fact_collector/file=/usr/local/.aqadmin/puppet/var/facts) Failed to
> retrieve current state: Connection reset by peer
> Oct 6 02:55:44 oiseadmin puppetd[42243]: Starting configuration run
> Oct 6 03:00:04 oiseadmin puppetd[42243]: Could not call
> fileserver.describe: #<Errno::ECONNRESET: Connection reset by peer>
> Oct 6 03:00:04 oiseadmin puppetd[42243]:
> (//oiseadmin.adn-services.com/baseaqueos/file=/usr/local/.aqadmin)
> Failed to retrieve current state: Connection reset by peer
> Oct 6 03:00:04 oiseadmin puppetd[42243]:
> (//oiseadmin.adn-services.com/baseaqueos/file=/usr/local/.aqadmin/home)
> Dependency file[/usr/local/.aqadmin] has 1 failures
> Oct 6 03:00:04 oiseadmin puppetd[42243]:
> (//oiseadmin.adn-services.com/baseaqueos/file=/usr/local/.aqadmin/home)
> Skipping because of failed dependencies
>
> the server logs are very scarce:
> Oct 6 02:54:54 puppet puppetmasterd[19911]: Compiled configuration for
> oiseadmin in 0.11 seconds
>
> This one is a dedicated so no ressrources limits that could explain the
> problem on th e client :( There is 41 host with a cron so all are goign
> for the server at the exact same time (they are ntp synched). Do you
> think this is the issue ?
That''s probably it; does the server load spike?
One of the reasons you should run puppetd as a daemon is that it allows
a kind of natural drift between connections -- machines get rebooted at
slightly different times, so daemons get started at slightly different
times, which means they connect at slightly different times.
I have thought about adding something like cfengine''s SplayTime to
Puppet, and it could be done without too much effort, but it''s makes
things a lot more confusing in the end.
> Is there a way to say to puppet that if it fails to recover the fact
> then it stop, retry after x second ?
At this point, no.
--
Yesterday upon the stair
I met a man who wasn''t there.
He wasn''t there again today --
I think he''s from the CIA.
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com