For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

cfonze_237304's avatar
cfonze_237304
Icon for Nimbostratus rankNimbostratus
May 02, 2016

Issue with adding a fqdn pool member via REST API

I'm having an issue when I try to add a fqdn pool member via REST api.

 

When I try to add a new member I get the following:

 

    [root@Dev-BigIP-01:ModuleNotLicensed:Active:Standalone] config  curl -sk -u admin:admin https://localhost/mgmt/tm/ltm/pool/app2.cloud9.ibm.com_http_pool/members -X POST -H "Content-Type: application/json" -d '{"name":"apptest1public.eu-gb.mybluemix.net:80","fqdn" : {"tmName":"apptest1public.eu-gb.mybluemix.net"}}'
    {
        "code":404,
        "message":"Object not found - apptest1public.eu-gb.mybluemix.net:80","errorStack":[]
    }
    [root@Dev-BigIP-01:ModuleNotLicensed:Active:Standalone] config 

but when I check the pool members again, the new one I tried to add and got the error is actually in there:

 

2 Replies

  • Here's what the pool looked like before adding the pool member above: [root@Dev-BigIP-01:ModuleNotLicensed:Active:Standalone] config curl -sk -u admin:admin https://localhost/mgmt/tm/ltm/pool/app2.cloud9.ibm.com_http_pool/members { "kind":"tm:ltm:pool:members:memberscollectionstate","selfLink":"https://localhost/mgmt/tm/ltm/pool/app2.cloud9.ibm.com_http_pool/members?ver=12.0.0", "items":[ { "kind":"tm:ltm:pool:members:members state", "name":"apptest2public.mybluemix.net:80", "partition":"Common","fullPath":"/Common/apptest2public.mybluemix.net:80","generation":46366,"selfLink":"https://localhost/mgmt/tm/ltm/pool/app2.cloud9.ibm.com_http_pool/members/~Common~apptest2public.mybluemix.net:80?ver=12.0.0","address":"any6","connectionLimit":0,"description":"Pool member","dynamicRatio":1,"ephemeral":"false", "fqdn":{"autopopulate":"disabled","tmName":"apptest2public.mybluemix.net"}, "inheritProfile":"enabled","logging":"disabled","monitor":"/Common/app2.cloud9.ibm.com_apptest2public.mybluemix.net_http_monitor ","priorityGroup":0,"rateLimit":"disabled","ratio":1,"session":"user-enabled","state":"fqdn-up" }, { "kind":"tm:ltm:pool:members:members state", "name":"apptest2public.mybluemix.net-158.85.156.19:80", "partition":"Common","fullPath":"/Common/apptest2public.mybluemix.net-158.85.156.19:80","generation":46369,"selfLink":"https://localhost/mgmt/tm/ltm/pool/app2.cloud9.ibm.com_http_pool/members/~Common~apptest2public.mybluemix.net-158.85.156.19:80?ver=12.0.0","address":"158.85.156.19","connectionLimit":0,"dynamicRatio":1,"ephemeral":"true", "fqdn":{"autopopulate":"disabled","tmName":"apptest2public.mybluemix.net"}, "inheritProfile":"enabled","logging":"disabled","monitor":"/Common/app2.cloud9.ibm.com_apptest2public.mybluemix.net_http_monitor ","priorityGroup":0,"rateLimit":"disabled","ratio":1,"session":"user-enabled","state":"down" } ] } [root@Dev-BigIP-01:ModuleNotLicensed:Active:Standalone] config
  • Hello,

    I'm using 11.6.0 HF6 and it works fine for me. I even used your command on my lab and it works. here the result :

    {"kind":"tm:ltm:pool:members:membersstate","name":"apptest1public.eu-gb.mybluemix.net:80","fullPath":"apptest1public.eu-gb.mybluemix.net:80","generation":2636,"selfLink":"https://localhost/mgmt/tm/ltm/pool/app2.cloud9.ibm.com_http_pool/members/apptest1public.eu-gb.mybluemix.net:80?ver=11.6.0"}