Forum Discussion

HankLiu_159320's avatar
HankLiu_159320
Icon for Nimbostratus rankNimbostratus
Nov 20, 2014

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.

 

  1. start transaction
  2. create virtual server
  3. create iRule
  4. add iRule to virtual server
  5. 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

  • 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.