f5-appsvcs-extension
f5-appsvcs-extension copied to clipboard
Service discovery endpoint displays "Pool Member cannot be assigned to node" error when nodes with "id" field assigned as Node IP address are posted to the SD endpoint pool
Environment
- AS3 Version: 3.37.0
- BIG-IP Version: 16.0.1
Summary
I have setup an AS3 Service Discovery Application by posting the below configuration to the AS3 endpoint.
{
"class": "ADC",
"schemaVersion": "3.0.0",
"Sample_sd_01": {
"class": "Tenant",
"A1": {
"class": "Application",
"service": {
"class": "Service_HTTP",
"virtualAddresses": [
"192.168.21.231%1"
],
"pool": "web_pool"
},
"web_pool": {
"class": "Pool",
"monitors": [
"http"
],
"members": [
{
"servicePort": 80,
"serverAddresses": []
},
{
"addressDiscovery": "event",
"servicePort": 80,
"routeDomain": 1
}
]
}
}
}
}
This AS3 configuration contains a routeDomain property under the addressDiscovery field. With this routeDomain field, the Virtual IP Addresses & the Pool members are expected to be created under the specified routeDomain. This AS3 configuration, when posted, creates a SD task which can be viewed using this link https://[big-ip-address]/mgmt/shared/service-discovery/task/~Sample_sd_01~A1~web_pool/. I tried 2 configurations for posting Endpoints/Nodes to this pool - please refer to the configurations mentioned below
(1) POST the nodes to the service discovery endpoint with "id" as any regular string in data payload:
[
{
"id": "newNode1",
"ip": "192.168.22.100"
},
{
"id": "newNode2",
"ip": "192.168.22.101"
}
]
With this, the endpoints (Nodes) get created in the Route domain with correct %RD suffix. And the pool members also get added to the web pool
(2) POST the nodes to the service discovery endpoint with "id" as the IP of the endpoint in data payload
[
{
"id": "192.168.22.100",
"ip": "192.168.22.100"
},
{
"id": "192.168.22.101",
"ip": "192.168.22.101"
}
]
With this, an error is observed on the service discovery endpoint : "Pool Member cannot be assigned to node". Even though the Node gets created, it does not get added as a Pool member on the BIG-IP with such a configuration. Please refer to the images below for reference.

Steps To Reproduce
- POST the above AS3 configuration to create a Service Discovery Application
- On the following SD Endpoint, https://[big-ip-address]/mgmt/shared/service-discovery/task/~
~ ~web_pool/, POST the nodes with "id" field set to IP of the Endpoint
Expected Behavior
When Nodes are posted to the SD task pool, the Nodes should be added to the BIG-IP Pool when "id" field is set to IP of the Endpoint in data payload.
Actual Behavior
When Nodes are posted to the SD task pool, the Nodes are not added to the BIG-IP Pool when "id" field is set to IP of the Endpoint in data payload and SD Endpoint displays "Pool Member cannot be assigned to node" error.
Thank you for your feedback. I have added this issue to our internal product backlog as AUTOTOOL-3383.
You cannot use IP address as a node name if node's address includes route domain. Here is KB: K17482. AS3 works as expected.
Adding +Jennifer Yeung @.***>
On Wed, Oct 26, 2022 at 12:42 AM Suntiha Ronanki @.***> wrote:
Closed #614 https://github.com/F5Networks/f5-appsvcs-extension/issues/614 as completed.
— Reply to this email directly, view it on GitHub https://github.com/F5Networks/f5-appsvcs-extension/issues/614#event-7666497152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVEZ6O3ITMEZIFZZ64PCEFLWFAWKVANCNFSM5XX3OBIQ . You are receiving this because you authored the thread.Message ID: @.*** com>
--
Regards,
Selina V Arokiaswamy
Software Engineer | +91 9970834159
Great Software Laboratory | www.gslab.com
Adding +Jayant Seth @.> , +Anaya Bakshi @.>
On Wed, Oct 26, 2022 at 12:40 PM Selina Arokiaswamy < @.***> wrote:
Adding +Jennifer Yeung @.***>
On Wed, Oct 26, 2022 at 12:42 AM Suntiha Ronanki @.***> wrote:
Closed #614 https://github.com/F5Networks/f5-appsvcs-extension/issues/614 as completed.
— Reply to this email directly, view it on GitHub https://github.com/F5Networks/f5-appsvcs-extension/issues/614#event-7666497152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVEZ6O3ITMEZIFZZ64PCEFLWFAWKVANCNFSM5XX3OBIQ . You are receiving this because you authored the thread.Message ID: @.*** com>
--
Regards,
Selina V Arokiaswamy
Software Engineer | +91 9970834159
Great Software Laboratory | www.gslab.com
--
Regards,
Selina V Arokiaswamy
Software Engineer | +91 9970834159
Great Software Laboratory | www.gslab.com
This has been resolved in the 3.41.0 release of AS3.
Thanks @sunitharonan