Hi Brian,

Except Ansible Server pod all the other pods are running. I am able to execute 
the mysql commands in the DB pod. I redeployed appc still facing the same 
issue.And the sequence of the pods are appc-db, appc and then ansible pod.  Not 
sure what failed.

Hi Lathish,

There are no entries in VNF_DG_MAPPING table, I have inserted manually. And now 
I could see the same Invalid URL error in both of my setups which has 
underlying VIM as https and http.

Hi Steve,

I am trying to execute restart LCM operation and it is supported by both 
VNF/VM. And according to the doc there should be vm-id sent in payload. But 
when I send the vm-id in the payload I could see that request is not being 
accepted with schema error and 400 error response code.

Here is the request payload I am using for restart appc

{
  "input": {
    "common-header": {
      "timestamp": "2019-04-25T06: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"
    },
    "payload":{
       
"vm-id":"http://x.x.x.x:yyyy/v2.1/servers/88b65041-81d6-41bc-b6ff-3785e461541e";
    }
  }
}

And here is the error message I see when I send payload field in request.

{
 "errors": {
   "error": [
     {
       "error-type": "protocol",
       "error-tag": "malformed-message",
       "error-message": "Error parsing input: Schema node with name vm-id was 
not found under (org:onap:appc:lcm?revision=2016-01-08)payload.",
       "error-info": "Schema node with name vm-id was not found under 
(org:onap:appc:lcm?revision=2016-01-08)payload."
     }
   ]
 }
}

Without payload field in the request payload I get Invalid URL error in APPC 
logs.

Am I missing anything in the request payload that is sent to APPC?

Thank you in advance!

Regards
Sirisha Gopigiri

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

View/Reply Online (#16709): https://lists.onap.org/g/onap-discuss/message/16709
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to