F5Networks / f5-appsvcs-extension

F5 BIG-IP Application Services 3 Extension
Apache License 2.0
164 stars 53 forks source link

adminState offline : declaration cannot be POSTed when upgrading AS3 #882

Open jrooty opened 1 day ago

jrooty commented 1 day ago

Environment

Summary

A declaration containing a poolMember configured in offline state using AS3 3.36 cannot be POSTed when upgrading AS3 version (e.g. 3.50).

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install 3.36 and include this portion :

    
                     {
                        "servicePort": 443,
                        "adminState": "offline",
                        "ratio": 1,
                        "priorityGroup": 1,
                        "serverAddresses": [
                            "1.2.3.4"
                        ],
                        "shareNodes": true
                    },
  2. Install AS3 3.50 and GET and POST the declaration

    [
    {
        "code": 422,
        "message": "declaration failed",
        "response": "01020036:3: The requested Pool Member (/TENANT1/APP_ac270b9a1e1b_fastl4_tcp_443/P_tmypool_443 /Common/1.2.3.4 443) was not found.",
        "host": "localhost",
        "tenant": "TENANT1",
        "runTime": 17188,
        "declarationId": "2ae564c4-cf02-4d18-b1db-687d3bcec0a7"
    }
    ]

Expected Behavior

Declaration should succeed

Actual Behavior

Break all existing declarations for all devices using offline state