Merge "Increase Swift disk size up to 2GB if Glance is enabled"
This commit is contained in:
commit
4cc060e77c
18
lib/swift
18
lib/swift
@ -64,11 +64,19 @@ if is_service_enabled s-proxy && is_service_enabled swift3; then
|
|||||||
S3_SERVICE_PORT=${S3_SERVICE_PORT:-8080}
|
S3_SERVICE_PORT=${S3_SERVICE_PORT:-8080}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# DevStack will create a loop-back disk formatted as XFS to store the
|
if is_service_enabled g-api; then
|
||||||
# swift data. Set ``SWIFT_LOOPBACK_DISK_SIZE`` to the disk size in
|
# Minimum Cinder volume size is 1G so if Swift backend for Glance is
|
||||||
# kilobytes.
|
# only 1G we can not upload volume to image.
|
||||||
# Default is 1 gigabyte.
|
# Increase Swift disk size up to 2G
|
||||||
SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=1G
|
SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=2G
|
||||||
|
else
|
||||||
|
# DevStack will create a loop-back disk formatted as XFS to store the
|
||||||
|
# swift data. Set ``SWIFT_LOOPBACK_DISK_SIZE`` to the disk size in
|
||||||
|
# kilobytes.
|
||||||
|
# Default is 1 gigabyte.
|
||||||
|
SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=1G
|
||||||
|
fi
|
||||||
|
|
||||||
# if tempest enabled the default size is 6 Gigabyte.
|
# if tempest enabled the default size is 6 Gigabyte.
|
||||||
if is_service_enabled tempest; then
|
if is_service_enabled tempest; then
|
||||||
SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=${SWIFT_LOOPBACK_DISK_SIZE:-6G}
|
SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=${SWIFT_LOOPBACK_DISK_SIZE:-6G}
|
||||||
|
Loading…
Reference in New Issue
Block a user