commit f45bd562d3b860bee54c6ff1db9688405c75c3c9
Author: Vinicius Lopes da Silva <email address hidden>
Date: Thu Dec 9 16:57:51 2021 -0300
Increase timeout value for ceph CLI
When a monitor election is in process and ceph CLI commands are issued,
they might hang until the end of the election occurs. Sometimes the
election is quick and sometimes it might take up until 11s.
Since current code awaits up until 5s, sometimes an error appears in
STX due to timeout.
The timeout value needs to increase, I believe 15s of timeout is enough
for most cases.
Testing performed:
2+2:
Set up two scripts making requests to ceph. One had a small timeout
and another one a big timeout.
Started both scripts.
Locked storage-0.
Script having small timeout showed error and the other one didn't.
Story: 2009074
Task: 44159
Closes-Bug: #1954695
Signed-off-by: Vinicius Lopes da Silva <email address hidden>
Change-Id: I618ed74c8f63ca77caa0893016f90b67fdfee7e0
(cherry picked from commit 41e65d98f1379d6a09fb01a7c9d6d863f68c5ab6)
Reviewed: https:/ /review. opendev. org/c/starlingx /utilities/ +/821436 /opendev. org/starlingx/ utilities/ commit/ f45bd562d3b860b ee54c6ff1db9688 405c75c3c9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: r/stx.6.0
commit f45bd562d3b860b ee54c6ff1db9688 405c75c3c9
Author: Vinicius Lopes da Silva <email address hidden>
Date: Thu Dec 9 16:57:51 2021 -0300
Increase timeout value for ceph CLI
When a monitor election is in process and ceph CLI commands are issued,
they might hang until the end of the election occurs. Sometimes the
election is quick and sometimes it might take up until 11s.
Since current code awaits up until 5s, sometimes an error appears in
STX due to timeout.
The timeout value needs to increase, I believe 15s of timeout is enough
for most cases.
Testing performed:
2+2:
Set up two scripts making requests to ceph. One had a small timeout
and another one a big timeout.
Started both scripts.
Locked storage-0.
Script having small timeout showed error and the other one didn't.
Story: 2009074
Task: 44159
Closes-Bug: #1954695
Signed-off-by: Vinicius Lopes da Silva <email address hidden> 77caa0893016f90 b67fdfee7e0 a09fb01a7c9d6d8 63f68c5ab6)
Change-Id: I618ed74c8f63ca
(cherry picked from commit 41e65d98f1379d6