f5-appsvcs-extension icon indicating copy to clipboard operation
f5-appsvcs-extension copied to clipboard

AS3 Pool member adminState offline does not match Webui "force Offline" configuration

Open stanislaspiron opened this issue 3 years ago • 5 comments

Environment

  • Application Services Version: 3.37.0
  • BIG-IP Version:15.1.5.1

Summary

Pool member adminState offline does not match Webui "force Offline" configuration

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
{
    "tenant_offline": {
        "app": {
            "class": "Application",
            "enable": true,
            "pool_offline": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "members": [
                    {
                        "addressDiscovery": "static",
                        "enable": true,
                        "adminState": "offline",
                        "priorityGroup": 0,
                        "serverAddresses": [
                            "192.168.245.3"
                        ],
                        "servicePort": 30081,
                        "shareNodes": true
                    }
                ],
                "minimumMonitors": "all",
                "monitors": [
                    {
                        "bigip": "/Common/tcp"
                    }
                ],
                "serviceDownAction": "none"
            }
        },
        "class": "Tenant",
        "defaultRouteDomain": 0,
        "enable": true
    },
    "schemaVersion": "3.26.0",
    "class": "ADC",
    "controls": {
        "class": "Controls",
        "userAgent": "vscode-f5/3.7.1",
        "archiveTimestamp": "2022-07-01T11:19:00.179Z"
    },
    "id": "autogen_afd7be53-d7fc-4a96-9deb-40e090b18c8b",
    "updateMode": "selective"
}
  1. Observe the following tmsh output:
ltm pool /tenant_offline/app/pool_offline {
    load-balancing-mode least-connections-member
    members {
        192.168.245.3:30081 {
            address 192.168.245.3
            description "(replaces AS3 192.168.245.3)"
            session monitor-enabled
            state user-down
            metadata {
                source {
                    value declaration
                }
            }
        }
    }
    min-active-members 1
    monitor tcp
    partition tenant_offline
}
  1. Watch pool member status in Webui

Pool member status is Red diamond

  1. Use "Force Offline" in Webui

  2. Observe the following tmsh output:

ltm pool /tenant_offline/app/pool_offline {
    load-balancing-mode least-connections-member
    members {
        192.168.245.3:30081 {
            address 192.168.245.3
            description "(replaces AS3 192.168.245.3)"
            session user-disabled
            state user-down
            metadata {
                source {
                    value declaration
                }
            }
        }
    }
    min-active-members 1
    monitor tcp
    partition tenant_offline
}

The session attribute is different.

  1. Watch pool member status in Webui Pool member status is black diamond

Expected Behavior

The AS3 offline mode must be the same as Webui option

Actual Behavior

The configuration from AS3 does not match options available in Webui

stanislaspiron avatar Jul 01 '22 11:07 stanislaspiron

Hello, we just encountered the same issue on the following version combination: AS3 v3.29 BIG-IP v14.1.4.6

DaanOlbrechts avatar Jul 06 '22 08:07 DaanOlbrechts

@stanislaspiron @DaanOlbrechts Does the adminState value of disable satisfy your use cases?

dstokesf5 avatar Jul 07 '22 22:07 dstokesf5

@dstokesf5 adminState value disableconfigures the same as webui "disable" option:

  • session user-disabled
  • state down

stanislaspiron avatar Jul 21 '22 11:07 stanislaspiron

@stanislaspiron please reach out to [email protected] so we can prioritize.

mdditt2000 avatar Aug 31 '22 20:08 mdditt2000

Filed AUTOTOOL-3385 for PM tracking. Thanks @stanislaspiron for reaching out.

mdditt2000 avatar Sep 01 '22 19:09 mdditt2000

This has been resolved in the 3.42.0 release of AS3.

sunitharonan avatar Jan 13 '23 18:01 sunitharonan