>
> When your agent didn't create a cert yet, you need to specify an 
>> additional option that'll create the cert and wait for the master to 
>> sign the certificate signing request: 
>>
>>     puppet agent -t --waitforcert 10 
>>
>> the integer value to the argument is the number of seconds to wait for 
>> each iteration (I think the number of iterations made before exiting is 
>> limited). 
>>
>> for me 10s is usually a good value, but you can play with this to find 
>> something that gives you the appropriate time to sign certs on the 
>> master (e.g. you probably do want to verify that the client's 
>> certificate fingerprint is what the puppetmaster knows). 
>>
>
>
I've tried this but it doesn't work for me :(... Therefore I switched back 
to an old Snapshot of my VM and know 
my 'puppet agent -t' works fine. 

But now my 'puppet agent -t' responds the following:











*root@puppet-node:~# puppet agent -tWarning: Unable to fetch my node 
definition, but the agent run will continue:Warning: Error 500 on SERVER: 
Server Error: Could not retrieve facts for puppet-node.local: Failed to 
find facts from PuppetDB at puppet-master.local:8140: Failed to execute 
'/pdb/query/v4/nodes/puppet-node.local/facts' on at least 1 of the 
following 'server_urls': https://192.168.117.20:8081Info: Retrieving 
pluginfactsInfo: Retrieving pluginInfo: Retrieving localesInfo: Loading 
factsError: Could not retrieve catalog from remote server: Error 500 on 
SERVER: Server Error: Failed to execute 
'/pdb/cmd/v1?checksum=fbe20bc4a742836d2b0c0951e875e3b9ec7011bd&version=5&certname=puppet-node.local&command=replace_facts&producer-timestamp=2019-03-28T09:42:35.432Z'
 
on at least 1 of the following 'server_urls': 
https://192.168.117.20:8081Warning: Not using cache on failed catalogError: 
Could not retrieve catalog; skipping runroot@puppet-node:~#*

What means the Output "
*Could not retrieve facts for puppet-node.local: Failed to find facts from 
PuppetDB at puppet-master.local:8140"?*

-- 
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/adca69e0-cb9c-4072-b4a2-3be9c0542e97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to