Browse Source

Fix disk size default settings

In [1] the default value for CEPH_LOOPBACK_DISK_SIZE_DEFAULT was changed
to be VOLUME_BACKING_FILE_SIZE instead of a fixed value. This will break
in some cases as there is no fallback defined for
VOLUME_BACKING_FILE_SIZE in devstack/lib/ceph.

[1] https://review.openstack.org/403988

Change-Id: I117e36db442c8ef8c469e4149629e8a27d22da22
changes/63/405363/1
Jens Rosenboom 2 years ago
parent
commit
d962d573ec
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      devstack/lib/ceph

+ 1
- 1
devstack/lib/ceph View File

@@ -44,7 +44,7 @@ CEPH_CONF_DIR=${CEPH_CONF_DIR:-/etc/ceph}
44 44
 # DevStack will create a loop-back disk formatted as XFS to store the
45 45
 # Ceph data. Set ``CEPH_LOOPBACK_DISK_SIZE`` to the disk size in
46 46
 # kilobytes.
47
-# Default is 10 gigabytes.
47
+VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-8GB}
48 48
 CEPH_LOOPBACK_DISK_SIZE_DEFAULT=${CEPH_LOOPBACK_DISK_SIZE_DEFAULT:-$VOLUME_BACKING_FILE_SIZE}
49 49
 CEPH_LOOPBACK_DISK_SIZE=\
50 50
 ${CEPH_LOOPBACK_DISK_SIZE:-$CEPH_LOOPBACK_DISK_SIZE_DEFAULT}

Loading…
Cancel
Save