F5Networks / f5-appsvcs-extension

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

shareNodes not implemented for FQDN nodes #268

Closed kreynoldsf5 closed 3 years ago

kreynoldsf5 commented 4 years ago

Environment

Summary

shareNodes does not apply to fqdn nodes

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit a declaration with the following Pool class:

        "web_pool": {
          "class": "Pool",
          "loadBalancingMode": "round-robin",
          "monitors": [
            "http"
          ],
          "members": [
    
              { 
                "servicePort": 8080,
                "hostname": "f5demoapp.demo.internal",
                "addressDiscovery": "fqdn",
                "autoPopulate": true,
                "shareNodes": true
              }
            ,
              { 
                "servicePort": 8181,
                "hostname": "f5demoapp.demo.internal",
                "addressDiscovery": "fqdn",
                "autoPopulate": true,
                "shareNodes": true
              }
                      ] 
        }
  2. Observe the config that gets created on a BIG-IP. The node is in the tenant partition and the ephemeral node is in Common.

  3. A subsequent declaration using the same fqdn node will fail.

    "msg": "declaration is invalid. /tenant-app2/app2.demo.internal/web_pool/members: pool member /tenant-app2/app2.demo.internal/web_pool/members/0 fqdn hostname f5demoapp.demo.internal conflicts with bigip fqdn node /tenant-app1/f5demoapp.demo.internal"

Expected Behavior

When "shareNodes": true is used for fqdn nodes, all components of the fqdn node should be placed in /Common. This behavior should be consistent regardless of addressDiscovery.

Actual Behavior

see above.

dstokesf5 commented 4 years ago

Thank you for reporting this. I have copied it to our internal product backlog as AUTOTOOL-1556.

tizianorosato-gr commented 3 years ago

we had similar issues with AS 3.23 on BIGIP 14.1.4 but upgrading to AS3 3.26 solved the problem.

dstokesf5 commented 3 years ago

@kreynoldsf5 Are you still seeing this issue on AS3 3.26+?

dstokesf5 commented 3 years ago

Closing for inactivity. If you are still encountering issue, please reopen this ticket for a file a new one.

DahlPatric commented 8 months ago

Does ShardNode works for FQDN nodes? I do get error as like this "conflicts with bigip fqdn node" { "servicePort": 443, "hostname": "abc.local", "addressDiscovery": "fqdn", "shareNodes": true }