]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
needs network or it will not start if enabled 2306/head
authorMarco Garcês <marco@garces.cc>
Fri, 22 Aug 2014 10:30:58 +0000 (12:30 +0200)
committerMarco Garcês <marco@garces.cc>
Fri, 22 Aug 2014 10:30:58 +0000 (12:30 +0200)
example error message: "unable to find any IP address in networks: 10.2.27.0/25", so the service wont start

systemd/ceph-osd@.service

index 1811d7e0940c95bb4a6195251ed7239fa7bc9df6..e8cbcdad9af48d24c5db4abf975f1463783b70f5 100644 (file)
@@ -1,5 +1,7 @@
 [Unit]
 Description=Ceph object storage daemon
+After=network-online.target
+Wants=network-online.target
 
 [Service]
 EnvironmentFile=-/etc/sysconfig/ceph