From 474eee8fadbcb1a954b577a0e9fc6abae32e0cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Tue, 6 Jan 2015 00:21:16 +0100 Subject: [PATCH] Fix the vagrant deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a fetch/ceph_cluster_uuid.conf file so we keep the same UUID from the Vagrantfile and from the ceph-common run. Prior to that change the Vagrantfile was setting 4a158d27-f750-41d5-9e7f-26ce4c9d2d45 but while playing the ceph-common role we check if fetch/ceph_cluster_uuid.conf exists, if not we generate an UUID. Here we ended up with 2 UUIDs... IMPORTANT NOTE FOR NON-VAGRANT DEPLOYMENT. IF YOU WANT TO USE YOUR OWN UUID PLEASE REMOVE THAT FILE BEFORE RUNNING THE PLAYBOOK. Signed-off-by: Sébastien Han --- .gitignore | 2 +- fetch/ceph_cluster_uuid.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 fetch/ceph_cluster_uuid.conf diff --git a/.gitignore b/.gitignore index 07573a658..f30a173eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .vagrant *.vdi *.keyring -fetch/* +fetch/4a158d27-f750-41d5-9e7f-26ce4c9d2d45/* diff --git a/fetch/ceph_cluster_uuid.conf b/fetch/ceph_cluster_uuid.conf new file mode 100644 index 000000000..5270957ba --- /dev/null +++ b/fetch/ceph_cluster_uuid.conf @@ -0,0 +1 @@ +4a158d27-f750-41d5-9e7f-26ce4c9d2d45