- From: Liam Kirsher <
>
- To:
- Subject: [chef] EC2 stop and start causes Chef nodes to have wrong data
- Date: Thu, 18 Jul 2013 19:02:21 -0700
- Openpgp: id=7011F7B7; url=http://liam.numenet.com/pgp/
Hi --
I've noticed that halting and restarting an EC2 instance causes it to
get new ip addresses and names.
The Chef server doesn't know about this, and so it retains the old ec2
node information.
This really screws things up if you are using search to get dns names to
connect things together.
Re-running chef-client doesn't seem to help, and also I can't do it like
this
>
knife ssh 'chef_environment:staging AND role:mongo_rs_member' 'sudo
chef-client'
... because of the very problem I'm trying to correct.
So ... aside from just adjusting my expectations, is there any way to
update the nodes with the new correct ec2 information?
Liam
--
Liam Kirsher
PGP:
http://liam.numenet.com/pgp/
- [chef] EC2 stop and start causes Chef nodes to have wrong data, Liam Kirsher, 07/18/2013
Archive powered by MHonArc 2.6.16.