Forum Discussion
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
Nimbostratus
Forgot to include the posting that I found an example that looked to be working but again, I'm getting the error posted above:
https://devcentral.f5.com/questions/bigsuds-how-to-enable-disable-certain-pool-members
- spirrello_22970
Nimbostratus
Can someone please answer this posting? Really need to get this sorted out. - spirrello_22970
Nimbostratus
Can someone please answer this posting? Really need to get this sorted out. - spirrello_22970
Nimbostratus
Can someone please answer this posting? Really need to get this sorted out.
- Theo_12742
Cirrus
Chances are it's just missing the partition name before the pool name and member IP Address. Run a
and look for your pool name. Include the partition (/Common) in your query and then runlb_obj.LocalLB.Pool.get_list()
to see where the pool member also specifies a partition. Use those values in your command, and it should work.lb_obj.LocalLB.Pool.get_member_v2(['/Common/TESTPOOL'])- Theo_12742
Cirrus
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. - Theo_12742
Cirrus
Also, what version of code on this platform?
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