I deployed a Puppet Enterprise Master and three Agent nodes in AWS. At the time I did not allocate Elastic IP to the the instances. I got everything up and running and was enjoying Puppet until I stopped the instances.
Now my console shows the nodes as unresponsive.
Here is my attempt thus far in fixing it.
I allocated EIPs to each of the instances and now the external DNS names have changed
AGENT INTERNAL DNS NAME = ip-xxx-xxx-xxx-xxx.us-west-2.compute.internal
_______________________________________________________________
PUPPET.CONF
I changed the puppet.conf file to reflect the new Elastic IPs
AGENTS
certname = ip-xxx-xxx-xxx-xxx.us-west-2.compute.internal
vardir = /var/opt/lib/pe-puppet
logdir = /var/log/pe-puppet
rundir = /var/run/pe-puppet
modulepath = /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
MASTER
dns_alt_names = ip-zzz-zzz-zzz-zzz,ip-zzz-zzz-zzz-zzz.us-west-2.compute.internal,puppet,puppet.us-west-2.compute.internal$
vardir = /var/opt/lib/pe-puppet
logdir = /var/log/pe-puppet
rundir = /var/run/pe-puppet
modulepath = /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules
ca_name = 'Puppet CA generated on ip-zzz-zzz-zzz-zzz.us-west-2.compute.internal at 2014-05-23 17:37:24 -0400'
reports = console,puppetdb
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs_backend = puppetdb
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
_______________________________________________________________
CERTS
AGENTS
sudo rm -f /etc/puppetlabs/puppet/ssl/certs/ec2-yyy-yyy-yyy-yyy.us-west-2.compute.amazonaws.com.pem
I only have a ca.pem in there now
Ran sudo /opt/puppet/bin/puppet agent -t --> Exiting; no certificate found and waitforcert is disabled
_______________________________________________________________
At this point the Master itself also has an agent that is non responsive.
I can ping the master from the agent and vice versa..
What is missing??
Need a ninja...