remove ceph code
[stor4nfv.git] / src / ceph / src / upstart / ceph-osd-all-starter.conf
diff --git a/src/ceph/src/upstart/ceph-osd-all-starter.conf b/src/ceph/src/upstart/ceph-osd-all-starter.conf
deleted file mode 100644 (file)
index 94b99ed..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-description "Ceph OSD (start all instances)"
-
-start on starting ceph-osd-all
-
-task
-
-script
-  set -e
-
-  # first activate any partitions
-  ceph-disk activate-all
-
-  # TODO what's the valid charset for cluster names and osd ids?
-  find -L /var/lib/ceph/osd/ -mindepth 1 -maxdepth 1 -regextype posix-egrep -regex '.*/[A-Za-z0-9]+-[A-Za-z0-9._-]+' -printf '%P\n' \
-  | while read f; do
-    if [ -e "/var/lib/ceph/osd/$f/ready" ] && [ -e "/var/lib/ceph/osd/$f/upstart" ] && [ ! -e "/var/lib/ceph/osd/$f/sysvinit" ]; then
-        cluster="${f%%-*}"
-        id="${f#*-}"
-       initctl emit ceph-osd cluster="$cluster" id="$id"
-    fi
-  done
-end script