Swift is returning 50x error codes because its disk is too small, set
size bigger then max_file_size in an attempt to fix the problem, or at
least reduce it.
"we create a 4GB device, but swift thinks it can write 5GB, hence fail"
--sdague
This patch based off of Iccd6368e4df71abb5ccfe7d361c64d86e1071d35
Change-Id: Ib56a98cd74e7edf1fa90facc25c72632d43180f1
Related-Bug: #1225664
| ... | ... |
@@ -59,9 +59,9 @@ fi |
| 59 | 59 |
# kilobytes. |
| 60 | 60 |
# Default is 1 gigabyte. |
| 61 | 61 |
SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=1G |
| 62 |
-# if tempest enabled the default size is 4 Gigabyte. |
|
| 62 |
+# if tempest enabled the default size is 6 Gigabyte. |
|
| 63 | 63 |
if is_service_enabled tempest; then |
| 64 |
- SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=${SWIFT_LOOPBACK_DISK_SIZE:-4G}
|
|
| 64 |
+ SWIFT_LOOPBACK_DISK_SIZE_DEFAULT=${SWIFT_LOOPBACK_DISK_SIZE:-6G}
|
|
| 65 | 65 |
fi |
| 66 | 66 |
|
| 67 | 67 |
SWIFT_LOOPBACK_DISK_SIZE=${SWIFT_LOOPBACK_DISK_SIZE:-$SWIFT_LOOPBACK_DISK_SIZE_DEFAULT}
|