From a985472cf0029b2a2698f6595a508d6c1222b926 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: 2016年9月26日 18:44:50 -0400 Subject: [PATCH] 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 --- devstack/lib/ceph | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devstack/lib/ceph b/devstack/lib/ceph index 28534c0c..8901658b 100644 --- a/devstack/lib/ceph +++ b/devstack/lib/ceph @@ -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

AltStyle によって変換されたページ (->オリジナル) /