]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix the vagrant deployment 167/head
authorSébastien Han <sebastien.han@enovance.com>
Mon, 5 Jan 2015 23:21:16 +0000 (00:21 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Mon, 5 Jan 2015 23:21:16 +0000 (00:21 +0100)
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 <sebastien.han@enovance.com>
.gitignore
fetch/ceph_cluster_uuid.conf [new file with mode: 0644]

index 07573a6580d6ba2b9cb540d98d72b0e5237c9a8f..f30a173eb80f3feae0c6ff4e90c2db44cf43311d 100644 (file)
@@ -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 (file)
index 0000000..5270957
--- /dev/null
@@ -0,0 +1 @@
+4a158d27-f750-41d5-9e7f-26ce4c9d2d45