Devstack is commonly run in a small slow environment, so bump the
timeouts up.
node_timeout is how long between read operations a node takes to
respond to the proxy server
conn_timeout is all about how long it takes a connect() system call to
return
Change-Id: Ib437466a3fc9274b8aa49b19e4fe7fa26f553419
Co-Authored-By: Peter Portante <peter.portante@redhat.com>
Related-Bug: #1252514
(cherry picked from commit a2f2bba4eca9837a589acc1b5f22789915108b25)
| ... | ... |
@@ -260,6 +260,15 @@ function configure_swift() {
|
| 260 | 260 |
iniuncomment ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT bind_port
|
| 261 | 261 |
iniset ${SWIFT_CONFIG_PROXY_SERVER} DEFAULT bind_port ${SWIFT_DEFAULT_BIND_PORT:-8080}
|
| 262 | 262 |
|
| 263 |
+ # Devstack is commonly run in a small slow environment, so bump the |
|
| 264 |
+ # timeouts up. |
|
| 265 |
+ # node_timeout is how long between read operations a node takes to |
|
| 266 |
+ # respond to the proxy server |
|
| 267 |
+ # conn_timeout is all about how long it takes a connect() system call to |
|
| 268 |
+ # return |
|
| 269 |
+ iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server node_timeout 120
|
|
| 270 |
+ iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server conn_timeout 20
|
|
| 271 |
+ |
|
| 263 | 272 |
# Configure Ceilometer |
| 264 | 273 |
if is_service_enabled ceilometer; then |
| 265 | 274 |
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:ceilometer use "egg:ceilometer#swift"
|