Outcome (vnfInfo.inventory-response-item[0].inventory-response-items.inventory-response-item[$vserverIndex].vserver.vserver-selflink) not found
Looks like your payload doesnt match the data in AAI Brian From: [email protected] <[email protected]> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org Sent: Friday, April 26, 2019 2:16 AM To: PLATANIA, MARCO <[email protected]>; [email protected] Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC Hi Marco & Brian, Thank you for the reply! As suggested I have used the JSON encoded string in the payload, below the sample request. But still I could see the same Invalid URL error and 501, 401 http error codes, below are the error logs. Could you please let me know what am I missing? { "input": { "common-header": { "timestamp": "2019-04-26T05:05:04.244Z", "api-ver": "2.00", "originator-id": "664be3d2-6c12-4f4b-a3e7-c349acced200", "request-id": "664be3d2-6c12-4f4b-a3e7-c349acced200", "sub-request-id": "1", "flags": { "force" : "TRUE", "ttl" : 60000 } }, "action": "Restart", "action-identifiers": { "vnf-id":"d86f68e7-9cb2-48cc-b82d-ffd54602b91b", "vserver-id": "6505aec2-7ab1-49a9-9a1c-bda379491451" }, "payload":"{\"vm-id\":\"http://openstackip:novaport/v2.1/servers/6505aec2-7ab1-49a9-9a1c-bda379491451<https://urldefense.proofpoint.com/v2/url?u=http-3A__openstackip-3Anovaport_v2.1_servers_6505aec2-2D7ab1-2D49a9-2D9a1c-2Dbda379491451&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4ckIEC8MxJsifXTEoO9mE40sWxuDzCGEcHsrloKrf2I&s=UAflFl0b37vAB_vQpxBbeN_XfuAq9kXubRdZpPNie2M&e=>\",\"identity-url\": \"http://openstackip:keystoneport/v3<https://urldefense.proofpoint.com/v2/url?u=http-3A__openstackip-3Akeystoneport_v3&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4ckIEC8MxJsifXTEoO9mE40sWxuDzCGEcHsrloKrf2I&s=OGoWL3Hv5tZPY8vyYHVP0S_H9iAXA4J1e34cAZ1e-qM&e=>\"}" } } 2019-04-26T05:55:01,593 | INFO | appc-dispatcher-7 | SvcLogicExprListener | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (failure)} 2019-04-26T05:55:01,593 | INFO | appc-dispatcher-7 | SvcLogicExprListener | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)} 2019-04-26T05:55:01,593 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 16 (switch) 2019-04-26T05:55:01,594 | INFO | appc-dispatcher-7 | SvcLogicExprListener | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (d86f68e7-9cb2-48cc-b82d-ffd54602b91b) not found, keys are { ("")} 2019-04-26T05:55:01,594 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 20 (switch) 2019-04-26T05:55:01,594 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 24 (block) 2019-04-26T05:55:01,594 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 25 (for) 2019-04-26T05:55:01,594 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 26 (switch) 2019-04-26T05:55:01,594 | INFO | appc-dispatcher-7 | SvcLogicExprListener | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (vnfInfo.inventory-response-item[0].inventory-response-items.inventory-response-item[$vserverIndex].vserver.vserver-selflink) not found, keys are { ("") (Other)} 2019-04-26T05:55:01,595 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 30 (switch) 2019-04-26T05:55:01,595 | INFO | appc-dispatcher-7 | SvcLogicExprListener | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (vnfInfo.inventory-response-item[0].inventory-response-items.inventory-response-item[$vserverIndex].inventory-response-items.inventory-response-item[0].inventory-response-items.inventory-response-item[0].cloud-region.identity-url) not found, keys are { ("") (Other)} 2019-04-26T05:55:01,595 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 34 (switch) 2019-04-26T05:55:01,595 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 48 (execute) 2019-04-26T05:55:01,596 | INFO | appc-dispatcher-7 | ProviderOperation | 503 - appc-iaas-adapter - 1.4.4 | APPC0039I APPC IAAS Adapter restart of server requested 2019-04-26T05:55:01,596 | INFO | appc-dispatcher-7 | metrics | 458 - appc-common-bundle - 1.4.4 | Executing Provider Operation: Restart 2019-04-26T05:55:01,597 | ERROR | appc-dispatcher-7 | ProviderOperation | 503 - appc-iaas-adapter - 1.4.4 | APPC0041E APPC IAAS Adapter cannot perform requested service, VM url [http://openstackip:novaport/v2.1/servers/4a4692f1-8148-4a41-a610-1f2807174e19<https://urldefense.proofpoint.com/v2/url?u=http-3A__openstackip-3Anovaport_v2.1_servers_4a4692f1-2D8148-2D4a41-2Da610-2D1f2807174e19&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4ckIEC8MxJsifXTEoO9mE40sWxuDzCGEcHsrloKrf2I&s=8tm9p5z3ifmlAGOJHMqmDN2dce7Nr3SCZ0DoJYZMlN8&e=>] is invalid 2019-04-26T05:55:01,597 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 52 (switch) 2019-04-26T05:55:01,597 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 53 (block) 2019-04-26T05:55:01,597 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 54 (execute) 2019-04-26T05:55:01,598 | INFO | appc-dispatcher-7 | EventSenderDmaapImpl | 458 - appc-common-bundle - 1.4.4 | Posting Message [664be3d2-6c12-4f4b-a3e7-c349acced200 - {"eventHeader":{"eventTime":"Fri Apr 26 05:55:01 UTC 2019","apiVer":"2.00","eventId":"664be3d2-6c12-4f4b-a3e7-c349acced200"},"eventStatus":{"code":501,"reason":"Stop : Error occoured while restarting the server:"}}] 2019-04-26T05:55:01,598 | INFO | appc-dispatcher-7 | SvcLogicServiceImpl | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 55 (return) 2019-04-26T05:55:01,599 | INFO | appc-dispatcher-7 | ForNodeExecutor | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | For - stopped executing nodes due to failure status 2019-04-26T05:55:01,599 | INFO | appc-dispatcher-7 | BlockNodeExecutor | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Block - stopped executing nodes due to failure status 2019-04-26T05:55:01,633 | INFO | appc-dispatcher-7 | audit | 458 - appc-common-bundle - 1.4.4 | APPC0090A Operation "App-C IaaS Adapter:Restart" for VNF type "d86f68e7-9cb2-48cc-b82d-ffd54602b91b" from Source "664be3d2-6c12-4f4b-a3e7-c349acced200" with RequestID "664be3d2-6c12-4f4b-a3e7-c349acced200" was started at "2019-04-26T05:55:00Z" and ended at "2019-04-26T05:55:01Z" with status code "401" Let me know if you need any further logs. Regards Sirisha Gopigiri -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16750): https://lists.onap.org/g/onap-discuss/message/16750 Mute This Topic: https://lists.onap.org/mt/31222663/21656 Mute #appc: https://lists.onap.org/mk?hashtag=appc&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
