Arnau Bria
2009-Jan-09 10:48 UTC
[Puppet Users] Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
Hi all, I''m doing a new install of my puppet server and I''m doing it like: 1.-) adding epel repo: http://fedoraproject.org/wiki/EPEL/FAQ#howtouse 2.-) yum -y install puppet-server 3.-) rm -rf /etc/puppet 4.-) copy my old puppet conf (from puppet-0.24.5 to 0.24.6) mv /etc/puppet.old /etc/puppet 5.-) start puppetmaster: [gridinstall etc]# /etc/init.d/puppetmaster start Starting puppetmaster: Got 1 failure(s) while initializing: change from absent to directory failed: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist [FAILED] I could create dirs by hand, but I suppose it''s not the solution. My puppetmaster.conf: [puppet] # Where Puppet stores dynamic and growing data. # The default value is ''/var/puppet''. vardir = /var/lib/puppet # The Puppet log directory. # The default value is ''$vardir/log''. logdir = /var/log/puppet # Where Puppet PID files are kept. # The default value is ''$vardir/run''. rundir = /var/run/puppet # Where SSL certificates are kept. # The default value is ''$confdir/ssl''. ssldir = $vardir/ssl modulepath = /etc/puppet/manifests/modules [puppetd] # The file in which puppetd stores a list of the classes # associated with the retrieved configuratiion. Can be loaded in # the separate ``puppet`` executable using the ``--loadclasses`` # option. # The default value is ''$confdir/classes.txt''. classfile = $vardir/classes.txt # Where puppetd caches the local configuration. An # extension indicating the cache format is added automatically. # The default value is ''$confdir/localconfig''. localconfig = $vardir/localconfig reports = rrdgraph,store,log reportdir = $vardir/report rrddir = $vardir/rrd rrdinterval = $runinterval rrdgraph = true [puppetmaster] autosign = /etc/puppet/autosign.conf modulepath = /etc/puppet/manifests/modules [puppetmasterd] modulepath = /etc/puppet/manifests/modules Could someone help me to find is my problem? Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Rodney Quillo
2009-Jan-09 12:59 UTC
[Puppet Users] Re: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
>parent directory /var/lib/puppet does not existThis directory seems dont exists? Rodney On Jan 9, 6:48 pm, Arnau Bria <arnaub...@pic.es> wrote:> Hi all, > > I''m doing a new install of my puppet server and I''m doing it like: > > 1.-) adding epel repo:http://fedoraproject.org/wiki/EPEL/FAQ#howtouse > > 2.-) yum -y install puppet-server > > 3.-) rm -rf /etc/puppet > > 4.-) copy my old puppet conf (from puppet-0.24.5 to 0.24.6) > > mv /etc/puppet.old /etc/puppet > > 5.-) start puppetmaster: > > [gridinstall etc]# /etc/init.d/puppetmaster start > Starting puppetmaster: Got 1 failure(s) while initializing: change from absent to directory failed: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist > [FAILED] > > I could create dirs by hand, but I suppose it''s not the solution. > > My puppetmaster.conf: > [puppet] > # Where Puppet stores dynamic and growing data. > # The default value is ''/var/puppet''. > vardir = /var/lib/puppet > > # The Puppet log directory. > # The default value is ''$vardir/log''. > logdir = /var/log/puppet > > # Where Puppet PID files are kept. > # The default value is ''$vardir/run''. > rundir = /var/run/puppet > > # Where SSL certificates are kept. > # The default value is ''$confdir/ssl''. > ssldir = $vardir/ssl > modulepath = /etc/puppet/manifests/modules > > [puppetd] > # The file in which puppetd stores a list of the classes > # associated with the retrieved configuratiion. Can be loaded in > # the separate ``puppet`` executable using the ``--loadclasses`` > # option. > # The default value is ''$confdir/classes.txt''. > classfile = $vardir/classes.txt > > # Where puppetd caches the local configuration. An > # extension indicating the cache format is added automatically. > # The default value is ''$confdir/localconfig''. > localconfig = $vardir/localconfig > reports = rrdgraph,store,log > reportdir = $vardir/report > rrddir = $vardir/rrd > rrdinterval = $runinterval > rrdgraph = true > > [puppetmaster] > autosign = /etc/puppet/autosign.conf > modulepath = /etc/puppet/manifests/modules > [puppetmasterd] > modulepath = /etc/puppet/manifests/modules > > Could someone help me to find is my problem? > > Cheers, > Arnau--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Arnau Bria
2009-Jan-09 16:02 UTC
[Puppet Users] Re: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
On Fri, 9 Jan 2009 04:59:57 -0800 (PST) Rodney Quillo wrote:> > >parent directory /var/lib/puppet does not exist > > This directory seems dont exists?Are you sure? :-) I finally created it by hand and the other ones too, but I was asking if this error is normal in a fresh install.> RodneyAnyway, thanks for your reply, Arnau --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Carl Caum
2009-Jan-09 16:10 UTC
[Puppet Users] Re: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
Try adding an exec statement that runs at the beginning of your manifest. I''d have to know your manifest to suggest the best way to do it. I personally have an essential package resource require it. exec {"mkdir -p /var/lib/puppet":} On Jan 9, 2009, at 10:02 AM, Arnau Bria wrote:> > On Fri, 9 Jan 2009 04:59:57 -0800 (PST) > Rodney Quillo wrote: > >> >>> parent directory /var/lib/puppet does not exist >> >> This directory seems dont exists? > > Are you sure? :-) > I finally created it by hand and the other ones too, but I was asking > if this error is normal in a fresh install. > >> Rodney > Anyway, thanks for your reply, > Arnau > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2009-Jan-09 18:19 UTC
[Puppet Users] Re: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
On Jan 9, 2009, at 4:48 AM, Arnau Bria wrote:> > Hi all, > > I''m doing a new install of my puppet server and I''m doing it like: > > 1.-) adding epel repo: > http://fedoraproject.org/wiki/EPEL/FAQ#howtouse > > 2.-) yum -y install puppet-server > > 3.-) rm -rf /etc/puppet > > 4.-) copy my old puppet conf (from puppet-0.24.5 to 0.24.6) > > mv /etc/puppet.old /etc/puppet > > 5.-) start puppetmaster: > > [gridinstall etc]# /etc/init.d/puppetmaster start > Starting puppetmaster: Got 1 failure(s) while initializing: change > from absent to directory failed: Cannot create /var/lib/puppet/ > clientbucket; parent directory /var/lib/puppet does not exist > [FAILED]This is definitely a bug; it shouldn''t happen. Please file a bug, although I think I''ve fixed it in the master branch. Puppet should always be able to start from a clean slate. -- The truth is that there is nothing noble in being superior to somebody else. The only real nobility is in being superior to your former self. -- Whitney Young --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Arnau Bria
2009-Jan-12 16:58 UTC
[Puppet Users] Re: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
On Fri, 9 Jan 2009 10:10:37 -0600 Carl Caum wrote:> > Try adding an exec statement that runs at the beginning of your > manifest. I''d have to know your manifest to suggest the best way to > do it. I personally have an essential package resource require it. > > exec {"mkdir -p /var/lib/puppet":}well, it''s on server... I don''t manage puppet server with puppet... Someone said I should open a bug... Should I do it here: http://reductivelabs.com/trac/puppet/simpleticket ? Cause I registered myself as trac user but I see nothing there... I followed FAQ: http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#id32 Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2009-Jan-12 23:41 UTC
[Puppet Users] Re: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
On Jan 12, 2009, at 10:58 AM, Arnau Bria wrote:> > On Fri, 9 Jan 2009 10:10:37 -0600 > Carl Caum wrote: > >> >> Try adding an exec statement that runs at the beginning of your >> manifest. I''d have to know your manifest to suggest the best way to >> do it. I personally have an essential package resource require it. >> >> exec {"mkdir -p /var/lib/puppet":} > well, it''s on server... I don''t manage puppet server with puppet... > > Someone said I should open a bug... Should I do it here: > http://reductivelabs.com/trac/puppet/simpleticket ? > > Cause I registered myself as trac user but I see nothing there... > > I followed FAQ: > http://reductivelabs.com/trac/puppet/wiki/ > FrequentlyAskedQuestions#id32I''ll update the FAQ; trac is being phased out, and the current buglist is on redmine: http://reductivelabs.com/redmine/ -- A classic is something that everybody wants to have read and nobody wants to read. -- Mark Twain --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Arnau Bria
2009-Jan-13 10:05 UTC
[Puppet Users] Re: Cannot create /var/lib/puppet/clientbucket; parent directory /var/lib/puppet does not exist
On Mon, 12 Jan 2009 17:41:11 -0600 Luke Kanies wrote:> I''ll update the FAQ; trac is being phased out, and the current > buglist is on redmine: > > http://reductivelabs.com/redmine/Thank you. Cheers, Arnau --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---