Ask Your Question
0

PE OS X agent: Could not retrieve catalog from remote server: getaddrinfo: nodename nor servname provided

asked 2014-12-15 12:49:28 -0500

bombbomb gravatar image

Set up a PE environment to test the OSX agent. Agent is running OSX 10.9.5.

After the agent install, I run a puppet agent --test and the below output. The agent has resolvable dns records to the PE server, and I've tested connectivity which seems to be fine.

I also notice in the PE server, there is a node request which I accept, but afterwards the node run status is failed, yet there is Inventory data. I tried a reinstall, clearing the old SSL certs on the agent and PE server, same result.

Here's the output from the agent:

 Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: getaddrinfo: nodename nor servname provided, or not known
Info: Retrieving pluginfacts
Error: /File[/Users/bombbomb/.puppet/var/facts.d]: Failed to generate additional resources using 'eval_generate': getaddrinfo: nodename nor servname provided, or not known
Error: /File[/Users/bombbomb/.puppet/var/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://puppet/pluginfacts: getaddrinfo: nodename nor servname provided, or not known
Wrapped exception:
getaddrinfo: nodename nor servname provided, or not known
Info: Retrieving plugin
Error: /File[/Users/bombbomb/.puppet/var/lib]: Failed to generate additional resources using 'eval_generate': getaddrinfo: nodename nor servname provided, or not known
Error: /File[/Users/bombbomb/.puppet/var/lib]: Could not evaluate: Could not retrieve file metadata for puppet://puppet/plugins: getaddrinfo: nodename nor servname provided, or not known
Wrapped exception:
getaddrinfo: nodename nor servname provided, or not known
Error: Could not retrieve catalog from remote server: getaddrinfo: nodename nor servname provided, or not known
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: getaddrinfo: nodename nor servname provided, or not known 
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-12-17 10:06:46 -0500

bombbomb gravatar image

Yes that worked. I changed the shortname to puppetmaster for PE server, so did not think a puppet record was necessary any longer. Thank you!

edit flag offensive delete link more

Comments

Awesome, glad to hear it. I converted my comment to an answer, and if you wouldn't mind marking it correct, I would appreciate it. Thank you!

GregLarkin gravatar imageGregLarkin ( 2014-12-17 21:05:47 -0500 )edit
0

answered 2014-12-16 21:13:47 -0500

GregLarkin gravatar image

Can you add another DNS record or host entry on your agent node named "puppet" that is a CNAME for your PE master and try the agent run again?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-15 12:49:28 -0500

Seen: 483 times

Last updated: Dec 17 '14