Revert Ceph RBD to Hammer-release default features

Xenial currently ships with Ceph 10.2.2 which has a known issue that
can result in updated images failing to be refreshed when the cluster
is overloaded and drops update notifications [1]. This is most likely
the cause for recent Ceph gate failures [2].

Disabling the new Jewel+ default image feature of exclusive-lock
(revert to Hammer default behavior) should be a workaround for this
issue.

The RBD default features can be overridden via CEPH_RBD_DEFAULT_FEATURES

[1] http://tracker.ceph.com/issues/16404
[2] https://bugs.launchpad.net/cinder/+bug/1627220

Change-Id: Id7fab306e918ba7566ebe2a765d4345fea6c5653
Closes-Bug: #1627878
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2016-09-26 18:44:50 -04:00
parent 200906ff29
commit a985472cf0
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,9 @@ ${CEPH_LOOPBACK_DISK_SIZE:-$CEPH_LOOPBACK_DISK_SIZE_DEFAULT}
CEPH_FSID=$(uuidgen)
CEPH_CONF_FILE=${CEPH_CONF_DIR}/ceph.conf
# RBD configuration defaults
CEPH_RBD_DEFAULT_FEATURES=${CEPH_RBD_DEFAULT_FEATURES:-1}
# Glance
GLANCE_CEPH_USER=${GLANCE_CEPH_USER:-glance}
GLANCE_CEPH_POOL=${GLANCE_CEPH_POOL:-images}
@ -324,6 +327,7 @@ function configure_ceph {
osd crush chooseleaf type = 0
osd journal size = 100
osd pool default size = ${CEPH_REPLICAS}
rbd default features = ${CEPH_RBD_DEFAULT_FEATURES}
EOF
# bootstrap the ceph monitor