Forum Discussion
iControl Transaction feature does not work properly with LocalLBVirtualServer::add_rule(). This operation not queued.
Hello guys, I'm hitting a wall with my attempt to delete and recreate virtual server all in one operation... I have an transaction that is formed as follows.
- start transaction
- create virtual server
- create iRule
- add iRule to virtual server
- submit transaction
Error on 4: The requested virtual server (/Common/TestVirtualServer) was not found
These api calls work properly, but will fail with the use of transaction due to "virtuall server not exist". I think what is happening is that "create virtual server" and "create iRule" operations are queued/wrapped in the transaction, but "add iRule..." operation is served real time. Can someone confirm this? and suggest a workaround?
According to the docs, "iControl queries (requests that do not make changed) are always served in real-time and not queued in transactions". So the add_rule() request should be queued instead, but evidently that is not the case.
Thanks!
1 Reply
- HankLiu_159320
Nimbostratus
Fixed! get_transaction_timeout showed that transaction timeout was set to 5 seconds. The issues above only occurred when eclipse debugging tool was used. The timeout must have expired.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com