scripts: fixed failing ceph on fedora29
There was issue with failing rbd_autotest on vm fedora29. Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Change-Id: Ic8db722903d483d288b62c8b7c54671a4142be01 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470855 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
2575aaec5a
commit
ee8299caa0
@ -92,7 +92,7 @@ uuid=$(uuidgen)
|
||||
ceph -c ${ceph_conf} osd create ${uuid} $i
|
||||
ceph-osd -c ${ceph_conf} -i $i --mkfs --mkkey --osd-uuid ${uuid}
|
||||
ceph -c ${ceph_conf} osd crush add osd.${i} 1.0 host=$(hostname) root=default
|
||||
ceph -c ${ceph_conf} -i ${mnt_dir}/osd-device-${i}-data/keyring auth add osd.${i} osd "allow *" mon "allow profile osd" mgr "allow"
|
||||
ceph -c ${ceph_conf} -i ${mnt_dir}/osd-device-${i}-data/keyring auth add osd.${i} osd "allow *" mon "allow profile osd" mgr "allow *"
|
||||
|
||||
# start osd
|
||||
pkill -9 ceph-osd || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user