Forum Discussion
jsookiki_134304
Sep 25, 2013Nimbostratus
Ruby iControl throwing non-descript soap fault on NodeAddressV2.create
So I'm receiving a soap fault when I try and create a node. If anyone could help me out with a diagnosis I'd really appreciate it!!
bigip = F5::IControl.new('*******', '*******', '*******', ['LocalLB.Pool', 'LocalLB.NodeAddressV2'])
interfaces = bigip.get_interfaces
interfaces['LocalLB.NodeAddressV2'].create ['test'], ['test.test.com'], [0]
Throws the error:
SOAP::FaultError: Exception caught in LocalLB::urn:iControl:LocalLB/NodeAddressV2::create()
Common::InvalidArgument
The error stated InvalidArgument which implies that one of the arguments was not correct. Looking at the method prototype
LocalLB.NodeAddressV2.create( in String [] nodes, in String [] addresses, in long [] limits );
the second parameter is the address for the NodeAddress. In this method, it's an IP Address and you are passing in a domain name string. You'll have to change the second parameter to the IP address of the node you are attempting to create.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects