Forum Discussion

mhite_60883's avatar
mhite_60883
Icon for Cirrocumulus rankCirrocumulus
Jan 23, 2012

LocalLB.NodeAddressV2.set_description() transaction support?

Does LocalLB.NodeAddressV2.set_description() not support transactions?

 

 

For example:

 

 

 

f5_start_transaction(b)

 

f5_set_active_folder(b, folder)

 

f5_add_pool_member(b, poolname, ipportseq)

 

f5_set_node_description(b, address, description)

 

f5_submit_transaction(b)

 

 

 

Doesn't work...

 

 

 

=== Exception Details ===

 

Server raised fault: 'Exception caught in System::urn:iControl:System/Session::submit_transaction()

 

Exception: Common::OperationFailed

 

primary_error_code : 16908342 (0x01020036)

 

secondary_error_code : 0

 

error_string : 01020036:3: The requested node address (/test/1.1.1.6) was not found.'

 

 

 

 

but this does:

 

 

 

f5_start_transaction(b)

 

f5_set_active_folder(b, folder)

 

f5_add_pool_member(b, poolname, ipportseq)

 

f5_submit_transaction(b)

 

 

f5_set_node_description(b, address, description)

 

 

 

 

The operative difference being that the node address we are trying to set the description on is created and submitted as a transaction before the node description is set.

 

 

 

My understanding is that I should be able to bundle all these set type actions into one transaction...

 

 

 

  • Now that's interesting. Odds are that since the creation of the "node" object is done indirectly by adding the pool member, but the pool member isn't "really" added until the transaction is submitted, that you can't make operations on the "node" object, until the creation of the pool member occurs.

     

     

    -Joe