Forum Discussion
pimy_233956
Nov 16, 2015Nimbostratus
I've been retesting this, and my approach with the iControl API does not work unless the node already exists (or you use an IP address). When I was testing, I was just deleting the pool beforehand, but I forgot to delete the node.
When I retested from scratch, I got this error:
Exception calling "create_v2" with "3" argument(s): "Exception caught in
LocalLB::urn:iControl:LocalLB/Pool::create_v2()
Exception: Common::OperationFailed
primary_error_code : 16908342 (0x01020036)
secondary_error_code : 0
error_string : 01020036:3: The requested node
(/Common/myhost.mydomain.com) was not found."
At line:1 char:80
+ (Get-F5.iControl).LocalLBPool.create_v2(@('mypool'),@('LB_METHOD_ROUND_ROBIN'),
@($ ...
+
~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SoapHeaderException
I am dropping this and focusing purely on the iCR approach.
Thanks, pimy