Update syntax for cephfs snapshot enablement
We should be using "ceph fs set <fs_name> allow_new_snaps true" instead of using the mds call Change-Id: I7a709d49ec4c93b2a06e961ca8ca1414cf4c1918 Closes-Bug: #1838790
This commit is contained in:
parent
cbdcb8c10a
commit
ae9d524b79
|
@ -809,7 +809,7 @@ function configure_ceph_manila {
|
|||
sudo chown ${STACK_USER}:$(id -g -n $whoami) \
|
||||
${CEPH_CONF_DIR}/ceph.client.${MANILA_CEPH_USER}.keyring
|
||||
# Enable snapshots in CephFS.
|
||||
sudo $DOCKER_EXEC ceph -c ${CEPH_CONF_FILE} mds set allow_new_snaps true \
|
||||
sudo $DOCKER_EXEC ceph -c ${CEPH_CONF_FILE} fs set ${CEPHFS_FILESYSTEM} allow_new_snaps true \
|
||||
--yes-i-really-mean-it
|
||||
|
||||
# Make manila's libcephfs client a root user.
|
||||
|
|
Loading…
Reference in New Issue