Forum Discussion
Ruby IControl SOAP::FaultError - virtual server profile already exists in partition
I figured it out with help from having to explain this to an extra set of eyeballs.
The definition for vsprofile i was using was incorrect. I'm still not totally clear on the values but this has gotten me passed this hangup.
I set this it this way originally: vsprofile = [ { key = values} ] but it should be vsprofile = [ [ { key = value } ] ]. It requires an array of arrays of hashes, not just an array of hashes.
A working vsprofile definition:
vsprofile = [ [ { 'profile_context' => 'PROFILE_CONTEXT_TYPE_SERVER', 'profile_name' => 'tcp-lan-optimized' }, { 'profile_context' => 'PROFILE_CONTEXT_TYPE_CLIENT', 'profile_name' => 'tcp' } ] ]
Why it gives that profile already exist error is beyond me.
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