On Wednesday, April 20, 2016 at 9:03:35 AM UTC-4, jcbollinger wrote:
>
>
>
> On Tuesday, April 19, 2016 at 12:36:47 PM UTC-5, Ugo Bellavance wrote:
>
> This:
>  
>
>> When debugging on the master:
>>
>> # puppet master --debug --compile agent1.example.com | grep hiera | grep 
>> -v Cannot | grep -v Looking
>> [...]
>> Debug: hiera(): Hiera YAML backend starting
>> Debug: hiera(): Found classes in host/agent1.example.com
>> [...]
>>
>
>
> Shows that your Hiera config and data are fine.
>
> You haven't presented any logs of the actual puppetmaster service failure, 
> and these might be more illuminating, but at this point I'm inclined to 
> guess that your problem is one of two things:
>
>    1. perhaps the master is running with a stale Hiera config, and needs 
>    to be restarted to see the up-to-date one, or
>    2. access controls on one or more of the Hiera data files prevent the 
>    puppetmaster process from reading them.
>
> I'd rate the latter as somewhat more likely.
>

Here are the logs on the puppet master (please note that I don't use the 
fileserver anymore and as you can see, I restarted the master just before 
testing):

Apr 20 09:08:51 master puppet-master[26083]: Starting Puppet master version 
3.6.2
Apr 20 09:09:27 master puppet-master[26083]: Removing mount "files": 
/var/lib/puppet/files does not exist or is not a directory
Apr 20 09:09:27 master puppet-master[26083]: Error parsing fileserver 
configuration: wrong number of arguments (3 for 0..1); using old 
configuration
Apr 20 09:09:31 master puppet-master[26083]: The use of 'import' is 
deprecated at /etc/puppet/manifests/site.pp:4. See 
http://links.puppetlabs.com/puppet-import-deprecation
Apr 20 09:09:31 master puppet-master[26083]:   (at grammar.ra:610:in `block 
in _reduce_190')
Apr 20 09:09:32 master puppet-master[26083]: Could not find data item 
classes in any Hiera data file and no default supplied at 
/etc/puppet/manifests/site.pp:12 on node 
agent1.atqlan.agri-tracabilite.qc.ca
Apr 20 09:09:32 master puppet-master[26083]: Could not find data item 
classes in any Hiera data file and no default supplied at 
/etc/puppet/manifests/site.pp:12 on node agent1
.atqlan.agri-tracabilite.qc.ca
Apr 20 09:09:32 master puppet-master[26083]: Could not find data item 
classes in any Hiera data file and no default supplied at 
/etc/puppet/manifests/site.pp:12 on node agent1
.atqlan.agri-tracabilite.qc.ca
 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/06b16b12-6ead-4a7e-80de-169560fc3b18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to