#appc Unable to execute stop lcm operation from APPC #appc


Gopigiri, Sirisha
 

Dear Appc Team,

I have OOM Casablanca setup running, and I have instantiated vLB Service from VID and I am trying to execute appc-lcm stop operation on the vLB VNF launched. When I send the request from APPC restconf, I could see in appc logs that it is contacting AAI and able to get the vserver details, but after that I could in the subsequent request I could see "Don't know how to execute transaction ID 1" Java Exception. and later some HTTP 401 error. Could you please help me debug on this further?

I have attached the karaf logs for reference.

Thank you in advance!

Regards
Sirisha Gopigiri


Taka Cho
 

Hi

 

Are all bundles active? Can you try restart bundle: Flow Executor – Provider?

 

2019-04-18T10:44:22,257 | WARN  | appc-dispatcher-5 | SvcLogicClassResolver            | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Could not find service reference object for class onap.ccsdk.sli.core.sli.recording.Slf4jRecorder

2019-04-18T10:44:22,257 | WARN  | appc-dispatcher-5 | RecordNodeExecutor               | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Could not find SvcLogicRecorder object for plugin onap.ccsdk.sli.core.sli.recording.Slf4jRecorder

 

Taka

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org
Sent: Thursday, April 18, 2019 7:53 AM
To: onap-discuss@...
Subject: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Dear Appc Team,

I have OOM Casablanca setup running, and I have instantiated vLB Service from VID and I am trying to execute appc-lcm stop operation on the vLB VNF launched. When I send the request from APPC restconf, I could see in appc logs that it is contacting AAI and able to get the vserver details, but after that I could in the subsequent request I could see "Don't know how to execute transaction ID 1" Java Exception. and later some HTTP 401 error. Could you please help me debug on this further?

I have attached the karaf logs for reference.

Thank you in advance!

Regards
Sirisha Gopigiri


Gopigiri, Sirisha
 

Hi Taka,

Thank you for the reply!

I have tried the restart bundle and I could see the below error log. May I know in what format is the APPC expecting the URL? The below VIM URL is being fetched from the AAI payload.

And does APPC support https request to the VIM?

2019-04-22T05:23:57,746 | ERROR | appc-dispatcher-9 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0041E APPC IAAS Adapter cannot perform requested service, VM url [https://x.x.x.x:yyyy/v2.1/servers/8a196a4d-cff4-4b5c-b164-35225e60d7db] is invalid

Best Regards
Sirisha Gopigiri


Taka Cho
 

We did not tried https yet.

 

The setting is on provider1 portion in appc.properties

 

K8s env:

https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/appc/resources/config/appc/opt/onap/appc/data/properties/appc.properties;h=770142ad59f7c9e5cdb8e03022053a5934e51292;hb=70b07469dada287b97c41c4eda6c18f514a3f5a6

 

docker-compose env:

https://gerrit.onap.org/r/gitweb?p=appc/deployment.git;a=blob;f=installation/src/main/properties/appc.properties;h=900695e7cc483d3ae4164ce24f66aae8ea3f9faa;hb=cd9e460cfa7cbd090156045711c4d95efa6765b3

 

Taka

 

From: sirisha.gopigiri via lists.onap.org <sirisha.gopigiri=verizon.com@...>
Sent: Monday, April 22, 2019 1:33 AM
To: CHO, TAKAMUNE <tc012c@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Hi Taka,

Thank you for the reply!

I have tried the restart bundle and I could see the below error log. May I know in what format is the APPC expecting the URL? The below VIM URL is being fetched from the AAI payload.

And does APPC support https request to the VIM?

2019-04-22T05:23:57,746 | ERROR | appc-dispatcher-9 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0041E APPC IAAS Adapter cannot perform requested service, VM url [https://x.x.x.x:yyyy/v2.1/servers/8a196a4d-cff4-4b5c-b164-35225e60d7db] is invalid

Best Regards
Sirisha Gopigiri


Gopigiri, Sirisha
 

Hi Taka,

After setting the VIM details in appc.properties in provider1 section also I am still facing the same issue.

So I had switched from https VIM to http VIM, I have brought a new setup of OOM Casablanca for http support VIM and I am facing issues in APPC while connecting to DB in this new setup. I get is a null pointer exception in the APPC while connecting to DB for the restart LCM request. Please find the logs attached.

Could you please help me debug on this.

Thank you in advance!

Regards
Sirisha Gopigiri


Steve Siani <alphonse.steve.siani.djissitchi@...>
 

Hello,

it seems like APPC doesn't support all actions on VNFs. Refer to the table shown here https://onap.readthedocs.io/en/latest/submodules/appc.git/docs/APPC%20LCM%20API%20Guide/APPC%20LCM%20API%20Guide.html on section VNF/VM Types Supported.

'Maybe that's why you have this error: 2019-04-22T05:23:57,746 | ERROR | appc-dispatcher-9 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0041E APPC IAAS Adapter cannot perform requested service, VM url [https://x.x.x.x:yyyy/v2.1/servers/8a196a4d-cff4-4b5c-b164-35225e60d7db] is invalid

Regards,

Steve Siani


Brian Freeman
 

 

Are the appc pods coming up correctly ?

Can you log into the db container and execute mysql commands ?

 

Brian

 

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org
Sent: Wednesday, April 24, 2019 9:44 AM
To: CHO, TAKAMUNE <tc012c@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Hi Taka,

After setting the VIM details in appc.properties in provider1 section also I am still facing the same issue.

So I had switched from https VIM to http VIM, I have brought a new setup of OOM Casablanca for http support VIM and I am facing issues in APPC while connecting to DB in this new setup. I get is a null pointer exception in the APPC while connecting to DB for the restart LCM request. Please find the logs attached.

Could you please help me debug on this.

Thank you in advance!

Regards
Sirisha Gopigiri


Lathish
 

Hi Sirisha,

 

From your log file,  Error querying workflow from databasenull

 

APPC couldn’t read the DG. Can you please check your table entries VNF_DG_MAPPING?

 

Br,

Lathish

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org
Sent: Wednesday, April 24, 2019 2:44 PM
To: Taka Cho <tc012c@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Hi Taka,

After setting the VIM details in appc.properties in provider1 section also I am still facing the same issue.

So I had switched from https VIM to http VIM, I have brought a new setup of OOM Casablanca for http support VIM and I am facing issues in APPC while connecting to DB in this new setup. I get is a null pointer exception in the APPC while connecting to DB for the restart LCM request. Please find the logs attached.

Could you please help me debug on this.

Thank you in advance!

Regards
Sirisha Gopigiri


Gopigiri, Sirisha
 

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


Brian Freeman
 

Isnt payload a json encoded string ?

 

 

https://gerrit.onap.org/r/gitweb?p=ccsdk/sli/northbound.git;a=blob;f=lcm/model/src/main/yang/lcm.yang;h=a03fff60754adaa8feff2ab182d96373baf7f541;hb=refs/heads/casablanca

 

  78     typedef payload {

  79            type string ;

  80            description "The payload can be any valid JSON string value. Json escape characters need to be added when required to include an inner json within the payload to make it a valid json string value";

  81     }

  82

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org
Sent: Thursday, April 25, 2019 5:09 AM
To: Lathish <lathishbabu.ganesan@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

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


Brian Freeman
 

 

 

https://wiki.onap.org/display/DW/APPC+ONAP+Testing+Requests

 

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

{

    "input": {

        "common-header": {

            "timestamp": "2017-10-31T15:02:04.244Z",

            "api-ver": "2.05",

            "originator-id": "SDNGP",

            "request-id": "Stop_VM-vFirewall_demo_app",

            "sub-request-id": "Stop_VM-vFirewall_demo_app",

            "flags": {

                "mode": "NORMAL",

                "force": "TRUE",

                "ttl": 36000

            }

        },

        "action": "Stop",

        "action-identifiers": {

            "vnf-id": "vFirewall_demo_app",

            "vserver-id": "5b06cf36-40a0-4bcb-bde9-849aa4702d67"

        },

        "payload": "{\"vm-id\":\"http://10.12.25.2:8774/v2.1/466979b815b5415ba14ada713e6e1846/servers/5b06cf36-40a0-4bcb-bde9-849aa4702d67\", \"identity-url\": \"http://10.12.25.2:5000/v3\",\"skip-hypervisor-check\":\"true\"}"

    }

}

 

 

From: FREEMAN, BRIAN D
Sent: Thursday, April 25, 2019 9:01 AM
To: onap-discuss@...; sirisha.gopigiri@...; Lathish <lathishbabu.ganesan@...>
Subject: RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Isnt payload a json encoded string ?

 

 

https://gerrit.onap.org/r/gitweb?p=ccsdk/sli/northbound.git;a=blob;f=lcm/model/src/main/yang/lcm.yang;h=a03fff60754adaa8feff2ab182d96373baf7f541;hb=refs/heads/casablanca

 

  78     typedef payload {

  79            type string ;

  80            description "The payload can be any valid JSON string value. Json escape characters need to be added when required to include an inner json within the payload to make it a valid json string value";

  81     }

  82

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org
Sent: Thursday, April 25, 2019 5:09 AM
To: Lathish <lathishbabu.ganesan@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

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


Marco Platania
 

Latish,

 

The payload has to have this format:

 

"payload": "{\"vm-id\":\"{{vm-id}}\"}"

 

See example below (it is for modify config but you can customize it):

 

"payload": "{\"request-parameters\":{\"vnf-host-ip-address\":\"10.0.60.2\"}, \"configuration-parameters\": {\"active-streams\":\"7\"}}"

 

Also, for OpenStack action you can either use the VM ID or the selflink to the vServer in AAI.

 

Marco

 

From: <onap-discuss@...> on behalf of BRIAN FREEMAN <bf1936@...>
Reply-To: "onap-discuss@..." <onap-discuss@...>, BRIAN FREEMAN <bf1936@...>
Date: Thursday, April 25, 2019 at 9:00 AM
To: "onap-discuss@..." <onap-discuss@...>, "sirisha.gopigiri@..." <sirisha.gopigiri@...>, Lathish <lathishbabu.ganesan@...>
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.


Isnt payload a json encoded string ?

 

 

https://gerrit.onap.org/r/gitweb?p=ccsdk/sli/northbound.git;a=blob;f=lcm/model/src/main/yang/lcm.yang;h=a03fff60754adaa8feff2ab182d96373baf7f541;hb=refs/heads/casablanca

 

  78     typedef payload {

  79            type string ;

  80            description "The payload can be any valid JSON string value. Json escape characters need to be added when required to include an inner json within the payload to make it a valid json string value";

  81     }

  82

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org
Sent: Thursday, April 25, 2019 5:09 AM
To: Lathish <lathishbabu.ganesan@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

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


Gopigiri, Sirisha
 

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


Brian Freeman
 

 

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: onap-discuss@... <onap-discuss@...> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org
Sent: Friday, April 26, 2019 2:16 AM
To: PLATANIA, MARCO <platania@...>; onap-discuss@...
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\",\"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


Marco Platania
 

Sirisha,

 

The payload just needs the VM ID:

 

"payload": "{\"vm-id\":\"{{vm-id}}\"}"

 

I don’t think identity-url is a valid tag (it won’t be considered anyway), but APPC folks can correct me if I’m wrong. Try to verify if your APPC resolves the OpenStack IP correctly. For example, in my lab I had to add an entry to /etc/hosts in the APPC container to resolve the OpenStack IP (for some reason my OpenStack instance needs to be accessed as http://controller:port instead of http://ipaddress:port).

 

Also, is the VNF mounted? Are you using netconf mount or CDT to create a VNF profile?

 

Marco

 

From: BRIAN FREEMAN <bf1936@...>
Date: Friday, April 26, 2019 at 8:26 AM
To: "onap-discuss@..." <onap-discuss@...>, "sirisha.gopigiri@..." <sirisha.gopigiri@...>, "PLATANIA, MARCO (MARCO)" <platania@...>
Subject: RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

 

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: onap-discuss@... <onap-discuss@...> On Behalf Of Gopigiri, Sirisha via Lists.Onap.Org
Sent: Friday, April 26, 2019 2:16 AM
To: PLATANIA, MARCO <platania@...>; onap-discuss@...
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\",\"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


Steve Siani <alphonse.steve.siani.djissitchi@...>
 

Hello all,

I also have pretty much the same issue. I am trying to perform LCM request using APPC.

Bellow are relevant infos:

- Input request:
`
{
    "input": {
        "common-header": {
            "timestamp": "2019-05-15T14:04:38.515Z",
            "api-ver": "2.00",
            "originator-id": "appc",
            "request-id": "873aacdf-1d85-4e07-8deb-7815776bbd35.",
            "flags": {
                "mode": "NORMAL",
                "force": "FALSE"
            }
        },
        "action": "Stop",
        "action-identifiers": {
            "vnf-id": "VNF_demo_steve",
            "vserver-id": "c82153dc-8d84-4e69-9673-5e0a60030779"
        },
        "payload": "{\"vm-id\": \"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779\", \"identity-urld\": \"http://10.195.194.213:5000/v3\"}"
    }

`

- Here are the logs:
2019-05-15T14:04:40,214 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | AAI Deprecation - the format of request key is no longer supported. Please rewrite this key : vnf-id = 'VNF_demo_steve'
2019-05-15T14:04:40,226 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - vnf-id : VNF_demo_steve
2019-05-15T14:04:40,226 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :
2019-05-15T14:04:40,226 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-15T14:04:40.226Z, Method : GET
2019-05-15T14:04:40,226 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request URL : http://aai.ssteve:8443/aai/v14/network/generic-vnfs/generic-vnf/VNF_demo_steve
2019-05-15T14:04:40,227 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Missing requestID. Assigned 489560cb-5f3d-4f9a-af7d-eca558ef360f
2019-05-15T14:04:41,125 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK
2019-05-15T14:04:41,126 | INFO  | qtp1130223215-78 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |
2019-05-15T14:04:41,135 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK
2019-05-15T14:04:41,135 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vnf-id":"VNF_demo_steve","vnf-name":"VNF_demo_steve","vnf-type":"vm","service-id":"vnf_demo_app","orchestration-status":"running","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1557780683583","model-invariant-id":"VNF_demo_app_steve","model-version-id":"v1.4.0","relationship-list":{"relationship":[{"related-to":"vserver","relationship-label":"tosca.relationships.HostedOn","related-link":"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779","relationship-data":[{"relationship-key":"cloud-region.cloud-owner","relationship-value":"CloudOwner"},{"relationship-key":"cloud-region.cloud-region-id","relationship-value":"RegionOne"},{"relationship-key":"tenant.tenant-id","relationship-value":"7320ec4a5b9d4589ba7c4412ccfd290f"},{"relationship-key":"vserver.vserver-id","relationship-value":"c82153dc-8d84-4e69-9673-5e0a60030779"}],"related-to-property":[{"property-key":"vserver.vserver-name","property-value":"viptela_scripts"}]}]}}
2019-05-15T14:04:41,151 | INFO  | qtp1130223215-78 | metrics                          | 458 - appc-common-bundle - 1.4.4 | APPC0128I Operation "DEFAULT" for VNF type "null" from Source "appc" with RequestID "489560cb-5f3d-4f9a-af7d-eca558ef360f" on "A&AI" with action "query" ended in 937 ms with result "COMPLETE"
2019-05-15T14:04:41,152 | INFO  | qtp1130223215-78 | RequestValidatorImpl             | 458 - appc-common-bundle - 1.4.4 | AAIResponse: SUCCESS
2019-05-15T14:04:41,209 | INFO  | qtp1130223215-78 | WorkFlowManagerImpl              | 458 - appc-common-bundle - 1.4.4 | DG resolver configuration data has expired - initiating refresh
2019-05-15T14:04:41,256 | INFO  | qtp1130223215-78 | WorkFlowManagerImpl              | 458 - appc-common-bundle - 1.4.4 | DG resolver configuration data has been refreshed successfully
2019-05-15T14:04:41,425 | INFO  | qtp1130223215-78 | CommandTask                      | 458 - appc-common-bundle - 1.4.4 | AAIService from bundlecontext
2019-05-15T14:04:41,426 | INFO  | appc-dispatcher-8 | CommandTask                      | 458 - appc-common-bundle - 1.4.4 | Replaced invalid requestID of 123456-1000.  New value is 873aacdf-1d85-4e07-8deb-7815776bbd35.
2019-05-15T14:04:41,427 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Fetching service logic from data store
2019-05-15T14:04:41,509 | INFO  | qtp1130223215-78 | audit                            | 458 - appc-common-bundle - 1.4.4 | APPC0090A Operation "Stop" for VNF type "VNF_demo_steve" from Source "appc" with RequestID "e4c2b2cd-3220-4dea-b107-23c68c99ea51" was started at "2019-05-15T14:04:40Z" and ended at "2019-05-15T14:04:41Z" with status code "100"
2019-05-15T14:04:41,510 | INFO  | qtp1130223215-78 | metrics                          | 458 - appc-common-bundle - 1.4.4 | APPC0128I Operation "DEFAULT" for VNF type "VNF_demo_steve" from Source "appc" with RequestID "365fc60a-5a0c-4235-9a23-33dbb849f1c6" on "APPC" with action "Stop" ended in 1475 ms with result "COMPLETE"
2019-05-15T14:04:41,510 | INFO  | qtp1130223215-78 | AppcProviderLcm                  | 458 - appc-common-bundle - 1.4.4 | Execute of 'ActionIdentifiers{getVnfId=VNF_demo_steve, getVserverId=c82153dc-8d84-4e69-9673-5e0a60030779, augmentations={}}' finished with status 100. Reason: ACCEPTED - request accepted
2019-05-15T14:04:41,521 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=Stop_VNF, mode=sync, version=2.0.1, md5sum=da65b3e486c5575eb48e221aa266b259]
2019-05-15T14:04:41,521 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (execute)
2019-05-15T14:04:41,522 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 2 (execute)
2019-05-15T14:04:41,522 | ERROR | appc-dispatcher-8 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Could not execute plugin. SvcLogic status will be set to failure.
java.lang.NullPointerException: null
        at org.onap.appc.dg.aai.impl.AAIPluginImpl.readResource(AAIPluginImpl.java:376) ~[?:?]
        at org.onap.appc.dg.aai.impl.AAIPluginImpl.readVnf(AAIPluginImpl.java:314) ~[?:?]
        at org.onap.appc.dg.aai.impl.AAIPluginImpl.getVnfHierarchy(AAIPluginImpl.java:182) ~[?:?]
        at Proxy3a570115_2dd3_4597_8646_cc44aead7eee.getVnfHierarchy(Unknown Source) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
        at org.onap.ccsdk.sli.core.sli.provider.ExecuteNodeExecutor.execute(ExecuteNodeExecutor.java:96) ~[?:?]
        at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.executeNode(SvcLogicServiceImpl.java:188) ~[?:?]
        at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.execute(SvcLogicServiceImpl.java:158) ~[?:?]
        at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.execute(SvcLogicServiceImpl.java:224) ~[?:?]
        at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.execute(SvcLogicServiceImpl.java:202) ~[?:?]
        at Proxyde9117c8_cd73_4537_80c1_aa5c45ed624a.execute(Unknown Source) ~[?:?]
        at Proxyeff60fee_b1bd_42b9_85fc_f35c9b5c9af9.execute(Unknown Source) ~[?:?]
        at org.onap.appc.workflow.impl.WorkFlowManagerImpl.SVCLogicServiceExecute(WorkFlowManagerImpl.java:252) ~[?:?]
        at org.onap.appc.workflow.impl.WorkFlowManagerImpl.executeWorkflow(WorkFlowManagerImpl.java:155) ~[?:?]
        at Proxy5b2a63eb_9bc1_4b37_a4f2_b6d16f7748c6.executeWorkflow(Unknown Source) ~[?:?]
        at Proxyb1332071_2957_4fb5_8124_244cba3ef505.executeWorkflow(Unknown Source) ~[?:?]
        at org.onap.appc.executor.impl.CommandTask.run(CommandTask.java:116) ~[?:?]
        at org.onap.appc.executionqueue.impl.QueueManager.lambda$enqueueTask$0(QueueManager.java:104) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
2019-05-15T14:04:41,536 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 3 (block)
2019-05-15T14:04:41,547 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 4 (execute)
2019-05-15T14:04:41,548 | INFO  | appc-dispatcher-8 | EventSenderDmaapImpl             | 458 - appc-common-bundle - 1.4.4 | Posting Message [123456-1000 - {"eventHeader":{"eventTime":"Wed May 15 14:04:41 UTC 2019","apiVer":"2.00","eventId":"123456-1000"},"eventStatus":{"code":501,"reason":"Exception in getting VNF Hierachy"}}]
2019-05-15T14:04:41,552 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 5 (return)
2019-05-15T14:04:41,667 | ERROR | appc-dispatcher-8 | HttpDmaapProducerImpl            | 458 - appc-common-bundle - 1.4.4 | Failed to send message to http://message-router.ssteve:3904/events/APPC-LCM-WRITE. Reason: message-router.ssteve: Name or service not known
java.net.UnknownHostException: message-router.ssteve: Name or service not known
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) ~[?:?]
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) ~[?:?]
        at java.net.InetAddress.getAllByName0(InetAddress.java:1277) ~[?:?]
        at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[?:?]
        at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[?:?]
        at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[?:?]
        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) ~[?:?]
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359) ~[?:?]
        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) ~[?:?]
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) ~[?:?]
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[?:?]
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[?:?]
        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) ~[?:?]
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[?:?]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[?:?]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[?:?]
        at org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapProducerImpl.sendRequest(HttpDmaapProducerImpl.java:99) ~[?:?]
        at org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapProducerImpl.lambda$post$0(HttpDmaapProducerImpl.java:80) ~[?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) ~[?:?]
        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1553) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:?]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.LongPipeline.reduce(LongPipeline.java:438) ~[?:?]
        at java.util.stream.LongPipeline.sum(LongPipeline.java:396) ~[?:?]
        at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:526) ~[?:?]
        at org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapProducerImpl.post(HttpDmaapProducerImpl.java:81) ~[?:?]
        at org.onap.appc.messageadapter.impl.MessageAdapterImpl.post(MessageAdapterImpl.java:127) ~[?:?]
        at org.onap.appc.requesthandler.impl.AbstractRequestHandlerImpl.postMessageToDMaaP(AbstractRequestHandlerImpl.java:399) ~[?:?]
        at org.onap.appc.requesthandler.impl.AbstractRequestHandlerImpl.onRequestExecutionEnd(AbstractRequestHandlerImpl.java:361) ~[?:?]
        at Proxy33348f38_9fe1_4fb1_a952_07eac39b747d.onRequestExecutionEnd(Unknown Source) ~[?:?]
        at Proxyfecac20c_bb05_4747_9ad1_93283e6c881e.onRequestExecutionEnd(Unknown Source) ~[?:?]
        at org.onap.appc.executor.impl.CommandTask.run(CommandTask.java:130) ~[?:?]
        at org.onap.appc.executionqueue.impl.QueueManager.lambda$enqueueTask$0(QueueManager.java:104) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
2019-05-15T14:04:41,726 | ERROR | appc-dispatcher-8 | AbstractRequestHandlerImpl       | 458 - appc-common-bundle - 1.4.4 | DMaaP posting status: false
2019-05-15T14:04:41,774 | INFO  | appc-dispatcher-8 | audit                            | 458 - appc-common-bundle - 1.4.4 | APPC0090A Operation "Stop" for VNF type "VNF_demo_steve" from Source "appc" with RequestID "873aacdf-1d85-4e07-8deb-7815776bbd35" was started at "2019-05-15T14:04:40Z" and ended at "2019-05-15T14:04:41Z" with status code "401"
2019-05-15T14:04:41,967 | INFO  | sshd-SshServer[77ff063]-nio2-thread-1 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:33320 authenticated
2019-05-15T14:04:43,324 | INFO  | Appc-Listener-1  | EventHandlerImpl                 | 458 - appc-common-bundle - 1.4.4 | Read 0 messages from APPC-CL as appcDemoEventListener/4.
2019-05-15T14:04:43,324 | INFO  | Appc-Listener-2  | EventHandlerImpl                 | 458 - appc-common-bundle - 1.4.4 | Read 0 messages from APPC-LCM-READ as APPC-EVENT-LISTENER-TEST/780.
2019-05-15T14:04:43,324 | INFO  | Appc-Listener-2  | EventHandlerImpl                 | 458 - appc-common-bundle - 1.4.4 | Getting up to 10 incoming events
2019-05-15T14:04:43,324 | INFO  | Appc-Listener-1  | EventHandlerImpl                 | 458 - appc-common-bundle - 1.4.4 | Getting up to 1000 incoming events
2019-05-15T14:04:43,324 | INFO  | Appc-Listener-1  | HttpDmaapConsumerImpl            | 458 - appc-common-bundle - 1.4.4 | GET http://message-router.ssteve:3904/events/APPC-CL/appcDemoEventListener/4?timeout=60000&limit=1000
2019-05-15T14:04:43,324 | INFO  | Appc-Listener-2  | HttpDmaapConsumerImpl            | 458 - appc-common-bundle - 1.4.4 | GET http://message-router.ssteve:3904/events/APPC-LCM-READ/APPC-EVENT-LISTENER-TEST/780?timeout=60000&limit=10
2019-05-15T14:04:43,336 | ERROR | Appc-Listener-2  | HttpDmaapConsumerImpl            | 458 - appc-common-bundle - 1.4.4 | Got exception while querying DMaaP. Message: message-router.ssteve
java.net.UnknownHostException: message-router.ssteve
        at java.net.InetAddress.getAllByName0(InetAddress.java:1281) [?:?]
        at java.net.InetAddress.getAllByName(InetAddress.java:1193) [?:?]
        at java.net.InetAddress.getAllByName(InetAddress.java:1127) [?:?]
        at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapConsumerImpl.fetch(HttpDmaapConsumerImpl.java:96) [461:appc-dmaap-adapter-bundle:1.4.4]
        at org.onap.appc.listener.impl.EventHandlerImpl.getIncomingEvents(EventHandlerImpl.java:161) [521:org.onap.appc.listener:1.4.4]
        at org.onap.appc.listener.impl.EventHandlerImpl.getIncomingEvents(EventHandlerImpl.java:177) [521:org.onap.appc.listener:1.4.4]
        at org.onap.appc.listener.LCM.impl.ListenerImpl.run(ListenerImpl.java:76) [521:org.onap.appc.listener:1.4.4]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
 


Brian Freeman
 

Looks like your kubernetes dns isnt working

 

 

message-router.ssteve isnt resolving – assuming you used ssteve as your namespace or something ?

 

Surprised the first aai query worked but the second did not.

 

 

Brian

 

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Steve Siani
Sent: Wednesday, May 15, 2019 10:12 AM
To: PLATANIA, MARCO <platania@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Hello all,

I also have pretty much the same issue. I am trying to perform LCM request using APPC.

Bellow are relevant infos:

- Input request:

`

{

    "input": {

        "common-header": {

            "timestamp": "2019-05-15T14:04:38.515Z",

            "api-ver": "2.00",

            "originator-id": "appc",

            "request-id": "873aacdf-1d85-4e07-8deb-7815776bbd35.",

            "flags": {

                "mode": "NORMAL",

                "force": "FALSE"

            }

        },

        "action": "Stop",

        "action-identifiers": {

            "vnf-id": "VNF_demo_steve",

            "vserver-id": "c82153dc-8d84-4e69-9673-5e0a60030779"

        },

    }


`


- Here are the logs:

2019-05-15T14:04:40,214 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | AAI Deprecation - the format of request key is no longer supported. Please rewrite this key : vnf-id = 'VNF_demo_steve'

2019-05-15T14:04:40,226 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - vnf-id : VNF_demo_steve

2019-05-15T14:04:40,226 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :

2019-05-15T14:04:40,226 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-15T14:04:40.226Z, Method : GET

2019-05-15T14:04:40,226 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request URL : http://aai.ssteve:8443/aai/v14/network/generic-vnfs/generic-vnf/VNF_demo_steve

2019-05-15T14:04:40,227 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Missing requestID. Assigned 489560cb-5f3d-4f9a-af7d-eca558ef360f

2019-05-15T14:04:41,125 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK

2019-05-15T14:04:41,126 | INFO  | qtp1130223215-78 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |

2019-05-15T14:04:41,135 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK

2019-05-15T14:04:41,135 | INFO  | qtp1130223215-78 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vnf-id":"VNF_demo_steve","vnf-name":"VNF_demo_steve","vnf-type":"vm","service-id":"vnf_demo_app","orchestration-status":"running","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1557780683583","model-invariant-id":"VNF_demo_app_steve","model-version-id":"v1.4.0","relationship-list":{"relationship":[{"related-to":"vserver","relationship-label":"tosca.relationships.HostedOn","related-link":"/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779","relationship-data":[{"relationship-key":"cloud-region.cloud-owner","relationship-value":"CloudOwner"},{"relationship-key":"cloud-region.cloud-region-id","relationship-value":"RegionOne"},{"relationship-key":"tenant.tenant-id","relationship-value":"7320ec4a5b9d4589ba7c4412ccfd290f"},{"relationship-key":"vserver.vserver-id","relationship-value":"c82153dc-8d84-4e69-9673-5e0a60030779"}],"related-to-property":[{"property-key":"vserver.vserver-name","property-value":"viptela_scripts"}]}]}}

2019-05-15T14:04:41,151 | INFO  | qtp1130223215-78 | metrics                          | 458 - appc-common-bundle - 1.4.4 | APPC0128I Operation "DEFAULT" for VNF type "null" from Source "appc" with RequestID "489560cb-5f3d-4f9a-af7d-eca558ef360f" on "A&AI" with action "query" ended in 937 ms with result "COMPLETE"

2019-05-15T14:04:41,152 | INFO  | qtp1130223215-78 | RequestValidatorImpl             | 458 - appc-common-bundle - 1.4.4 | AAIResponse: SUCCESS

2019-05-15T14:04:41,209 | INFO  | qtp1130223215-78 | WorkFlowManagerImpl              | 458 - appc-common-bundle - 1.4.4 | DG resolver configuration data has expired - initiating refresh

2019-05-15T14:04:41,256 | INFO  | qtp1130223215-78 | WorkFlowManagerImpl              | 458 - appc-common-bundle - 1.4.4 | DG resolver configuration data has been refreshed successfully

2019-05-15T14:04:41,425 | INFO  | qtp1130223215-78 | CommandTask                      | 458 - appc-common-bundle - 1.4.4 | AAIService from bundlecontext

2019-05-15T14:04:41,426 | INFO  | appc-dispatcher-8 | CommandTask                      | 458 - appc-common-bundle - 1.4.4 | Replaced invalid requestID of 123456-1000.  New value is 873aacdf-1d85-4e07-8deb-7815776bbd35.

2019-05-15T14:04:41,427 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Fetching service logic from data store

2019-05-15T14:04:41,509 | INFO  | qtp1130223215-78 | audit                            | 458 - appc-common-bundle - 1.4.4 | APPC0090A Operation "Stop" for VNF type "VNF_demo_steve" from Source "appc" with RequestID "e4c2b2cd-3220-4dea-b107-23c68c99ea51" was started at "2019-05-15T14:04:40Z" and ended at "2019-05-15T14:04:41Z" with status code "100"

2019-05-15T14:04:41,510 | INFO  | qtp1130223215-78 | metrics                          | 458 - appc-common-bundle - 1.4.4 | APPC0128I Operation "DEFAULT" for VNF type "VNF_demo_steve" from Source "appc" with RequestID "365fc60a-5a0c-4235-9a23-33dbb849f1c6" on "APPC" with action "Stop" ended in 1475 ms with result "COMPLETE"

2019-05-15T14:04:41,510 | INFO  | qtp1130223215-78 | AppcProviderLcm                  | 458 - appc-common-bundle - 1.4.4 | Execute of 'ActionIdentifiers{getVnfId=VNF_demo_steve, getVserverId=c82153dc-8d84-4e69-9673-5e0a60030779, augmentations={}}' finished with status 100. Reason: ACCEPTED - request accepted

2019-05-15T14:04:41,521 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=Stop_VNF, mode=sync, version=2.0.1, md5sum=da65b3e486c5575eb48e221aa266b259]

2019-05-15T14:04:41,521 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (execute)

2019-05-15T14:04:41,522 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 2 (execute)

2019-05-15T14:04:41,522 | ERROR | appc-dispatcher-8 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Could not execute plugin. SvcLogic status will be set to failure.

java.lang.NullPointerException: null

        at org.onap.appc.dg.aai.impl.AAIPluginImpl.readResource(AAIPluginImpl.java:376) ~[?:?]

        at org.onap.appc.dg.aai.impl.AAIPluginImpl.readVnf(AAIPluginImpl.java:314) ~[?:?]

        at org.onap.appc.dg.aai.impl.AAIPluginImpl.getVnfHierarchy(AAIPluginImpl.java:182) ~[?:?]

        at Proxy3a570115_2dd3_4597_8646_cc44aead7eee.getVnfHierarchy(Unknown Source) ~[?:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]

        at org.onap.ccsdk.sli.core.sli.provider.ExecuteNodeExecutor.execute(ExecuteNodeExecutor.java:96) ~[?:?]

        at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.executeNode(SvcLogicServiceImpl.java:188) ~[?:?]

        at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.execute(SvcLogicServiceImpl.java:158) ~[?:?]

        at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.execute(SvcLogicServiceImpl.java:224) ~[?:?]

        at org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl.execute(SvcLogicServiceImpl.java:202) ~[?:?]

        at Proxyde9117c8_cd73_4537_80c1_aa5c45ed624a.execute(Unknown Source) ~[?:?]

        at Proxyeff60fee_b1bd_42b9_85fc_f35c9b5c9af9.execute(Unknown Source) ~[?:?]

        at org.onap.appc.workflow.impl.WorkFlowManagerImpl.SVCLogicServiceExecute(WorkFlowManagerImpl.java:252) ~[?:?]

        at org.onap.appc.workflow.impl.WorkFlowManagerImpl.executeWorkflow(WorkFlowManagerImpl.java:155) ~[?:?]

        at Proxy5b2a63eb_9bc1_4b37_a4f2_b6d16f7748c6.executeWorkflow(Unknown Source) ~[?:?]

        at Proxyb1332071_2957_4fb5_8124_244cba3ef505.executeWorkflow(Unknown Source) ~[?:?]

        at org.onap.appc.executor.impl.CommandTask.run(CommandTask.java:116) ~[?:?]

        at org.onap.appc.executionqueue.impl.QueueManager.lambda$enqueueTask$0(QueueManager.java:104) ~[?:?]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]

        at java.lang.Thread.run(Thread.java:748) [?:?]

2019-05-15T14:04:41,536 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 3 (block)

2019-05-15T14:04:41,547 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 4 (execute)

2019-05-15T14:04:41,548 | INFO  | appc-dispatcher-8 | EventSenderDmaapImpl             | 458 - appc-common-bundle - 1.4.4 | Posting Message [123456-1000 - {"eventHeader":{"eventTime":"Wed May 15 14:04:41 UTC 2019","apiVer":"2.00","eventId":"123456-1000"},"eventStatus":{"code":501,"reason":"Exception in getting VNF Hierachy"}}]

2019-05-15T14:04:41,552 | INFO  | appc-dispatcher-8 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 5 (return)

2019-05-15T14:04:41,667 | ERROR | appc-dispatcher-8 | HttpDmaapProducerImpl            | 458 - appc-common-bundle - 1.4.4 | Failed to send message to http://message-router.ssteve:3904/events/APPC-LCM-WRITE. Reason: message-router.ssteve: Name or service not known

java.net.UnknownHostException: message-router.ssteve: Name or service not known

        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]

        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) ~[?:?]

        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) ~[?:?]

        at java.net.InetAddress.getAllByName0(InetAddress.java:1277) ~[?:?]

        at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[?:?]

        at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[?:?]

        at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[?:?]

        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) ~[?:?]

        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359) ~[?:?]

        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) ~[?:?]

        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) ~[?:?]

        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[?:?]

        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[?:?]

        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) ~[?:?]

        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[?:?]

        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[?:?]

        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[?:?]

        at org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapProducerImpl.sendRequest(HttpDmaapProducerImpl.java:99) ~[?:?]

        at org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapProducerImpl.lambda$post$0(HttpDmaapProducerImpl.java:80) ~[?:?]

        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) ~[?:?]

        at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1553) ~[?:?]

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:?]

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:?]

        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:?]

        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]

        at java.util.stream.LongPipeline.reduce(LongPipeline.java:438) ~[?:?]

        at java.util.stream.LongPipeline.sum(LongPipeline.java:396) ~[?:?]

        at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:526) ~[?:?]

        at org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapProducerImpl.post(HttpDmaapProducerImpl.java:81) ~[?:?]

        at org.onap.appc.messageadapter.impl.MessageAdapterImpl.post(MessageAdapterImpl.java:127) ~[?:?]

        at org.onap.appc.requesthandler.impl.AbstractRequestHandlerImpl.postMessageToDMaaP(AbstractRequestHandlerImpl.java:399) ~[?:?]

        at org.onap.appc.requesthandler.impl.AbstractRequestHandlerImpl.onRequestExecutionEnd(AbstractRequestHandlerImpl.java:361) ~[?:?]

        at Proxy33348f38_9fe1_4fb1_a952_07eac39b747d.onRequestExecutionEnd(Unknown Source) ~[?:?]

        at Proxyfecac20c_bb05_4747_9ad1_93283e6c881e.onRequestExecutionEnd(Unknown Source) ~[?:?]

        at org.onap.appc.executor.impl.CommandTask.run(CommandTask.java:130) ~[?:?]

        at org.onap.appc.executionqueue.impl.QueueManager.lambda$enqueueTask$0(QueueManager.java:104) ~[?:?]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]

        at java.lang.Thread.run(Thread.java:748) [?:?]

2019-05-15T14:04:41,726 | ERROR | appc-dispatcher-8 | AbstractRequestHandlerImpl       | 458 - appc-common-bundle - 1.4.4 | DMaaP posting status: false

2019-05-15T14:04:41,774 | INFO  | appc-dispatcher-8 | audit                            | 458 - appc-common-bundle - 1.4.4 | APPC0090A Operation "Stop" for VNF type "VNF_demo_steve" from Source "appc" with RequestID "873aacdf-1d85-4e07-8deb-7815776bbd35" was started at "2019-05-15T14:04:40Z" and ended at "2019-05-15T14:04:41Z" with status code "401"

2019-05-15T14:04:41,967 | INFO  | sshd-SshServer[77ff063]-nio2-thread-1 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:33320 authenticated

2019-05-15T14:04:43,324 | INFO  | Appc-Listener-1  | EventHandlerImpl                 | 458 - appc-common-bundle - 1.4.4 | Read 0 messages from APPC-CL as appcDemoEventListener/4.

2019-05-15T14:04:43,324 | INFO  | Appc-Listener-2  | EventHandlerImpl                 | 458 - appc-common-bundle - 1.4.4 | Read 0 messages from APPC-LCM-READ as APPC-EVENT-LISTENER-TEST/780.

2019-05-15T14:04:43,324 | INFO  | Appc-Listener-2  | EventHandlerImpl                 | 458 - appc-common-bundle - 1.4.4 | Getting up to 10 incoming events

2019-05-15T14:04:43,324 | INFO  | Appc-Listener-1  | EventHandlerImpl                 | 458 - appc-common-bundle - 1.4.4 | Getting up to 1000 incoming events

2019-05-15T14:04:43,324 | INFO  | Appc-Listener-1  | HttpDmaapConsumerImpl            | 458 - appc-common-bundle - 1.4.4 | GET http://message-router.ssteve:3904/events/APPC-CL/appcDemoEventListener/4?timeout=60000&limit=1000

2019-05-15T14:04:43,324 | INFO  | Appc-Listener-2  | HttpDmaapConsumerImpl            | 458 - appc-common-bundle - 1.4.4 | GET http://message-router.ssteve:3904/events/APPC-LCM-READ/APPC-EVENT-LISTENER-TEST/780?timeout=60000&limit=10

2019-05-15T14:04:43,336 | ERROR | Appc-Listener-2  | HttpDmaapConsumerImpl            | 458 - appc-common-bundle - 1.4.4 | Got exception while querying DMaaP. Message: message-router.ssteve

java.net.UnknownHostException: message-router.ssteve

        at java.net.InetAddress.getAllByName0(InetAddress.java:1281) [?:?]

        at java.net.InetAddress.getAllByName(InetAddress.java:1193) [?:?]

        at java.net.InetAddress.getAllByName(InetAddress.java:1127) [?:?]

        at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.onap.appc.adapter.messaging.dmaap.http.HttpDmaapConsumerImpl.fetch(HttpDmaapConsumerImpl.java:96) [461:appc-dmaap-adapter-bundle:1.4.4]

        at org.onap.appc.listener.impl.EventHandlerImpl.getIncomingEvents(EventHandlerImpl.java:161) [521:org.onap.appc.listener:1.4.4]

        at org.onap.appc.listener.impl.EventHandlerImpl.getIncomingEvents(EventHandlerImpl.java:177) [521:org.onap.appc.listener:1.4.4]

        at org.onap.appc.listener.LCM.impl.ListenerImpl.run(ListenerImpl.java:76) [521:org.onap.appc.listener:1.4.4]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]

        at java.lang.Thread.run(Thread.java:748) [?:?]

 


Alexis de Talhouet
 



On May 15, 2019, at 1:26 PM, Brian <bf1936@...> wrote:

message-router.ssteve isnt resolving – assuming you used ssteve as your namespace or something ?



Brian, does it matter? we’re doing LCM stop command trigger using REST API.


Brian Freeman
 

I dont know all the internals of APPC but the error messgae indicates its trying to do somehting with DMaaP and its a routing issue.

 

The AAI error “might” be a similar hostname resolution problem in aaiclient.properties (I would check that)

 

Brian

 

 

From: Alexis de Talhouët <adetalhouet89@...>
Sent: Wednesday, May 15, 2019 1:48 PM
To: onap-discuss <onap-discuss@...>; FREEMAN, BRIAN D <bf1936@...>
Cc: alphonse.steve.siani.djissitchi@...; PLATANIA, MARCO <platania@...>
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

 



On May 15, 2019, at 1:26 PM, Brian <bf1936@...> wrote:

 

message-router.ssteve isnt resolving – assuming you used ssteve as your namespace or something ?

 

 

 

Brian, does it matter? we’re doing LCM stop command trigger using REST API.


Steve Siani <alphonse.steve.siani.djissitchi@...>
 

Hi Brian,

you where somehow right because I found that the svcLogic was not able to resolv SDNC DB URL. In OOM APPC, the namespace is added in the name of SDNC container. So the result was appc-host.NAMESPACE. I removed the NAMESPACE and my test can go one step ahead.

But I still have some issue. Below is the log.

2019-05-15T19:54:00,891 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 76 (call)
2019-05-15T19:54:00,915 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=StopVM_VM, mode=sync, version=2.0.0, md5sum=08a100251d4498556a8896c9eac11918]
2019-05-15T19:54:00,915 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (switch)
2019-05-15T19:54:00,915 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 34 (block)
2019-05-15T19:54:00,915 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 35 (set)
2019-05-15T19:54:00,916 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 36 (switch)
2019-05-15T19:54:00,916 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 37 (set)
2019-05-15T19:54:00,925 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 39 (for)
2019-05-15T19:54:00,926 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 40 (switch)
2019-05-15T19:54:00,926 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 41 (execute)
2019-05-15T19:54:00,926 | INFO  | appc-dispatcher-5 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0056I APPC IAAS Adapter stop server requested
2019-05-15T19:54:00,927 | ERROR | appc-dispatcher-5 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0045E One or more properties for [stopServer] are missing, null, or empty.  They are:
'org.onap.appc.instance.url'
2019-05-15T19:54:00,927 | ERROR | appc-dispatcher-5 | StopServer                       | 503 - appc-iaas-adapter - 1.4.4 | APPC0112E Server APPC (id n/a) failed to stop during n/a phase, reason Check Parameters:APPC0045E One or more properties for [stopServer] are missing, null, or empty.  They are:
'org.onap.appc.instance.url'
2019-05-15T19:54:00,927 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 42 (switch)
2019-05-15T19:54:00,928 | INFO  | appc-dispatcher-5 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome ("") not found, keys are { (CONTEXT_NOT_FOUND) (SUCCESS) (ERROR)}
2019-05-15T19:54:00,928 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 86 (block)
2019-05-15T19:54:00,930 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 87 (block)
2019-05-15T19:54:00,937 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 88 (record)
2019-05-15T19:54:00,938 | ERROR | appc-dispatcher-5 | message-log                      | 223 - org.onap.ccsdk.sli.core.sli-recording - 0.3.3 |
2019-05-15T19:54:00,938 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 89 (execute)
2019-05-15T19:54:00,938 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 90 (execute)
2019-05-15T19:54:00,939 | INFO  | appc-dispatcher-5 | EventSenderDmaapImpl             | 458 - appc-common-bundle - 1.4.4 | Posting Message [873aacdf-1d85-4e07-8deb-7815776bbd35 - {"eventHeader":{"eventTime":"Wed May 15 19:54:00 UTC 2019","apiVer":"2.00","eventId":"873aacdf-1d85-4e07-8deb-7815776bbd35"},"eventStatus":{"code":501,"reason":"Check Parameters:APPC0045E One or more properties for [stopServer] are missing, null, or empty.  They are:"}}]
2019-05-15T19:54:00,939 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 91 (set)
2019-05-15T19:54:00,940 | INFO  | appc-dispatcher-5 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 92 (return)

Any idea please?

Thanks!