A cautionary tale of names

Tim Penhey tim.penhey at canonical.com
Mon Jan 12 03:17:44 UTC 2015


Hi folks,

I hit an issue that surprised me at the time, but became obvious to me
when I thought about our implementation.

I managed to destroy my production environment by accident, and this is
always a problem.

What I was trying to do was to bring up my new production environment in
parallel and then switch the DNS when it was up and working.

I had a working environment, which I then when and renamed the .jenv
file for.  I then bootstrapped the environment again.

This had the side-effect of destroying all the machines that were
running previously.  I'm using the trusty released juju packages, so
1.20.14.

This is because the EC2 provider tags the machines with the environment
name, and not environment UUID.  I think we should change this ASAP.

Tim



More information about the Juju-dev mailing list