Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue during poolMember manipulation (offline and disable states) #875

Closed
jrooty opened this issue Sep 17, 2024 · 4 comments
Closed

Issue during poolMember manipulation (offline and disable states) #875

jrooty opened this issue Sep 17, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@jrooty
Copy link

jrooty commented Sep 17, 2024

Environment

  • Application Services Version: AS3 3.50
  • BIG-IP Version: 15.X and 17.X

Summary

For a single AS3 call, when we add a new poolMember in 'active' state and change the current state for existing poolMember to 'offline' or 'disable', AS3 generates an issue.

Steps To Reproduce

Deploy first an application with only one poolMember

 "members": [
                    {
                        "servicePort": 80,
                        "adminState": "enable",
                        "ratio": 20,
                        "priorityGroup": 10,
                        "serverAddresses": [
                            "1.2.3.4"
                        ],
                        "shareNodes": true
                    }
                ],

Then POST a new declaration :

 "members": [
                    {
                        "servicePort": 80,
                        "adminState": "disable",
                        "ratio": 20,
                        "priorityGroup": 10,
                        "serverAddresses": [
                            "1.2.3.4"
                        ],
                        "shareNodes": true
                    },
                    {
                        "servicePort": 80,
                        "adminState": "enable",
                        "ratio": 20,
                        "priorityGroup": 10,
                        "serverAddresses": [
                            "1.2.3.5"
                        ],
                        "shareNodes": true
                    }
                ],
  1. Observe the following error response:
{
            "code": 422,
            "message": "declaration failed",
            "response": "01020066:3: The requested Pool Member (/AP00086xPS2D/AP00086xPS2D_6b3ccf6680db_fastl4_tcp_443/P_fastl4_160924_1_svc_sg_paas_echonet_tcp_443 /Common/[1.2.3.5](http://1.2.3.5/) 80) already exists in partition AP00086xPS2D.",
            "host": "localhost",
            "tenant": "AP00086xPS2D",
            "runTime": 2195,
            "declarationId": "6d7ec3ee-36a5-4e40-a67b-9b9e98ebbfc9"
        },

Expected Behavior

Success.

Actual Behavior

To bypass this error, we have to introduce first the second member (in active state), then through a second AS3 call, disable the first member.

Thank you.

@jrooty jrooty added bug Something isn't working untriaged Issue needs to be reviewed for validity labels Sep 17, 2024
@sunitharonan sunitharonan removed the untriaged Issue needs to be reviewed for validity label Sep 25, 2024
@sbarakett
Copy link

sbarakett commented Sep 26, 2024

F5 version: '17.1.1.3',
as3: '3.52.0'

We are experiencing the same issue even while using the simplest of configs, no adminState, no priorityGroups, etc...

We get the same error, even if are not updating the pool. We deploy once, we update something else in the Virtual server not related to the pool, and we get the same error.

Workaround:
Even though node is shared, and is in the common partition, deleting and re-deploying the tenant, fixes the issue, even with the node in the common partition not changing. Deleting the tenant is not really an option.

This is our pool declaration that produces the same error,

            "pool-eks": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "members": [
                    {
                        "addressDiscovery": "static",
                        "servers": [
                            {
                                "address": "1.1.1.1%1",
                                "name": "ServerA"
                            },
                            {
                                "address": "1.1.1.2%1",
                                "name": "ServeB"
                            },
                            {
                                "address": "1.1.1.3%1",
                                "name": "ServerC"
                            }
                        ],
                        "servicePort": 443,
                        "shareNodes": true
                    }
                ],
                "monitors": [
                    {
                        "use": "tcp_443"
                    }
                ]
            },

@mdditt2000
Copy link

@jrooty @sbarakett please can you open a new SR for this issue. Please link the SR to the GitHub issue. TY.

@mdditt2000
Copy link

Closing issue out as request SR

@sbarakett
Copy link

I apologize for my ignorance, but I am not familiar with how to open an SR. If it was already opened can you please link it here. The bug is also documented in #868 which you left open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants