]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
spec: add missing rbd mirror bootstrap directory
authorSébastien Han <seb@redhat.com>
Wed, 31 Oct 2018 14:07:42 +0000 (15:07 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 5 Nov 2018 10:06:07 +0000 (11:06 +0100)
Currently /var/lib/ceph/bootstrap-rbd-mirror is absent, which means we
need to create it manually in order to pool the
client.bootstrap-rbd-mirror key.

Signed-off-by: Sébastien Han <seb@redhat.com>
ceph.spec.in
debian/ceph-base.dirs

index 76d6cfd63a7cf35013a042477d6d8d03503d4549..8e9beb5cd49258c092e05cfae3853fb7ee783780 100644 (file)
@@ -1103,6 +1103,7 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
 mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
 mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr
 mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd
+mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
 
 %if 0%{?suse_version}
 # create __pycache__ directories and their contents
@@ -1179,6 +1180,7 @@ rm -rf %{buildroot}
 %attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rgw
 %attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mgr
 %attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rbd
+%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rbd-mirror
 
 %post base
 /sbin/ldconfig
index 6f580230a65f4efce617b276df9f77d02e9e9ed1..d0b8a9e103ce72d860a8ed046d0c5cd4dd63063b 100644 (file)
@@ -3,6 +3,7 @@ var/lib/ceph/bootstrap-mgr
 var/lib/ceph/bootstrap-osd
 var/lib/ceph/bootstrap-rgw
 var/lib/ceph/bootstrap-rbd
+var/lib/ceph/bootstrap-rbd-mirror
 var/lib/ceph/tmp
 var/lib/ceph/crash
 var/lib/ceph/crash/posted