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\",\"identity-url\":
\"http://openstackip:keystoneport/v3\"}"
}
}
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]
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 (#16742): https://lists.onap.org/g/onap-discuss/message/16742
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]]
-=-=-=-=-=-=-=-=-=-=-=-