summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorJason Dillaman <dillaman@redhat.com>2016-09-26 18:44:50 -0400
committerJason Dillaman <dillaman@redhat.com>2016-10-04 08:55:34 -0400
commita985472cf0029b2a2698f6595a508d6c1222b926 (patch)
tree60aef5a2d3c13b35c712b6e521158adcae4157e7 /devstack
parent200906ff29442bce98587c589bc889edcf97b52d (diff)
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>
Notes
Notes (review): Code-Review+2: S├ębastien Han <seb@redhat.com> Workflow+1: S├ębastien Han <seb@redhat.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 04 Oct 2016 14:59:58 +0000 Reviewed-on: https://review.openstack.org/377118 Project: openstack/devstack-plugin-ceph Branch: refs/heads/master
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/ceph4
1 files changed, 4 insertions, 0 deletions
diff --git a/devstack/lib/ceph b/devstack/lib/ceph
index 28534c0..8901658 100644
--- a/devstack/lib/ceph
+++ b/devstack/lib/ceph
@@ -49,6 +49,9 @@ ${CEPH_LOOPBACK_DISK_SIZE:-$CEPH_LOOPBACK_DISK_SIZE_DEFAULT}
49CEPH_FSID=$(uuidgen) 49CEPH_FSID=$(uuidgen)
50CEPH_CONF_FILE=${CEPH_CONF_DIR}/ceph.conf 50CEPH_CONF_FILE=${CEPH_CONF_DIR}/ceph.conf
51 51
52# RBD configuration defaults
53CEPH_RBD_DEFAULT_FEATURES=${CEPH_RBD_DEFAULT_FEATURES:-1}
54
52# Glance 55# Glance
53GLANCE_CEPH_USER=${GLANCE_CEPH_USER:-glance} 56GLANCE_CEPH_USER=${GLANCE_CEPH_USER:-glance}
54GLANCE_CEPH_POOL=${GLANCE_CEPH_POOL:-images} 57GLANCE_CEPH_POOL=${GLANCE_CEPH_POOL:-images}
@@ -324,6 +327,7 @@ function configure_ceph {
324 osd crush chooseleaf type = 0 327 osd crush chooseleaf type = 0
325 osd journal size = 100 328 osd journal size = 100
326 osd pool default size = ${CEPH_REPLICAS} 329 osd pool default size = ${CEPH_REPLICAS}
330 rbd default features = ${CEPH_RBD_DEFAULT_FEATURES}
327EOF 331EOF
328 332
329 # bootstrap the ceph monitor 333 # bootstrap the ceph monitor