Issue #12397 has been updated by Daniel Pittman.

Category set to compiler
Status changed from Unreviewed to Duplicate

This looks like a duplicate of #5318, which is a bug in the compiler caching of 
the known types in the environment.  We fixed that after the 2.7.1 release, so 
you should move to 2.7.3 or later.  If you can verify that the problem is still 
present afterwards please reopen the ticket, but I am confident that will sort 
things out for you.
----------------------------------------
Bug #12397: Puppet doesn't work initially after touch'ing any .pp source file
https://projects.puppetlabs.com/issues/12397

Author: Alex Jurkiewicz
Status: Duplicate
Priority: Normal
Assignee: 
Category: compiler
Target version: 
Affected Puppet version: 2.7.1
Keywords: 
Branch: 


Hi, we recently upgraded to 2.7.1 (from 2.6.x) and are seeing a strange 
problem. If we touch any *.pp file on the master the next puppet client run 
will fail, but all subsequent runs succeed.

An example of running Puppet on our puppetmaster itself:
<pre>
$ sudo puppetd -t                                    
notice: Ignoring --listen on onetime run
info: Caching catalog for puppet.fqdn
[...]
notice: Finished catalog run in 25.01 seconds
$ sudo touch /home/puppet/main/manifests/site.pp
$ sudo puppetd -t
notice: Ignoring --listen on onetime run
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not find class ssh::auth for puppet.fqdn at 
/home/puppet/main/manifests/roles/soe.pp:34 on node puppet.fqdn
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
Time:
         Last run: 1328226675
$
</pre>

The ssh::auth mentioned line is the first non-top level module included by 
every node:
<pre>
$ cat /home/puppet/main/manifests/roles/soe.pp
class soe {
    $servername = $puppet_server
    include common
    include hosts
    include resolver
    include cron
    include sysctl
    include misc
    package { "bsd-mailx": ensure => installed }
    package { "sysstat": ensure => installed }
    include ssh::auth
[...]
</pre>

What's going on here?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to