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

The requested Pool Member already exists in partition <name> when using shareNodes #868

Open
kingb33 opened this issue Aug 15, 2024 · 5 comments
Labels
bug Something isn't working untriaged Issue needs to be reviewed for validity

Comments

@kingb33
Copy link

kingb33 commented Aug 15, 2024

Environment

  • Application Services Version: 3.52.0
  • BIG-IP Version: 17.1.1.1

Summary

When creating a pool with a member that is defined in "servers" property, it results in an error message saying that the node exists in the Partition relating to the pool itself.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
{
  "class": "AS3",
  "action": "deploy",
  "persist": true,
  "declaration": {
    "class": "ADC",
    "schemaVersion": "3.52.0",
    "id": "id",
    "label": "WebApp",
    "IAM": {
      "class": "Tenant",
      "Shared": {
        "class": "Application",
        "template":"shared"
      }, 
      "PROD": {
        "class": "Application",
        "myPool": {
          "class": "Pool", 
          "label": "Pool for myVS", 
          "members": [{"servers": [{"address": "1.1.1.1", "name": "localGateway"}], "servicePort": 161, "shareNodes": true}], 
          "remark": "Pool for myVS"
        }, 
      }
    }
  }
}
  1. Submit the declaration a 2nd time
  2. Observe the following error response:
 "The operation for IAM has returned code: 422 with the following message: 01020066:3: The requested Pool Member (/IAM/PROD/myPool /Common/localGateway 161) already exists in partition IAM."}

Expected Behavior

I have several other pools using this methodology using FQDN nodes and it doesn't cause issues.
For example, replace the pool with

        "myPool2": {
          "class": "Pool", 
          "members": [{"hostname": "slp-fram-003.stholdco.com", "servicePort": 8443, "addressDiscovery": "fqdn", "autoPopulate": true, "shareNodes": true}]
        }

If using this, you can re-issue the declaration and it will work.

Actual Behavior

You get the error from #3.

Work around

You can avoid this if you are okay with not naming your nodes. For example, if using "serverAddresses"

        "myPool": {
          "class": "Pool", 
          "members": [{"serverAddresses": ["1.1.1.1"], "servicePort": 161, "addressDiscovery": "static", "shareNodes": true}],
        }
@kingb33 kingb33 added bug Something isn't working untriaged Issue needs to be reviewed for validity labels Aug 15, 2024
@sbarakett
Copy link

sbarakett commented Sep 26, 2024

May be related to bug #875

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

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.

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"
                }
            ]
        },

@eos500n2000
Copy link

Hi, want to let you know, we have reproed the issue in lab, and filed a bug ID for this issue.

Now, Workaround is

to use "serverAddresses" instead of "servers" for all the new added Pool Member.

"serverAddresses": [
"1.1.1.1"
],

------Instead of---------------------

"servers": [
{
"address": "1.1.1.1",
"name": "localGateway"
}
],

@sbarakett
Copy link

sbarakett commented Oct 22, 2024 via email

@mbreton1
Copy link

Hi,
I am using version 3.53.0-7 and I still have the same issue. It was supposed to be resolved in this release but it is still not working for me.

@eos500n2000
Copy link

Hi, I am using version 3.53.0-7 and I still have the same issue. It was supposed to be resolved in this release but it is still not working for me.

As I know , this fix will be included in Dec.2024 release.

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

No branches or pull requests

4 participants