summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-04-10 14:11:06 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-04-10 16:54:30 +0000
commit3bf2794fc32472b0e048ab91eca47d6cb10afe13 (patch)
tree0048d765ab1297eeb5249fd16801a69eed34a294
parentfc2eb105834ee33d2010acb0fcf18f72efa63ac5 (diff)
downloadinfrastructure-3bf2794fc32472b0e048ab91eca47d6cb10afe13.tar.gz
Note in README that I no longer think Packer is the right tool for us
Change-Id: I9b61036d8ead0e5a27873781d14cbd3c1b48591f
-rw-r--r--README.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.mdwn b/README.mdwn
index 5b92cbd7..6b022167 100644
--- a/README.mdwn
+++ b/README.mdwn
@@ -71,6 +71,23 @@ valuable stored outside of the data volumes that are backed up.
Deployment with Packer
----------------------
+> **NOTE**: I no longer think that Packer is the right tool for our needs. This
+> is partly because of critical bugs that have not been fixed since I started
+> using it (e.g. <https://github.com/mitchellh/packer/issues/1462>), and partly
+> because I realised that I was just using it to wrap `nova` and
+> `ansible-playbook`, and it is simple enough to use those commands directly.
+>
+> I had hoped that we could make use of Packer's multiple backends in order to
+> test systems locally in Docker before deploying them to OpenStack. It turns
+> out Docker is sufficiently different to OpenStack that this doesn't make life
+> any easier during development. Networking setup is different, systemd doesn't
+> work inside Docker by default, base images are different in other ways, etc.
+>
+> So I recommend not using Packer for future systems, and I will try to
+> migrate the definitions for the existing ones to just use Ansible.
+>
+> Sam Thursfield 10/04/15
+
Some of the systems are built with [Packer]. I chose Packer because it provides
similar functionality to the `morph deploy` command, although its
implementation makes different tradeoffs. The documentation below shows the