You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen rbd-target-api go into an uninterruptible sleep (a state very difficult to debug).
Starting gwcli in this circumstance leads it to completely hang on doing
api = APIRequest(endpoint + "/config")
api.get()
The hang in gwcli at least is avoidable. My quick fix for that was to add these lines to gwcli/utils.py APIRequest.init():
if 'verify' not in self.kwargs:
self.kwargs['verify'] = settings.config.api_ssl_verify
##### added this: #####
if 'timeout' not in self.kwargs:
self.kwargs['timeout'] = 20
(Though the error handling would also best be improved so that a timeout leads to an appropriate message rather than an "unknown error".)
The text was updated successfully, but these errors were encountered:
I've seen rbd-target-api go into an uninterruptible sleep (a state very difficult to debug).
Starting gwcli in this circumstance leads it to completely hang on doing
The hang in gwcli at least is avoidable. My quick fix for that was to add these lines to gwcli/utils.py APIRequest.init():
(Though the error handling would also best be improved so that a timeout leads to an appropriate message rather than an "unknown error".)
The text was updated successfully, but these errors were encountered: