Skip to content

Commit 0884c25

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Fix wrong sudo ceph -c command in lib/ceph"
2 parents f9b80e2 + 99de7cc commit 0884c25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ceph

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ function configure_ceph_embedded_nova {
279279
# configure Nova service options, ceph pool, ceph user and ceph key
280280
sudo ceph -c ${CEPH_CONF_FILE} osd pool set ${NOVA_CEPH_POOL} size ${CEPH_REPLICAS}
281281
if [[ $CEPH_REPLICAS -ne 1 ]]; then
282-
sudo -c ${CEPH_CONF_FILE} ceph osd pool set ${NOVA_CEPH_POOL} crush_ruleset ${RULE_ID}
282+
sudo ceph -c ${CEPH_CONF_FILE} osd pool set ${NOVA_CEPH_POOL} crush_ruleset ${RULE_ID}
283283
fi
284284
}
285285

0 commit comments

Comments
 (0)