Forum Discussion
Big-IQ error while creating pool member via REST API
I'm trying to add a pool member to a pool. The node and pool already exist.
BODY
{ "partition": "Common", "name": "myNode:80", "port": 80, "nodeReference": { "link": "{{link}}" } }
RESPONSE
{ "code": 400, "message": "pool member name mismatch. expect: null:80 actual: myNode:80", "originalRequestBody": "{\"connectionLimit\":0,\"port\":80,\"priorityGroup\":0,\"rateLimit\":\"disabled\",\"ratio\":1,\"sessionConfig\":\"user-enabled\",\"stateConfig\":\"user-up\",\"parentInfo\":{\"partition\":\"nonprod_internal\",\"deviceReference\":{\"id\":\"9e90e19a-604a-46b4-b1df-a0db66ffbc2c\",\"name\":\"dc2adc1.dcsg.com\",\"kind\":\"shared:resolver:device-groups:restdeviceresolverdevicestate\",\"machineId\":\"9e90e19a-604a-46b4-b1df-a0db66ffbc2c\",\"link\":\"\"},\"name\":\"myPool\",\"id\":\"c9e9cefc-255b-3388-946f-c5837fcfe187\",\"generation\":0,\"lastUpdateMicros\":0,\"selfLink\":\"\"},\"nodeReference\":{\"address\":\"10.224.92.31\",\"kind\":\"shared:resolver:device-groups:restdeviceresolverdevicestate\",\"link\":\"\"},\"partition\":\"Common\",\"name\":\"myNode:80\",\"id\":\"c1a5d170-1dfb-355d-92db-8c70a2aba67c\",\"generation\":1,\"lastUpdateMicros\":1543932162762191,\"kind\":\"cm:adc-core:working-config:ltm:pool:members:adcpoolmemberstate\",\"selfLink\":\"\"}", "referer": "10.10.10.1", "restOperationId": 1262773577, "errorStack": [], "kind": ":resterrorresponse" }
I'm following this site:
1 Reply
- Jnon
Nimbostratus
"pool member name mismatch. expect: null:80 actual: myNode:80",It looks like the node name myNode:80 is a mismatch, you need to use the exact syntax of the node name, if the node has no name, then leave it blank
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
