aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2015-10-13 23:57:58 +0800
committergrakiss <grakiss.wanglei@huawei.com>2015-10-14 00:00:27 +0800
commit252206f17671d3383a9f5dfe06e6f4ee13b00e90 (patch)
tree8821460bf50e6b0387679012d635ee0c28059763 /deploy
parentcb004d80668a6bf63e208e81bf3c4fa86d889dcf (diff)
fix remove false deletion of lo device during safe check
JIRA: COMPASS-98 - compute node already has a lo device,it will be deleted unexpected Change-Id: Ie77e8269c0bd2bab01c46aae8fbcb65acbb22a66 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'deploy')
-rw-r--r--deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh b/deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh
index f2a40663..02860bde 100644
--- a/deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh
+++ b/deploy/adapters/ansible/roles/ceph-deploy/files/create_osd.sh
@@ -30,7 +30,6 @@ vgremove -f ceph-volumes
rm -r /dev/ceph-volumes
fi
-losetup -d /dev/loop0
echo "vgcreate"
vgcreate -y ceph-volumes $(losetup --show -f /ceph/images/ceph-volumes.img)