[prev in list] [next in list] [prev in thread] [next in thread] 

List:       puppet-users
Subject:    Re: [Puppet-users] (no subject)
From:       "Chris MacLeod" <stickm () gmail ! com>
Date:       2008-01-30 16:34:05
Message-ID: 426cef8e0801300834p327f5921gb22a3cd5e7ba08f2 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Those arn't exactly errors (sorta).
You have a file object that references a source that doesn't exist.

David (and others me included) do this intentionally in order to make sure
that a directory contains only puppet managed files.  (as that's the current
behavior of the purge attribute).

basically (to use the first example) the file object "/etc/sysconfig/ntpd"
has a source attribute that's pointing at something that doesn't exist.

C

On 1/30/08, Martinsen, Magnar <Magnar.Martinsen@nav.no> wrote:
> 
> Hi after adding david scmitts common module and enableing storeconfigs
> using mysql, I get the following error on the clients. They cannot download
> configurationfiles from the fileserver/puppetmaster:
> 
> notice: Starting configuration run
> info: /Class[main]/Node[b27apfl001.preprod.local]/Class[ntp]/File[/etc/sysconfig/ntpd]/source:
>  No specified sources exist
> 
> info: /Class[main]/Node[b27apfl001.preprod.local]/Class[wasadmin_q]/File[/etc/cron.allow]/source:
>  No specified sources exist
> 
> info: /Class[main]/Node[b27apfl001.preprod.local]/Class[ulimits]/File[/etc/security/limits.conf]/source:
>  No specified sources exist
> 
> I also get this error in the puppetmaster verbose:
> 
> info: Starting server for Puppet version 0.24.1
> info: mount[common]: allowing * access
> info: mount[packages]: allowing * access
> info: Listening on port 8140
> notice: Starting Puppet server version 0.24.1
> err: Could not store configs: You cannot call create unless the parent is
> saved
> notice: Compiled configuration for e11apvl028.utv.internsone.local in 0.60seconds
> err: Could not store configs: You cannot call create unless the parent is
> saved
> notice: Compiled configuration for b27apfl001.preprod.local in 2.52seconds
> info: mount[common]: Sending /common/modules/README to
> b27apfl001.preprod.local
> err: Could not store configs: You cannot call create unless the parent is
> saved
> notice: Compiled configuration for a07mmfl001.internsone.local in 0.22seconds
> info: Autoloaded module samba
> err: Could not store configs: You cannot call create unless the parent is
> saved
> notice: Compiled configuration for b08apvl007.preprod.internsone.local in
> 0.36 seconds
> 
> What is this problem?
> 
> Regards,
> Magnar Martinsen
> 
> 
> _______________________________________________
> Puppet-users mailing list
> Puppet-users@madstop.com
> https://mail.madstop.com/mailman/listinfo/puppet-users
> 
> 


-- 
stickm@gmail.com
-==< Stick >==-


[Attachment #5 (text/html)]

Those arn&#39;t exactly errors (sorta).<div><br \
class="webkit-block-placeholder"></div><div>You have a file object that references a \
source that doesn&#39;t exist.</div><div><br \
class="webkit-block-placeholder"></div><div> David (and others me included) do \
this&nbsp;intentionally&nbsp;in order to make sure that a directory contains only \
puppet managed files. &nbsp;(as that&#39;s the current behavior of the purge \
attribute).</div><div><br class="webkit-block-placeholder"> </div><div>basically (to \
use the first example) the file object &quot;/etc/sysconfig/ntpd&quot; has a source \
attribute that&#39;s pointing at something that doesn&#39;t exist.</div><div><br \
class="webkit-block-placeholder"> </div><div>C<br><div><br><div><span \
class="gmail_quote">On 1/30/08, <b class="gmail_sendername">Martinsen, Magnar</b> \
&lt;<a href="mailto:Magnar.Martinsen@nav.no">Magnar.Martinsen@nav.no</a>&gt; \
wrote:</span><blockquote class="gmail_quote" \
style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">







<div>


<p><font size="2" face="Arial">Hi after adding david scmitts common module and \
enableing storeconfigs using mysql, I get the following error on the clients. They \
cannot download configurationfiles from the fileserver/puppetmaster:</font></p>


<p><font size="2" face="Arial">notice: Starting configuration run</font>

<br><font size="2" face="Arial">info: \
/Class[main]/Node[b27apfl001.preprod.local]/Class[ntp]/File[/etc/sysconfig/ntpd]/source: \
No specified sources exist</font></p>

<p><font size="2" face="Arial">info: \
/Class[main]/Node[b27apfl001.preprod.local]/Class[wasadmin_q]/File[/etc/cron.allow]/source: \
No specified sources exist</font></p>

<p><font size="2" face="Arial">info: \
/Class[main]/Node[b27apfl001.preprod.local]/Class[ulimits]/File[/etc/security/limits.conf]/source: \
No specified sources exist</font></p> <br>

<p><font size="2" face="Arial">I also get this error in the puppetmaster \
verbose:</font> </p>

<p><font size="2" face="Arial">info: Starting server for Puppet version 0.24.1</font>

<br><font size="2" face="Arial">info: mount[common]: allowing * access</font>

<br><font size="2" face="Arial">info: mount[packages]: allowing * access</font>

<br><font size="2" face="Arial">info: Listening on port 8140</font>

<br><font size="2" face="Arial">notice: Starting Puppet server version 0.24.1</font>

<br><font size="2" face="Arial">err: Could not store configs: You cannot call create \
unless the parent is saved</font>

<br><font size="2" face="Arial">notice: Compiled configuration for \
e11apvl028.utv.internsone.local in 0.60 seconds</font>

<br><font size="2" face="Arial">err: Could not store configs: You cannot call create \
unless the parent is saved</font>

<br><font size="2" face="Arial">notice: Compiled configuration for \
b27apfl001.preprod.local in 2.52 seconds</font>

<br><font size="2" face="Arial">info: mount[common]: Sending /common/modules/README \
to b27apfl001.preprod.local</font>

<br><font size="2" face="Arial">err: Could not store configs: You cannot call create \
unless the parent is saved</font>

<br><font size="2" face="Arial">notice: Compiled configuration for \
a07mmfl001.internsone.local in 0.22 seconds</font>

<br><font size="2" face="Arial">info: Autoloaded module samba</font>

<br><font size="2" face="Arial">err: Could not store configs: You cannot call create \
unless the parent is saved</font>

<br><font size="2" face="Arial">notice: Compiled configuration for \
b08apvl007.preprod.internsone.local in 0.36 seconds</font> </p>

<p><font size="2" face="Arial">What is this problem?</font>
</p>

<p><font size="2" face="Arial">Regards,</font>

<br><font size="2" face="Arial">Magnar Martinsen</font>
</p>
<br>

</div>
<br>_______________________________________________<br>Puppet-users mailing \
list<br><a onclick="return top.js.OpenExtLink(window,event,this)" \
href="mailto:Puppet-users@madstop.com">Puppet-users@madstop.com</a><br><a \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="https://mail.madstop.com/mailman/listinfo/puppet-users" \
target="_blank">https://mail.madstop.com/mailman/listinfo/puppet-users</a><br> \
<br></blockquote></div><br><br clear="all"><br>-- <br><a \
href="mailto:stickm@gmail.com">stickm@gmail.com</a><br>-==&lt; Stick &gt;==- \
</div></div>



_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic