Forum Discussion
VMware Orchestrator Plugin and CURL PUT statements
2 issues:
1) Trying new plugins (F5 Networks 2.0.1.1) for VMware Orchestrator 5.5. Disabling and enabling pool member plugin not working correctly. Disables/enables a different pool member than one specified. Note: Debugging verified proper pool member was being specified.
2) Using CURL, my attempts to change the session state fails:
C:\Program Files\cURL\bin>curl -k -u admin: -H "Content-Type:application/json" -X PUT -d '{"session":"user-disabled"}' https:///mgmt/tm/ltm/pool//members/:80 {"code":400,"message":"Found invalid JSON body in the request.","errorStack":[]}
C:\Program Files\cURL\bin>curl -fsS -k -u admin: -H "Content-Type:application/json" -X PUT -d '{"session":"user-disabled"}' https:///mgmt/tm/ltm/pool//members/:80 curl: (22) The requested URL returned error: 400 Bad Request
Currently using "BIG-IP 11.5.1 Build 0.0.110 Final" VMware virtual machine.
I would like to be able to use the plugins; however, I am concerned about their reliability. I am further at loss as to why the CURL PUTs do not work. Any suggestions?
4 Replies
- slaser_159976
Nimbostratus
Please note the pool and pool member was specified. It should look like: C:\Program Files\cURL\bin>curl -k -u admin: -H "Content-Type:application/json" -X PUT -d `{"session":"user-disabled"}' https://(LTM mgmt IP address)/mgmt/tm/ltm/pool/LBPool/members/(pool member):80 {"code":400,"message":"Found invalid JSON body in the request.","errorStack":[]}
Note: replaced parentheses with actual values
- slaser_159976
Nimbostratus
Orchestrator script problems caused the Plugin to not respond properly. Please disregard comments about the plugin not functioning correctly. However, if anyone has ideas about the CURL statements not working I would appreciate your insight.
- Kent_Munson_168Historic F5 Account
This appears to be an issue with the Windows version of Curl. Your syntax should work with a Linux version of Curl.
- slaser_159976
Nimbostratus
Thanks!
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