Thanks for the replay Marco,
The URL does exist as I am able to do the stop operation with the same URL 
using APPC swagger and it works.

The escape chars which I mentioned are not the one in the payload (which I 
understand that they are for double quotes) but the one which are being added 
when VM URL is extracted from the payload and I can see them in karaf.log.
Below is the snippet from karaf.log where I can see an escape char being added 
in front of every forward slash in VM url which I highlighted in green(although 
payload looks good in logs).

2019-11-20T09:57:28,144 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = payload -- 
{"vm-id":"http://192.168.37.15:8774/v2.1/3d412a0caed04122a94f4cbff2258405/servers/fa452444-9a63-48ed-92b8-4a3088f9a4ad";,
 "identity-url": "http://192.168.37.15:5000/v3";, 
"tenant-id":"3d412a0caed04122a94f4cbff2258405", "skip-hypervisor-check":"true"}
2019-11-20T09:57:28,144 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = capabilities 
-- Supported
2019-11-20T09:57:28,145 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
controller-template-id --
2019-11-20T09:57:28,145 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = CONFIGTYPE --
2019-11-20T09:57:28,145 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
response-prefix -- tmp.flowControl.
2019-11-20T09:57:28,146 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
configuration-params --
2019-11-20T09:57:28,146 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
vnf-host-ip-address --
2019-11-20T09:57:28,146 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = error_code -- 
500
2019-11-20T09:57:28,146 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
input.common-header.timestamp -- 2019-11-20T03:44:51.036Z       
2019-11-20T09:57:28,146 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = vnf-name -- 
vFW_SINK_VNF-11
2019-11-20T09:57:28,147 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
tmp.vnfInfo.cloud-region.identity-url -- 
http://msb-iag.onap:80/api/multicloud-ocata/v0/CloudOwner_regionOne/identity/v2.0
2019-11-20T09:57:28,147 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = template-name 
--
2019-11-20T09:57:28,151 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = error-message 
-- Success
2019-11-20T09:57:28,151 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
input.common-header.sub-request-id -- stop10
2019-11-20T09:57:28,151 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
SvcLogic.status -- success
2019-11-20T09:57:28,152 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
input.common-header.request-id -- OpenSTACK
2019-11-20T09:57:28,152 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = aai-vnf-type 
-- vFW_service/vFW_SINC 0
2019-11-20T09:57:28,152 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = request-id -- 
OpenSTACK
2019-11-20T09:57:28,152 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = originator-id 
-- 849e6c6b420
2019-11-20T09:57:28,153 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = 
action-identifier -- vserver-id
2019-11-20T09:57:28,155 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = STOP_STATUS -- 
SUCCESS
2019-11-20T09:57:28,156 | INFO  | appc-dispatcher-3 | GraphExecutor             
       | 486 - org.onap.appc.flow.controller - 1.5.2 | NEW KEY = *vm-id -- 
http:\/\/192.168.37.15:8774\/v2.1\/3d412a0caed04122a94f4cbff2258405\/servers\/fa452444-9a63-48ed-92b8-4a3088f9a4ad*
...
...
...
2019-11-20T09:57:28,134 | ERROR | appc-dispatcher-3 | ProviderOperation         
       | 475 - appc-iaas-adapter - 1.5.2 | APPC0041E APPC IAAS Adapter cannot 
perform requested service, VM url [ 
*http:\/\/192.168.37.15:8774\/v2.1\/3d412a0caed04122a94f4cbff2258405\/servers\/fa452444-9a63-48ed-92b8-4a3088f9a4ad]*
 is invalid

When I saw logs posted by others I don't see those escape chars, so I suspect 
this is the reason it's failing.

Below is the screen shot of APPC swagger which works fine.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#19535): https://lists.onap.org/g/onap-discuss/message/19535
Mute This Topic: https://lists.onap.org/mt/31641303/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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to