Forum Discussion

spirrello_22970's avatar
spirrello_22970
Icon for Nimbostratus rankNimbostratus
Jan 25, 2016

Using set_member_session_enabled_state with Bigsuds

Hi there,

 

Has anyone ever seen the following error message when using this function to update the status of a pool member? According to the following posting it should work but I'm getting different results. I'm running LTM 11.5.1. What's odd is that 10.192.18.87 is a current member of the pool.

 

lb_obj.LocalLB.Pool.set_member_session_enabled_state(['TESTPOOL'], [[{'address': '10.192.18.87', 'port' : 8443}]], [['STATE_DISABLED']])

 

Error message:

 

bigsuds.ServerError: Server raised fault: 'Exception caught in LocalLB::urn:iControl:LocalLB/Pool::set_member_session_enabled_state() Exception: Common::OperationFailed primary_error_code : 16908342 (0x01020036) secondary_error_code : 0 error_string : 01020036:3: The requested Pool Member (/Common/TESTPOOL /Common/10.192.18.87 8443) was not found.'

 

7 Replies

    • spirrello_22970's avatar
      spirrello_22970
      Icon for Nimbostratus rankNimbostratus
      Can someone please answer this posting? Really need to get this sorted out.
    • spirrello_22970's avatar
      spirrello_22970
      Icon for Nimbostratus rankNimbostratus
      Can someone please answer this posting? Really need to get this sorted out.
    • spirrello_22970's avatar
      spirrello_22970
      Icon for Nimbostratus rankNimbostratus
      Can someone please answer this posting? Really need to get this sorted out.
  • Chances are it's just missing the partition name before the pool name and member IP Address. Run a

    lb_obj.LocalLB.Pool.get_list()
    and look for your pool name. Include the partition (/Common) in your query and then run
    lb_obj.LocalLB.Pool.get_member_v2(['/Common/TESTPOOL'])
    to see where the pool member also specifies a partition. Use those values in your command, and it should work.

    • Theo_12742's avatar
      Theo_12742
      Icon for Cirrus rankCirrus
      I take part of it back--I do see where it adds the /Common to the request. However, I would still run the get_member_v2 on that pool and ensure it exists--the error is pretty specific. I was able to run this method on my instance using the same format.