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

Can't attach Prober Pool to DC object #867

Closed
GWilczek opened this issue Aug 15, 2024 · 1 comment
Closed

Can't attach Prober Pool to DC object #867

GWilczek opened this issue Aug 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@GWilczek
Copy link

GWilczek commented Aug 15, 2024

Environment

  • Application Services Version: 3.52
  • BIG-IP Version: 17.1.1.2

Summary

Trying to create GSLB DC, Server, Prober Pool, Prober Pool should be assigned to the DC.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
{
        "$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/latest/as3-schema.json",
        "action": "deploy",
        "class": "AS3",
        "declaration": {
            "Common": {
                "Shared": {
                    "class": "Application",
                    "gtm-tst": {
                        "class": "GSLB_Server",
                        "dataCenter": {
                            "use": "tst"
                        },
                        "devices": [
                            {
                                "address": "10.10.10.54"
                            },
                            {
                                "address": "10.10.10.55"
                            }
                        ],
                        "exposeRouteDomainsEnabled": true,
                        "serverType": "bigip",
                        "virtualServerDiscoveryMode": "disabled"
                    },
                    "tst": {
                        "class": "GSLB_Data_Center",
                        "enabled": true,
                        "location": "NYC",
                        "proberPool": {
                            "use": "tst-prober-pool"
                        },
                        "proberPreferred": "pool"
                    },
                    "tst-prober-pool": {
                        "class": "GSLB_Prober_Pool",
                        "members": [
                            {
                                "memberOrder": 0,
                                "server": {
                                    "use": "gtm-tst"
                                }
                            }
                        ]
                    },
                    "template": "shared"
                },
                "class": "Tenant"
            },
            "class": "ADC",
            "controls": {
                "class": "Controls",
                "logLevel": "debug",
                "trace": true,
                "traceResponse": true
            },
            "schemaVersion": "3.41.0"
        }
}
 
  1. Observe the following error response:
"results": [
        {
            "code": 422,
            "message": "declaration failed",
            "response": "0107130d:3: Select a valid Prober Pool value for Data center /Common/tst.",
            "host": "localhost",
            "tenant": "Common",
            "runTime": 3672,
            "declarationId": "autogen_f27b57e4-d971-4a5c-ad53-9f6247f61d68"
        },
        {
            "code": 422,
            "message": "declaration failed",
            "response": "0107130d:3: Select a valid Prober Pool value for Data center /Common/tst.",
            "host": "localhost",
            "tenant": "Common",
            "runTime": 3819,
            "declarationId": "autogen_f27b57e4-d971-4a5c-ad53-9f6247f61d68"
        }
    ]

Expected Behavior

code 200 and Prober Pool assigned to DC

Actual Behavior

AS3 responds with 422. Prober Pool can be manually assigned in the GUI, but it should works via AS3

@GWilczek GWilczek added bug Something isn't working untriaged Issue needs to be reviewed for validity labels Aug 15, 2024
@mdditt2000 mdditt2000 removed the untriaged Issue needs to be reviewed for validity label Jan 23, 2025
@mdditt2000
Copy link

Resolved in AS3 3.54.0 build 6
Jira AUTOTOOL-4573
SR 00667389

Closing issue

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

2 participants