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

Minimum Monitors for Members in Class Pool does not support "all"

Open amolari opened this issue 9 months ago • 2 comments

Environment

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

Summary

Similar to issue #106 but for pool members (member-specific) monitor, it's not possible to achieve "Availability Requirement = All".

  • "minimumMonitors": 0 <<< no effect-> Availability Requirement = At Least 1
  • "minimumMonitors": "all" <<< AS3 deploy error

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
      "mainICAP_pool": {
        "members": [
          {
            "addressDiscovery": "fqdn",
            "autoPopulate": true,
            "hostname": "example.com",
            "servicePort": 1344,
            "priorityGroup": 5,
            "minimumMonitors": "all",
            "monitors": [
              {
                "use": "mainICAP_stby_http"
              },
              {
                "use": "icap-STBY-MD-CORE-2_https"
              }
            ]
          }

  1. Observe the following error response:
{
  "code": 422,
  "errors": [
    "/Common/Shared/mainICAP_pool/members/3/minimumMonitors: should be integer"
  ],
  "declarationFullId": "",
  "message": "declaration is invalid",

Expected Behavior

I would expect that the configuration property "minimumMonitors" to be exactly the same for pool monitor and pool member monitor. Also, I think a string "all" is OK (probably added to have a wording parity with tmsh), but integer value of 0 should also provide the same result as "all".

Actual Behavior

Not possible to configure the pool member monitor as required.

amolari avatar May 03 '24 11:05 amolari