Skip to content

icontrol Rest APi #1618

@pirusti

Description

@pirusti

hello,

i am using the python sdk for the icontrol rest apis.
while using this : p = b.tm.util.bash.exec_cmd('run', utilCmdArgs='-c "/usr/bin/tmsh show gtm pool a"'), when i ask to a GTM with 50 pools its all good, instead when i ask to a GTM with 3000 pools i receive the following error:

p = b.tm.util.bash.exec_cmd('run', utilCmdArgs='-c "/usr/bin/tmsh show gtm pool a "')

File "c:\Users\xxxxxx\AppData\Local\Programs\Python\Python310\lib\site-packages\icontrol\sm\util\bash.py", line 55, in exec_cmdession.py", line 295, in wrapper
raise iControlUnexpectedHTTPError(error_message, response=response)
icontrol.exceptions.iControlUnexpectedHTTPError: 500 Unexpected Error: Server Error for uri: https://x.x.x.x:443/mgmt/tm/util/bash/
Text: '\n\n\n<title>Error 500 AsyncContext timeout</title>\n\n

HTTP ERROR 500 AsyncContext timeout

\n\n\n\n\n\n
URI:/mgmt/tm/util/bash/
STATUS:500
MESSAGE:AsyncContext timeout
SERVLET:com.f5.rest.app.RestServerServlet-51cdd8a
\n
Powered by Jetty:// 9.4.49.v20220914
\n\n\n\n'

Is there a limit of buffer for this command?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions