Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

ASM IControlRest are not working on BIG-IP_v11.4.0

Hi all,

i'm testing the IControlRest APIs on BIG-IP_v11.4.0 and i don't understand why they work on LTM module while the ASM query Fail.

I enabled the icrd service throught this commands:

modify sys service icrd add

start sys service icrd

show sys service icrd

icrd run (pid xxxx) 10sec

Below the two queries(ltm and asm):

root@root:~/Desktop/Python_Script# curl -k -u xx:xx -X GET https://x.x.x.x/mgmt/tm/ltm| sed 's/,/\'$'\n/g' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1606 100 1606 0 0 358 0 0:00:04 0:00:04 --:--:-- 856 {"kind":"tm:ltm:ltmstate" "selfLink":"https://localhost/mgmt/tm/ltm" "partition":"/Common/" "currentItemCount":22 "pageIndex":1 "startIndex":1 "totalItems":22 "totalPages":1 "items":[{"reference":{"link":"https://localhost/mgmt/tm/ltm/auth"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/data-group"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/dns"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/global-settings"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/html-rule"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/monitor"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/persistence"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/profile"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/default-node-monitor"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/ifile"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/nat"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/node"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/policy"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/policy-strategy"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/pool"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/rule"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/snat"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/snat-translation"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/snatpool"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/traffic-class"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/virtual"}} {"reference":{"link":"https://localhost/mgmt/tm/ltm/virtual-address"}}]}

root@root:~/Desktop/Python_Script# curl -k -u xx:xx -X GET https://x.x.x.x/mgmt/tm/asm| sed 's/,/\'$'\n/g' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 114 689 114 689 0 0 297 0 0:00:02 0:00:02 --:--:-- 1097 {"code":404 "message":"http://localhost:8100/mgmt/tm/asm" "restOperationId":364726 "errorStack":["com.f5.rest.common.RestWorkerUriNotFoundException: http://localhost:8100/mgmt/tm/asm" "at com.f5.rest.common.RestServer.trySendInProcess(RestServer.java:126)" "at com.f5.rest.common.RestRequestReceiver.dispatchToService(RestRequestReceiver.java:93)" "at com.f5.rest.common.RestRequestReceiver.processNext(RestRequestReceiver.java:57)" "at com.f5.rest.common.RestHelper$2.run(RestHelper.java:1480)" "at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)" "at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)" "at java.lang.Thread.run(Unknown Source)\n"]}

Thanks

1
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Did you ever find a solution to this. I am experiencing the same issue. Thanks -jim

0