Topics

APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC #appc

Brian Freeman
 

It looks like its the encoding that is not quite right.

 

 

2019-05-16 14:00:45,830 | INFO  | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0057I APPC IAAS Adapter start server requested

2019-05-16 14:00:45,831 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.instance.url" =""

2019-05-16 14:00:45,831 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.provider.name" ="OpenStack"

2019-05-16 14:00:45,832 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.identity.url" =""

 

Can you try “\\””  (double slash encoding) ?

 

Taka – what is the secret ?

 

Brian

 

 

 

{

    "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": "Start",

        "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: Alexis de Talhouët <adetalhouet89@...>
Sent: Thursday, May 16, 2019 10:03 AM
To: onap-discuss <onap-discuss@...>; FREEMAN, BRIAN D <bf1936@...>
Cc: alphonse.steve.siani.djissitchi@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Brian, Team,

 

We are following this example. Here is our payload

 

{

   "input": {

       "common-header": {

           "timestamp": {{timestamp}},

           "api-ver": "2.00",

           "originator-id": "appc",

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

           "flags": {

               "mode": "NORMAL",

               "force": "FALSE"

           }

       },

       "action": "Start",

       "action-identifiers": {

           "vnf-id": "VNF_demo_steve",

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

       },

   }

}

 

And here are the DG logs in APPC:

 

2019-05-16 14:00:45,818 | INFO  | ppc-dispatcher-6 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=VM_Start, mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc]

2019-05-16 14:00:45,818 | INFO  | ppc-dispatcher-6 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (execute)

2019-05-16 14:00:45,819 | DEBUG | ppc-dispatcher-6 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Executing node 1

2019-05-16 14:00:45,819 | DEBUG | ppc-dispatcher-6 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Executing node executor for node type execute - org.onap.ccsdk.sli.core.sli.provider.ExecuteNodeExecutor

2019-05-16 14:00:45,819 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | execute node encountered - looking for plugin org.onap.appc.adapter.iaas.ProviderAdapter

2019-05-16 14:00:45,820 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.instance.url = (atom<CONTEXT_VAR> (variable-term vm-id)) resolves to

2019-05-16 14:00:45,826 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.provider.name = (atom<STRING> OpenStack) resolves to OpenStack

2019-05-16 14:00:45,829 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.identity.url = (atom<CONTEXT_VAR> (variable-term identity-url)) resolves to

2019-05-16 14:00:45,830 | INFO  | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0057I APPC IAAS Adapter start server requested

2019-05-16 14:00:45,831 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.instance.url" =""

2019-05-16 14:00:45,831 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.provider.name" ="OpenStack"

2019-05-16 14:00:45,832 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.identity.url" =""

2019-05-16 14:00:45,836 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | Service Logic Context: Status (success), Attribute count (14)

Attribute (input.common-header.api-ver), value (2.00)

Attribute (input.action-identifiers.service-instance-id), value ()

Attribute (input.action-identifiers.vserver-id), value (c82153dc-8d84-4e69-9673-5e0a60030779)

Attribute (input.common-header.sub-request-id), value ()

Attribute (input.common-header.request-id), value (873aacdf-1d85-4e07-8deb-7815776bbd35)

Attribute (input.common-header.timestamp), value (2019-05-16T14:00:43.177Z)

Attribute (currentGraph), value (SvcLogicGraph [module=APPC, rpc=VM_Start, mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc])

Attribute (input.action-identifiers.vnf-id), value (VNF_demo_steve)

Attribute (input.action-identifiers.vnfc-name), value ()

Attribute (input.action), value (Start)

Attribute (input.action-identifiers.vf-module-id), value ()

Attribute (input.common-header.originator-id), value (appc)

Attribute (isBwcMode), value (false)

 

For some reason, it’s not picking up the vm-id that is passed within the request, through the payload.

 

Are we missing something?

 

 



On May 15, 2019, at 4:44 PM, Brian <bf1936@...> wrote:

 

 

Hoepfully your payload is matching one of these examples

 

 

Brian

 

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of FREEMAN, BRIAN D
Sent: Wednesday, May 15, 2019 4:37 PM
To: onap-discuss@...; alphonse.steve.siani.djissitchi@...
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.

I’m not an expert at APPC but it looks like the input doesnt have the $vm-id (or its variation) defined (not sure which version of the Stop DG you are running).

You need to find the input variable to your REST call that matches the variable in the DG.

 

 

Brian

 

 

appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json:        "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\

 

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Steve Siani
Sent: Wednesday, May 15, 2019 4:01 PM
To: FREEMAN, BRIAN D <bf1936@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

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!

 

 

Alexis de Talhouet
 

Taka, I understand you ran testing, I would need to look into that. Also, note, I’m using Casablanca.

Attribute (input.common-header.api-ver), value (2.00)
Attribute (input.action-identifiers.service-instance-id), value ()
Attribute (input.action-identifiers.vserver-id), value (c82153dc-8d84-4e69-9673-5e0a60030779)
Attribute (input.common-header.sub-request-id), value ()
Attribute (input.common-header.request-id), value (873aacdf-1d85-4e07-8deb-7815776bbd35)
Attribute (input.common-header.timestamp), value (2019-05-16T14:00:43.177Z)
Attribute (currentGraph), value (SvcLogicGraph [module=APPC, rpc=VM_Start, mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc])
Attribute (input.action-identifiers.vnf-id), value (VNF_demo_steve)
Attribute (input.action-identifiers.vnfc-name), value ()
Attribute (input.action), value (Start)
Attribute (input.action-identifiers.vf-module-id), value ()
Attribute (input.common-header.originator-id), value (appc)
Attribute (isBwcMode), value (false)


It looks like `input.payload`, which is a JSON, isn’t converted to SLI ctx. `vm-id` that is looked for

2019-05-16 14:00:45,820 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.instance.url = (atom<CONTEXT_VAR> (variable-term vm-id)) resolves to

 isn’t within the context at all. I tweaked the DG to run a jsonStringToCtx using `input.payload` and then it worked. I also had to change vm-id to the output of jsonStringToCtx.vm-id…

But if there is a recipe I missed, I’d love to hear about it.

Thanks,
Alexis

Taka Cho
 

It sounds like indentity-url is required… need to check the “secret” code

 

Taka

 

From: FREEMAN, BRIAN D
Sent: Thursday, May 16, 2019 10:37 AM
To: Alexis de Talhouët <adetalhouet89@...>; onap-discuss <onap-discuss@...>
Cc: alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

It looks like its the encoding that is not quite right.

 

 

2019-05-16 14:00:45,830 | INFO  | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0057I APPC IAAS Adapter start server requested

2019-05-16 14:00:45,831 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.instance.url" =""

2019-05-16 14:00:45,831 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.provider.name" ="OpenStack"

2019-05-16 14:00:45,832 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.identity.url" =""

 

Can you try “\\””  (double slash encoding) ?

 

Taka – what is the secret ?

 

Brian

 

 

 

{

    "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": "Start",

        "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: Alexis de Talhouët <adetalhouet89@...>
Sent: Thursday, May 16, 2019 10:03 AM
To: onap-discuss <onap-discuss@...>; FREEMAN, BRIAN D <bf1936@...>
Cc: alphonse.steve.siani.djissitchi@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Brian, Team,

 

We are following this example. Here is our payload

 

{

   "input": {

       "common-header": {

           "timestamp": {{timestamp}},

           "api-ver": "2.00",

           "originator-id": "appc",

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

           "flags": {

               "mode": "NORMAL",

               "force": "FALSE"

           }

       },

       "action": "Start",

       "action-identifiers": {

           "vnf-id": "VNF_demo_steve",

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

       },

   }

}

 

And here are the DG logs in APPC:

 

2019-05-16 14:00:45,818 | INFO  | ppc-dispatcher-6 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=VM_Start, mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc]

2019-05-16 14:00:45,818 | INFO  | ppc-dispatcher-6 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (execute)

2019-05-16 14:00:45,819 | DEBUG | ppc-dispatcher-6 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Executing node 1

2019-05-16 14:00:45,819 | DEBUG | ppc-dispatcher-6 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Executing node executor for node type execute - org.onap.ccsdk.sli.core.sli.provider.ExecuteNodeExecutor

2019-05-16 14:00:45,819 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | execute node encountered - looking for plugin org.onap.appc.adapter.iaas.ProviderAdapter

2019-05-16 14:00:45,820 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.instance.url = (atom<CONTEXT_VAR> (variable-term vm-id)) resolves to

2019-05-16 14:00:45,826 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.provider.name = (atom<STRING> OpenStack) resolves to OpenStack

2019-05-16 14:00:45,829 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.identity.url = (atom<CONTEXT_VAR> (variable-term identity-url)) resolves to

2019-05-16 14:00:45,830 | INFO  | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | APPC0057I APPC IAAS Adapter start server requested

2019-05-16 14:00:45,831 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.instance.url" =""

2019-05-16 14:00:45,831 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.provider.name" ="OpenStack"

2019-05-16 14:00:45,832 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | PAL0004I Property "org.onap.appc.identity.url" =""

2019-05-16 14:00:45,836 | DEBUG | ppc-dispatcher-6 | ProviderOperation                | 503 - appc-iaas-adapter - 1.4.4 | Service Logic Context: Status (success), Attribute count (14)

Attribute (input.common-header.api-ver), value (2.00)

Attribute (input.action-identifiers.service-instance-id), value ()

Attribute (input.action-identifiers.vserver-id), value (c82153dc-8d84-4e69-9673-5e0a60030779)

Attribute (input.common-header.sub-request-id), value ()

Attribute (input.common-header.request-id), value (873aacdf-1d85-4e07-8deb-7815776bbd35)

Attribute (input.common-header.timestamp), value (2019-05-16T14:00:43.177Z)

Attribute (currentGraph), value (SvcLogicGraph [module=APPC, rpc=VM_Start, mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc])

Attribute (input.action-identifiers.vnf-id), value (VNF_demo_steve)

Attribute (input.action-identifiers.vnfc-name), value ()

Attribute (input.action), value (Start)

Attribute (input.action-identifiers.vf-module-id), value ()

Attribute (input.common-header.originator-id), value (appc)

Attribute (isBwcMode), value (false)

 

For some reason, it’s not picking up the vm-id that is passed within the request, through the payload.

 

Are we missing something?

 

 

 

On May 15, 2019, at 4:44 PM, Brian <bf1936@...> wrote:

 

 

Hoepfully your payload is matching one of these examples

 

 

Brian

 

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of FREEMAN, BRIAN D
Sent: Wednesday, May 15, 2019 4:37 PM
To: onap-discuss@...; alphonse.steve.siani.djissitchi@...
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.

I’m not an expert at APPC but it looks like the input doesnt have the $vm-id (or its variation) defined (not sure which version of the Stop DG you are running).

You need to find the input variable to your REST call that matches the variable in the DG.

 

 

Brian

 

 

appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_VM_Stop.json:        "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='stopServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\

 

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of Steve Siani
Sent: Wednesday, May 15, 2019 4:01 PM
To: FREEMAN, BRIAN D <bf1936@...>; onap-discuss@...
Subject: Re: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

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!

 

 

Brian Freeman
 

Alexis,

 

Agree you shouldnt have to tweak the DG. Seems like the decoding before calling the DG isnt firing quite right for some reason in your Casablanca instance.

 

Brian

 

 

From: Alexis de Talhouët <adetalhouet89@...>
Sent: Thursday, May 16, 2019 10:59 AM
To: FREEMAN, BRIAN D <bf1936@...>
Cc: onap-discuss <onap-discuss@...>; alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Taka, I understand you ran testing, I would need to look into that. Also, note, I’m using Casablanca.

 

Attribute (input.common-header.api-ver), value (2.00)

Attribute (input.action-identifiers.service-instance-id), value ()

Attribute (input.action-identifiers.vserver-id), value (c82153dc-8d84-4e69-9673-5e0a60030779)

Attribute (input.common-header.sub-request-id), value ()

Attribute (input.common-header.request-id), value (873aacdf-1d85-4e07-8deb-7815776bbd35)

Attribute (input.common-header.timestamp), value (2019-05-16T14:00:43.177Z)

Attribute (currentGraph), value (SvcLogicGraph [module=APPC, rpc=VM_Start, mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc])

Attribute (input.action-identifiers.vnf-id), value (VNF_demo_steve)

Attribute (input.action-identifiers.vnfc-name), value ()

Attribute (input.action), value (Start)

Attribute (input.action-identifiers.vf-module-id), value ()

Attribute (input.common-header.originator-id), value (appc)

Attribute (isBwcMode), value (false)

 

 

It looks like `input.payload`, which is a JSON, isn’t converted to SLI ctx. `vm-id` that is looked for

 

2019-05-16 14:00:45,820 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.instance.url = (atom<CONTEXT_VAR> (variable-term vm-id)) resolves to

 

 isn’t within the context at all. I tweaked the DG to run a jsonStringToCtx using `input.payload` and then it worked. I also had to change vm-id to the output of jsonStringToCtx.vm-id…

 

But if there is a recipe I missed, I’d love to hear about it.

 

Thanks,

Alexis

Alexis de Talhouet
 

Yes, agreed. Using Casablanca 3.0.1-ONAP version of APPC

On May 16, 2019, at 11:01 AM, FREEMAN, BRIAN D <bf1936@...> wrote:

Alexis,
 
Agree you shouldnt have to tweak the DG. Seems like the decoding before calling the DG isnt firing quite right for some reason in your Casablanca instance.
 
Brian
 
 
From: Alexis de Talhouët <adetalhouet89@...> 
Sent: Thursday, May 16, 2019 10:59 AM
To: FREEMAN, BRIAN D <bf1936@...>
Cc: onap-discuss <onap-discuss@...>; alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC
 
Taka, I understand you ran testing, I would need to look into that. Also, note, I’m using Casablanca.
 
Attribute (input.common-header.api-ver), value (2.00)
Attribute (input.action-identifiers.service-instance-id), value ()
Attribute (input.action-identifiers.vserver-id), value (c82153dc-8d84-4e69-9673-5e0a60030779)
Attribute (input.common-header.sub-request-id), value ()
Attribute (input.common-header.request-id), value (873aacdf-1d85-4e07-8deb-7815776bbd35)
Attribute (input.common-header.timestamp), value (2019-05-16T14:00:43.177Z)
Attribute (currentGraph), value (SvcLogicGraph [module=APPC, rpc=VM_Start, mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc])
Attribute (input.action-identifiers.vnf-id), value (VNF_demo_steve)
Attribute (input.action-identifiers.vnfc-name), value ()
Attribute (input.action), value (Start)
Attribute (input.action-identifiers.vf-module-id), value ()
Attribute (input.common-header.originator-id), value (appc)
Attribute (isBwcMode), value (false)
 
 
It looks like `input.payload`, which is a JSON, isn’t converted to SLI ctx. `vm-id` that is looked for
 
2019-05-16 14:00:45,820 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.instance.url = (atom<CONTEXT_VAR> (variable-term vm-id)) resolves to
 
 isn’t within the context at all. I tweaked the DG to run a jsonStringToCtx using `input.payload` and then it worked. I also had to change vm-id to the output of jsonStringToCtx.vm-id…
 
But if there is a recipe I missed, I’d love to hear about it.
 
Thanks,
Alexis

Marco Platania
 

Alexis,

 

Are you using CDT? What is your setup? I ran this fine in the past from Postman:

 

{

  "input": {

    "common-header": {

      "timestamp": "{{serverDate}}",

      "api-ver": "2.05",

      "originator-id": "{{orginatorId}}",

      "request-id": "Postman",

      "sub-request-id": "Postman",

      "flags": {

        "mode": "NORMAL",

        "force": "TRUE",

        "ttl": 36000

      }

    },

    "action": "Restart",

    "action-identifiers": {

      "vnf-id": "{{vnf-id}}",

      "vserver-id":"{{vserver-id}}"

    },

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

  }

}

 

I have a pre-request script like this:

 

// Get the current DateTime

var moment = require('moment');

var date = new Date().toISOString();

var newdate = moment(date).subtract(80, 'minutes').toISOString();

var serverDate = moment(newdate).format('YYYY-MM-DDTHH:mm:ss.SS');

pm.globals.set("serverDate", serverDate+'Z');

 

//Get UUID

var uuid = require('uuid');

var orginatorId = uuid.v4();

pm.globals.set("orginatorId",orginatorId);

 

//Set IDs and payload values

pm.globals.set("vm-id","http://x.y.z.com:8774/v2/3f2aaef74ecb4b19b35e26d0849fe9a2/servers/e7f1db09-ff78-44fc-b256-69095c5556fb");

pm.globals.set("vserver-id","e7f1db09-ff78-44fc-b256-69095c5556fb");

pm.globals.set("vnf-id","17044ef4-e7f3-46a1-af03-e2aa562f23ac");

 

Marco

 

From: <onap-discuss@...> on behalf of Alexis de Talhouet <adetalhouet89@...>
Reply-To: "onap-discuss@..." <onap-discuss@...>, "adetalhouet89@..." <adetalhouet89@...>
Date: Thursday, May 16, 2019 at 11:03 AM
To: BRIAN FREEMAN <bf1936@...>
Cc: onap-discuss <onap-discuss@...>, "alphonse.steve.siani.djissitchi@..." <alphonse.steve.siani.djissitchi@...>, "CHO, TAKAMUNE" <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Yes, agreed. Using Casablanca 3.0.1-ONAP version of APPC



On May 16, 2019, at 11:01 AM, FREEMAN, BRIAN D <bf1936@...> wrote:

 

Alexis,

 

Agree you shouldnt have to tweak the DG. Seems like the decoding before calling the DG isnt firing quite right for some reason in your Casablanca instance.

 

Brian

 

 

From: Alexis de Talhouët <adetalhouet89@...> 
Sent: Thursday, May 16, 2019 10:59 AM
To: FREEMAN, BRIAN D <bf1936@...>
Cc: onap-discuss <onap-discuss@...>; alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Taka, I understand you ran testing, I would need to look into that. Also, note, I’m using Casablanca.

 

Attribute (input.common-header.api-ver), value (2.00)

Attribute (input.action-identifiers.service-instance-id), value ()

Attribute (input.action-identifiers.vserver-id), value (c82153dc-8d84-4e69-9673-5e0a60030779)

Attribute (input.common-header.sub-request-id), value ()

Attribute (input.common-header.request-id), value (873aacdf-1d85-4e07-8deb-7815776bbd35)

Attribute (input.common-header.timestamp), value (2019-05-16T14:00:43.177Z)

Attribute (currentGraph), value (SvcLogicGraph [module=APPC, rpc=VM_Start, mode=sync, version=2.0.0, md5sum=1cd3041dc9487e5abf527ee778af1bdc])

Attribute (input.action-identifiers.vnf-id), value (VNF_demo_steve)

Attribute (input.action-identifiers.vnfc-name), value ()

Attribute (input.action), value (Start)

Attribute (input.action-identifiers.vf-module-id), value ()

Attribute (input.common-header.originator-id), value (appc)

Attribute (isBwcMode), value (false)

 

 

It looks like `input.payload`, which is a JSON, isn’t converted to SLI ctx. `vm-id` that is looked for

 

2019-05-16 14:00:45,820 | DEBUG | ppc-dispatcher-6 | ExecuteNodeExecutor              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Parameter org.onap.appc.instance.url = (atom<CONTEXT_VAR> (variable-term vm-id)) resolves to

 

 isn’t within the context at all. I tweaked the DG to run a jsonStringToCtx using `input.payload` and then it worked. I also had to change vm-id to the output of jsonStringToCtx.vm-id…

 

But if there is a recipe I missed, I’d love to hear about it.

 

Thanks,

Alexis

 

Alexis de Talhouet
 



On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

Are you using CDT? What is your setup? 


Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:

{
   "input": {
       "common-header": {
           "timestamp": "2019-05-16T14:47:55.449Z",
           "api-ver": "2.00",
           "originator-id": "appc",
           "request-id": "873aacdf-1d85-4e07-8deb-7815776bbd35",
           "flags": {
               "mode": "NORMAL",
               "force": "FALSE"
           }
       },
       "action": "Start",
       "action-identifiers": {
           "vnf-id": "VNF_demo_steve",
           "vserver-id": "c82153dc-8d84-4e69-9673-5e0a60030779"
       },
    }
}


Alexis de Talhouet
 

Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work.

MariaDB [sdnctl]> select * from VNF_DG_MAPPING;
+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+
| VNF_DG_MAPPING_ID | ACTION  | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME  | DG_VERSION | DG_MODULE |
+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+
|                 1 | Stop    | 2.00        | vm       |             | VM_Stop  | 2.0.0      | APPC      |
|                 2 | Start   | 2.00        | vm       |             | VM_Start | 2.0.0      | APPC      |
|                 3 | Restart | 2.00        | vm       |             | RebootVM | 4.0.0      | APPC      |
+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org <adetalhouet89=gmail.com@...> wrote:



On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

Are you using CDT? What is your setup? 


Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:

{
   "input": {
       "common-header": {
           "timestamp": "2019-05-16T14:47:55.449Z",
           "api-ver": "2.00",
           "originator-id": "appc",
           "request-id": "873aacdf-1d85-4e07-8deb-7815776bbd35",
           "flags": {
               "mode": "NORMAL",
               "force": "FALSE"
           }
       },
       "action": "Start",
       "action-identifiers": {
           "vnf-id": "VNF_demo_steve",
           "vserver-id": "c82153dc-8d84-4e69-9673-5e0a60030779"
       },
    }
}


<Screen Shot 2019-05-16 at 11.13.10 AM.png>

Marco Platania
 

Alexis,

 

I remember I had to make a few manual changes to work with OpenStack actions. I’m copying parts of an email that I sent to APPC Team a few months ago. This was tested with Casablanca.

 

“I was able to run Start/Stop VM using the APPC LCM APIs. The main issue is that, if we want to use APPC LCM APIs against VMs, we must add a VNFC element in AAI and relate it to a vServer. Sort of a pain, I need to see how this can be done with heatbridge.” à this is available now, remember to run heatbridge

 

“That step wasn’t enough though. I dug the APPC DGs, code and debug logs, and saw that queries against PROTOCOL_REFERENCE table were returning empty results. I might have messed up a little bit because I was trying multiple things, including deleting rows from PROTOCOL_REFERENCE and start over, but I guess that CDT sometimes doesn’t push records correctly to that table. It seems that the first time you set a VNF with CDT, PROTOCOL_REFERENCE is updated correctly, but if you try to update an existing VNF, PROTOCOL_REFERENCE doesn’t always get updated as expected. I saw this in the past for another test, not sure if you encountered this problem in your local deployments.”

 

“On a side note, CDT doesn’t allow to specify VNFCs and VMs when setting up VNFs that use OpenStack actions. I had to select “ConfigModify” to set up VNFC and VM info, then I switched to “OpenStack Actions” and APPC seemed to remember VNFC and VM info. I’m not sure whether this is really necessary though, my guess is that VNFC and VM info can be obtained from AAI, so I don’t need to do anything in CDT. I was following the documentation in read the docs, which is a little outdated, perhaps this is no longer required in Casablanca.”  à not sure this is needed, it may have been myself playing too much

 

Note the xml file attached. I think I had to use the nf-type in AAI instead of VM or VNF.

 

Marco

 

From: Alexis de Talhouët <adetalhouet89@...>
Date: Thursday, May 16, 2019 at 11:16 AM
To: onap-discuss <onap-discuss@...>, Alexis de Talhouët <adetalhouet89@...>

Cc: "PLATANIA, MARCO (MARCO)" <platania@...>, BRIAN FREEMAN <bf1936@...>, "alphonse.steve.siani.djissitchi@..." <alphonse.steve.siani.djissitchi@...>, "CHO, TAKAMUNE" <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work.

 

MariaDB [sdnctl]> select * from VNF_DG_MAPPING;

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

| VNF_DG_MAPPING_ID | ACTION  | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME  | DG_VERSION | DG_MODULE |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

|                 1 | Stop    | 2.00        | vm       |             | VM_Stop  | 2.0.0      | APPC      |

|                 2 | Start   | 2.00        | vm       |             | VM_Start | 2.0.0      | APPC      |

|                 3 | Restart | 2.00        | vm       |             | RebootVM | 4.0.0      | APPC      |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+



On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org <adetalhouet89=gmail.com@...> wrote:

 

 



On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

 

Are you using CDT? What is your setup? 

 

 

Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:

 

{

   "input": {

       "common-header": {

           "timestamp": "2019-05-16T14:47:55.449Z",

           "api-ver": "2.00",

           "originator-id": "appc",

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

           "flags": {

               "mode": "NORMAL",

               "force": "FALSE"

           }

       },

       "action": "Start",

       "action-identifiers": {

           "vnf-id": "VNF_demo_steve",

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

       },

    }

}

 

 

<Screen Shot 2019-05-16 at 11.13.10 AM.png>

 

Taka Cho
 

From: Alexis de Talhouët <adetalhouet89@...>
Sent: Thursday, May 16, 2019 11:17 AM
To: onap-discuss <onap-discuss@...>; Alexis de Talhouët <adetalhouet89@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work.

 

MariaDB [sdnctl]> select * from VNF_DG_MAPPING;

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

| VNF_DG_MAPPING_ID | ACTION  | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME  | DG_VERSION | DG_MODULE |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

|                 1 | Stop    | 2.00        | vm       |             | VM_Stop  | 2.0.0      | APPC      |

|                 2 | Start   | 2.00        | vm       |             | VM_Start | 2.0.0      | APPC      |

|                 3 | Restart | 2.00        | vm       |             | RebootVM | 4.0.0      | APPC      |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+



On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org <adetalhouet89=gmail.com@...> wrote:

 

 



On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

 

Are you using CDT? What is your setup? 

 

 

Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:

 

{

   "input": {

       "common-header": {

           "timestamp": "2019-05-16T14:47:55.449Z",

           "api-ver": "2.00",

           "originator-id": "appc",

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

           "flags": {

               "mode": "NORMAL",

               "force": "FALSE"

           }

       },

       "action": "Start",

       "action-identifiers": {

           "vnf-id": "VNF_demo_steve",

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

       },

    }

}

 

 

<Screen Shot 2019-05-16 at 11.13.10 AM.png>

 

Alexis de Talhouet
 



On May 16, 2019, at 11:27 AM, CHO, TAKAMUNE <tc012c@...> wrote:

The default value for VNF_DG_MAPPING should be pre-loaded when doing deployment…


Good to hear :) we’ll look at logs as maybe this part failed for us.

Thanks

Taka Cho
 

I mean the pre-load db is part of deployment not a manual process…

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of CHO, TAKAMUNE
Sent: Thursday, May 16, 2019 11:27 AM
To: Alexis de Talhouët <adetalhouet89@...>; onap-discuss <onap-discuss@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...
Subject: Re: APPC -> 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.

The default value for VNF_DG_MAPPING should be pre-loaded when doing deployment…

 

https://gerrit.onap.org/r/gitweb?p=appc/deployment.git;a=blob;f=installation/appc/src/main/resources/sqlData.dump;h=e198a7598e103ee3a778c69227d8d0cc47b8468e;hb=HEAD

 

 

 

From: Alexis de Talhouët <adetalhouet89@...>
Sent: Thursday, May 16, 2019 11:17 AM
To: onap-discuss <onap-discuss@...>; Alexis de Talhouët <adetalhouet89@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work.

 

MariaDB [sdnctl]> select * from VNF_DG_MAPPING;

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

| VNF_DG_MAPPING_ID | ACTION  | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME  | DG_VERSION | DG_MODULE |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

|                 1 | Stop    | 2.00        | vm       |             | VM_Stop  | 2.0.0      | APPC      |

|                 2 | Start   | 2.00        | vm       |             | VM_Start | 2.0.0      | APPC      |

|                 3 | Restart | 2.00        | vm       |             | RebootVM | 4.0.0      | APPC      |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

 

On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org <adetalhouet89=gmail.com@...> wrote:

 

 

 

On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

 

Are you using CDT? What is your setup? 

 

 

Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:

 

{

   "input": {

       "common-header": {

           "timestamp": "2019-05-16T14:47:55.449Z",

           "api-ver": "2.00",

           "originator-id": "appc",

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

           "flags": {

               "mode": "NORMAL",

               "force": "FALSE"

           }

       },

       "action": "Start",

       "action-identifiers": {

           "vnf-id": "VNF_demo_steve",

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

       },

    }

}

 

 

<Screen Shot 2019-05-16 at 11.13.10 AM.png>

 

Alexis de Talhouet
 

Marco,

The functionality works fine for us, by hardcoding the vm-id in the DG and adding the raw in the DB, I was able to start/stop/restart. 

The two main pain points are:
- (potentially fixed) inserting raw to the DB table. But that should be done automatically as Taka pointed out, so we’ll look at what happened during the table load.
- (ongoing) the vm-id isn’t being picked up by the DG, even though it’s provided in the payload. This one is still ongoing, we need to figure it out.

Thanks,
Alexis

On May 16, 2019, at 11:24 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

Alexis,
 
I remember I had to make a few manual changes to work with OpenStack actions. I’m copying parts of an email that I sent to APPC Team a few months ago. This was tested with Casablanca.
 
“I was able to run Start/Stop VM using the APPC LCM APIs. The main issue is that, if we want to use APPC LCM APIs against VMs, we must add a VNFC element in AAI and relate it to a vServer. Sort of a pain, I need to see how this can be done with heatbridge.” à this is available now, remember to run heatbridge
 
“That step wasn’t enough though. I dug the APPC DGs, code and debug logs, and saw that queries against PROTOCOL_REFERENCE table were returning empty results. I might have messed up a little bit because I was trying multiple things, including deleting rows from PROTOCOL_REFERENCE and start over, but I guess that CDT sometimes doesn’t push records correctly to that table. It seems that the first time you set a VNF with CDT, PROTOCOL_REFERENCE is updated correctly, but if you try to update an existing VNF, PROTOCOL_REFERENCE doesn’t always get updated as expected. I saw this in the past for another test, not sure if you encountered this problem in your local deployments.”
 
“On a side note, CDT doesn’t allow to specify VNFCs and VMs when setting up VNFs that use OpenStack actions. I had to select “ConfigModify” to set up VNFC and VM info, then I switched to “OpenStack Actions” and APPC seemed to remember VNFC and VM info. I’m not sure whether this is really necessary though, my guess is that VNFC and VM info can be obtained from AAI, so I don’t need to do anything in CDT. I was following the documentation in read the docs, which is a little outdated, perhaps this is no longer required in Casablanca.”  à not sure this is needed, it may have been myself playing too much
 
Note the xml file attached. I think I had to use the nf-type in AAI instead of VM or VNF.
 
Marco 
 
From: Alexis de Talhouët <adetalhouet89@...>
Date: Thursday, May 16, 2019 at 11:16 AM
To: onap-discuss <onap-discuss@...>, Alexis de Talhouët <adetalhouet89@...>

Cc: "PLATANIA, MARCO (MARCO)" <platania@...>, BRIAN FREEMAN <bf1936@...>, "alphonse.steve.siani.djissitchi@..." <alphonse.steve.siani.djissitchi@...>, "CHO, TAKAMUNE" <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC
 
Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work.
 
MariaDB [sdnctl]> select * from VNF_DG_MAPPING;
+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+
| VNF_DG_MAPPING_ID | ACTION  | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME  | DG_VERSION | DG_MODULE |
+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+
|                 1 | Stop    | 2.00        | vm       |             | VM_Stop  | 2.0.0      | APPC      |
|                 2 | Start   | 2.00        | vm       |             | VM_Start | 2.0.0      | APPC      |
|                 3 | Restart | 2.00        | vm       |             | RebootVM | 4.0.0      | APPC      |
+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+


On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org <adetalhouet89=gmail.com@...> wrote:
 
 


On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:
 
Are you using CDT? What is your setup? 
 
 
Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:
 
{
   "input": {
       "common-header": {
           "timestamp": "2019-05-16T14:47:55.449Z",
           "api-ver": "2.00",
           "originator-id": "appc",
           "request-id": "873aacdf-1d85-4e07-8deb-7815776bbd35",
           "flags": {
               "mode": "NORMAL",
               "force": "FALSE"
           }
       },
       "action": "Start",
       "action-identifiers": {
           "vnf-id": "VNF_demo_steve",
           "vserver-id": "c82153dc-8d84-4e69-9673-5e0a60030779"
       },
    }
}
 
 
<Screen Shot 2019-05-16 at 11.13.10 AM.png>
 
<vm_actions.xlsx>

Steve Siani
 

Taka,
 
This preload script is not present in OOM. It seems like it was only provided for manual deployment.
 
 

----- Original message -----
From: "CHO, TAKAMUNE" <tc012c@...>
To: "onap-discuss@..." <onap-discuss@...>, "CHO, TAKAMUNE" <tc012c@...>, "Alexis de Talhouët"<adetalhouet89@...>
Cc: "PLATANIA, MARCO" <platania@...>, "FREEMAN, BRIAN D" <bf1936@...>, "alphonse.steve.siani.djissitchi@..." <alphonse.steve.siani.djissitchi@...>
Subject: [EXTERNAL] RE: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC
Date: Thu, May 16, 2019 11:31 AM
 

I mean the pre-load db is part of deployment not a manual process…

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of CHO, TAKAMUNE
Sent: Thursday, May 16, 2019 11:27 AM
To: Alexis de Talhouët <adetalhouet89@...>; onap-discuss <onap-discuss@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...
Subject: Re: APPC -> 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.

The default value for VNF_DG_MAPPING should be pre-loaded when doing deployment…

 

https://gerrit.onap.org/r/gitweb?p=appc/deployment.git;a=blob;f=installation/appc/src/main/resources/sqlData.dump;h=e198a7598e103ee3a778c69227d8d0cc47b8468e;hb=HEAD

 

 

 

From: Alexis de Talhouët <adetalhouet89@...>
Sent: Thursday, May 16, 2019 11:17 AM
To: onap-discuss <onap-discuss@...>; Alexis de Talhouët <adetalhouet89@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work.

 

MariaDB [sdnctl]> select * from VNF_DG_MAPPING;

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

| VNF_DG_MAPPING_ID | ACTION  | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME  | DG_VERSION | DG_MODULE |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

|                 1 | Stop    | 2.00        | vm       |             | VM_Stop  | 2.0.0      | APPC      |

|                 2 | Start   | 2.00        | vm       |             | VM_Start | 2.0.0      | APPC      |

|                 3 | Restart | 2.00        | vm       |             | RebootVM | 4.0.0      | APPC      |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

 

On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org <adetalhouet89=gmail.com@...> wrote:

 

 

 

On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

 

Are you using CDT? What is your setup? 

 

 

Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:

 

{

   "input": {

       "common-header": {

           "timestamp": "2019-05-16T14:47:55.449Z",

           "api-ver": "2.00",

           "originator-id": "appc",

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

           "flags": {

               "mode": "NORMAL",

               "force": "FALSE"

           }

       },

       "action": "Start",

       "action-identifiers": {

           "vnf-id": "VNF_demo_steve",

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

       },

    }

}

 

 

<Screen Shot 2019-05-16 at 11.13.10 AM.png>

 

 

Steve Siani
 

My bad!
 
This is loaded in APPCCTL database.
 

----- Original message -----
From: Alphonse Steve Siani Djissitchi/Canada/IBM
To: tc012c@...
Cc: adetalhouet89@..., bf1936@..., onap-discuss@..., platania@..., tc012c@...
Subject: Re: [EXTERNAL] RE: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC
Date: Thu, May 16, 2019 11:43 AM
 
Taka,
 
This preload script is not present in OOM. It seems like it was only provided for manual deployment.
 
 
----- Original message -----
From: "CHO, TAKAMUNE" <tc012c@...>
To: "onap-discuss@..." <onap-discuss@...>, "CHO, TAKAMUNE" <tc012c@...>, "Alexis de Talhouët"<adetalhouet89@...>
Cc: "PLATANIA, MARCO" <platania@...>, "FREEMAN, BRIAN D" <bf1936@...>, "alphonse.steve.siani.djissitchi@..." <alphonse.steve.siani.djissitchi@...>
Subject: [EXTERNAL] RE: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC
Date: Thu, May 16, 2019 11:31 AM
 

I mean the pre-load db is part of deployment not a manual process…

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of CHO, TAKAMUNE
Sent: Thursday, May 16, 2019 11:27 AM
To: Alexis de Talhouët <adetalhouet89@...>; onap-discuss <onap-discuss@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...
Subject: Re: APPC -> 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.

The default value for VNF_DG_MAPPING should be pre-loaded when doing deployment…

 

https://gerrit.onap.org/r/gitweb?p=appc/deployment.git;a=blob;f=installation/appc/src/main/resources/sqlData.dump;h=e198a7598e103ee3a778c69227d8d0cc47b8468e;hb=HEAD

 

 

 

From: Alexis de Talhouët <adetalhouet89@...>
Sent: Thursday, May 16, 2019 11:17 AM
To: onap-discuss <onap-discuss@...>; Alexis de Talhouët <adetalhouet89@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work.

 

MariaDB [sdnctl]> select * from VNF_DG_MAPPING;

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

| VNF_DG_MAPPING_ID | ACTION  | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME  | DG_VERSION | DG_MODULE |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

|                 1 | Stop    | 2.00        | vm       |             | VM_Stop  | 2.0.0      | APPC      |

|                 2 | Start   | 2.00        | vm       |             | VM_Start | 2.0.0      | APPC      |

|                 3 | Restart | 2.00        | vm       |             | RebootVM | 4.0.0      | APPC      |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

 

On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org <adetalhouet89=gmail.com@...> wrote:

 

 

 

On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

 

Are you using CDT? What is your setup? 

 

 

Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:

 

{

   "input": {

       "common-header": {

           "timestamp": "2019-05-16T14:47:55.449Z",

           "api-ver": "2.00",

           "originator-id": "appc",

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

           "flags": {

               "mode": "NORMAL",

               "force": "FALSE"

           }

       },

       "action": "Start",

       "action-identifiers": {

           "vnf-id": "VNF_demo_steve",

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

       },

    }

}

 

 

<Screen Shot 2019-05-16 at 11.13.10 AM.png>

 

 
 

Taka Cho
 

Sdnctl db.

 

The script is triggered from APPC container once APPC and DB all the container clustering are ready.

 

From: Alphonse Steve Siani Djissitchi <Alphonse.Steve.Siani.Djissitchi@...>
Sent: Thursday, May 16, 2019 11:49 AM
To: CHO, TAKAMUNE <tc012c@...>
Cc: adetalhouet89@...; FREEMAN, BRIAN D <bf1936@...>; onap-discuss@...; PLATANIA, MARCO <platania@...>; CHO, TAKAMUNE <tc012c@...>
Subject: Re: RE: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

My bad!

 

This is loaded in APPCCTL database.

 

----- Original message -----
From: Alphonse Steve Siani Djissitchi/Canada/IBM
To: tc012c@...
Cc: adetalhouet89@..., bf1936@..., onap-discuss@..., platania@..., tc012c@...
Subject: Re: [EXTERNAL] RE: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC
Date: Thu, May 16, 2019 11:43 AM
 

Taka,

 

This preload script is not present in OOM. It seems like it was only provided for manual deployment.

 

 

----- Original message -----
From: "CHO, TAKAMUNE" <tc012c@...>
To: "onap-discuss@..." <onap-discuss@...>, "CHO, TAKAMUNE" <tc012c@...>, "Alexis de Talhouët"<adetalhouet89@...>
Cc: "PLATANIA, MARCO" <platania@...>, "FREEMAN, BRIAN D" <bf1936@...>, "alphonse.steve.siani.djissitchi@..." <alphonse.steve.siani.djissitchi@...>
Subject: [EXTERNAL] RE: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC
Date: Thu, May 16, 2019 11:31 AM
 

I mean the pre-load db is part of deployment not a manual process…

 

From: onap-discuss@... <onap-discuss@...> On Behalf Of CHO, TAKAMUNE
Sent: Thursday, May 16, 2019 11:27 AM
To: Alexis de Talhouët <adetalhouet89@...>; onap-discuss <onap-discuss@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...
Subject: Re: APPC -> 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.

The default value for VNF_DG_MAPPING should be pre-loaded when doing deployment…

 

https://gerrit.onap.org/r/gitweb?p=appc/deployment.git;a=blob;f=installation/appc/src/main/resources/sqlData.dump;h=e198a7598e103ee3a778c69227d8d0cc47b8468e;hb=HEAD

 

 

 

From: Alexis de Talhouët <adetalhouet89@...>
Sent: Thursday, May 16, 2019 11:17 AM
To: onap-discuss <onap-discuss@...>; Alexis de Talhouët <adetalhouet89@...>
Cc: PLATANIA, MARCO <platania@...>; FREEMAN, BRIAN D <bf1936@...>; alphonse.steve.siani.djissitchi@...; CHO, TAKAMUNE <tc012c@...>
Subject: Re: APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Also, I don’t know if it’s normal, but we had to add this in the sdnctl DB of appc to make it work.

 

MariaDB [sdnctl]> select * from VNF_DG_MAPPING;

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

| VNF_DG_MAPPING_ID | ACTION  | API_VERSION | VNF_TYPE | VNF_VERSION | DG_NAME  | DG_VERSION | DG_MODULE |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

|                 1 | Stop    | 2.00        | vm       |             | VM_Stop  | 2.0.0      | APPC      |

|                 2 | Start   | 2.00        | vm       |             | VM_Start | 2.0.0      | APPC      |

|                 3 | Restart | 2.00        | vm       |             | RebootVM | 4.0.0      | APPC      |

+-------------------+---------+-------------+----------+-------------+----------+------------+-----------+

 

On May 16, 2019, at 11:14 AM, Alexis de Talhouet via Lists.Onap.Org <adetalhouet89=gmail.com@...> wrote:

 

 

 

On May 16, 2019, at 11:09 AM, PLATANIA, MARCO (MARCO) <platania@...> wrote:

 

Are you using CDT? What is your setup? 

 

 

Yes, setup as follow in the screenshot. The payload is the following, which seems similar as yours:

 

{

   "input": {

       "common-header": {

           "timestamp": "2019-05-16T14:47:55.449Z",

           "api-ver": "2.00",

           "originator-id": "appc",

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

           "flags": {

               "mode": "NORMAL",

               "force": "FALSE"

           }

       },

       "action": "Start",

       "action-identifiers": {

           "vnf-id": "VNF_demo_steve",

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

       },

    }

}

 

 

<Screen Shot 2019-05-16 at 11.13.10 AM.png>

 

 

 

 

Steve Siani
 

Hi Taka and Marco,

I redeployed APPC with VNF and VNFC populated in AAI.

It seems work better now, but I do not reach IAAS to stop my VM.

Here is the output:
019-05-17T19:07:36,954 | INFO  | qtp2129348868-63 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK
2019-05-17T19:07:36,954 | INFO  | qtp2129348868-63 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vnf-id":"c82153dc-8d84-4e69-9673-5e0a60030779","vnf-name":"viptela_scripts","vnf-type":"vm","service-id":"vnf_demo_app","orchestration-status":"running","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1558112828059","model-invariant-id":"VNF_demo_app_steve","model-version-id":"v1.4.0","relationship-list":{"relationship":[{"related-to":"vnfc","relationship-label":"org.onap.relationships.inventory.BelongsTo","related-link":"/aai/v14/network/vnfcs/vnfc/VNFC_demo_steve","relationship-data":[{"relationship-key":"vnfc.vnfc-name","relationship-value":"VNFC_demo_steve"}]},{"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-17T19:07:37,049 | INFO  | qtp2129348868-63 | metrics                          | 458 - appc-common-bundle - 1.4.4 | APPC0128I Operation "DEFAULT" for VNF type "null" from Source "appc" with RequestID "84db3293-6a8c-4e37-9a55-02d3b8f15a50" on "A&AI" with action "query" ended in 14296 ms with result "COMPLETE"
2019-05-17T19:07:37,049 | INFO  | qtp2129348868-63 | RequestValidatorImpl             | 458 - appc-common-bundle - 1.4.4 | AAIResponse: SUCCESS
2019-05-17T19:07:37,217 | INFO  | qtp2129348868-63 | WorkFlowManagerImpl              | 458 - appc-common-bundle - 1.4.4 | DG resolver configuration data has expired - initiating refresh
2019-05-17T19:07:37,337 | INFO  | qtp2129348868-63 | WorkFlowManagerImpl              | 458 - appc-common-bundle - 1.4.4 | DG resolver configuration data has been refreshed successfully
2019-05-17T19:07:37,552 | INFO  | qtp2129348868-63 | CommandTask                      | 458 - appc-common-bundle - 1.4.4 | AAIService from bundlecontext
2019-05-17T19:07:37,556 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Fetching service logic from data store
2019-05-17T19:07:37,601 | INFO  | qtp2129348868-63 | audit                            | 458 - appc-common-bundle - 1.4.4 | APPC0090A Operation "Stop" for VNF type "c82153dc-8d84-4e69-9673-5e0a60030779" from Source "appc" with RequestID "1055593e-d304-4c45-997f-d424726a0df5" was started at "2019-05-17T19:07:22Z" and ended at "2019-05-17T19:07:37Z" with status code "100"
2019-05-17T19:07:37,601 | INFO  | qtp2129348868-63 | metrics                          | 458 - appc-common-bundle - 1.4.4 | APPC0128I Operation "DEFAULT" for VNF type "c82153dc-8d84-4e69-9673-5e0a60030779" from Source "appc" with RequestID "1484f674-0d0f-4be4-9faa-92078576aaa5" on "APPC" with action "Stop" ended in 14952 ms with result "COMPLETE"
2019-05-17T19:07:37,602 | INFO  | qtp2129348868-63 | AppcProviderLcm                  | 458 - appc-common-bundle - 1.4.4 | Execute of 'ActionIdentifiers{getVnfId=c82153dc-8d84-4e69-9673-5e0a60030779, getVserverId=c82153dc-8d84-4e69-9673-5e0a60030779, augmentations={}}' finished with status 100. Reason: ACCEPTED - request accepted
2019-05-17T19:07:37,613 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=DGOrchestrator, mode=sync, version=4.0.0, md5sum=0dee53d30a45ac3a692d17f030f87587]
2019-05-17T19:07:37,613 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (block)
2019-05-17T19:07:37,613 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 2 (call)
2019-05-17T19:07:37,626 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=setInputParams, mode=sync, version=4.0.0, md5sum=3c064381db25f6cbfa8bf197cbbb4891]
2019-05-17T19:07:37,635 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (block)
2019-05-17T19:07:37,636 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 2 (set)
2019-05-17T19:07:37,638 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 3 (set)
2019-05-17T19:07:37,648 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 4 (execute)
2019-05-17T19:07:37,684 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (failure)}
2019-05-17T19:07:37,684 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)}
2019-05-17T19:07:37,684 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 6 (execute)
2019-05-17T19:07:37,684 | INFO  | appc-dispatcher-2 | JSONTool                         | 508 - org.onap.sdnc.config.generator - 1.4.4 | Added property: vm-id: http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:07:37,685 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)}
2019-05-17T19:07:37,685 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (not-found) (failure)}
2019-05-17T19:07:37,685 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 11 (set)
2019-05-17T19:07:37,696 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 12 (switch)
2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 14 (set)
2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 15 (switch)
2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 18 (switch)
2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (c82153dc-8d84-4e69-9673-5e0a60030779) not found, keys are { ("") (Other)}
2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 19 (block)
2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 20 (set)
2019-05-17T19:07:37,698 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 30 (record)
2019-05-17T19:07:37,703 | WARN  | appc-dispatcher-2 | 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-05-17T19:07:37,706 | WARN  | appc-dispatcher-2 | 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
2019-05-17T19:07:37,707 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 31 (get-resource)
2019-05-17T19:07:37,710 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 33 (set)
2019-05-17T19:07:37,720 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 34 (call)
2019-05-17T19:07:37,731 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=GetAaiInfo, mode=sync, version=4.0.0, md5sum=e5eb6b8c09b70a964680bd20e0e37d08]
2019-05-17T19:07:37,731 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (block)
2019-05-17T19:07:37,731 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 2 (execute)
2019-05-17T19:07:37,732 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | Received getVnfInfo call with params : {responsePrefix=tmp.vnfInfo, vnfId=c82153dc-8d84-4e69-9673-5e0a60030779}
2019-05-17T19:07:37,732 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - vnf-id : c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:07:37,732 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :
2019-05-17T19:07:37,733 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-17T19:07:37.732Z, Method : GET
2019-05-17T19:07:37,733 | INFO  | appc-dispatcher-2 | 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/c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:07:44,524 | INFO  | sshd-SshServer[2c95999d]-nio2-thread-2 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:46212 authenticated
2019-05-17T19:07:46,492 | INFO  | sshd-SshServer[2c95999d]-nio2-thread-1 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:46258 authenticated
2019-05-17T19:07:59,118 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK
2019-05-17T19:07:59,142 | INFO  | appc-dispatcher-2 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |
2019-05-17T19:07:59,214 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK
2019-05-17T19:07:59,226 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vnf-id":"c82153dc-8d84-4e69-9673-5e0a60030779","vnf-name":"viptela_scripts","vnf-type":"vm","service-id":"vnf_demo_app","orchestration-status":"running","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1558112828059","model-invariant-id":"VNF_demo_app_steve","model-version-id":"v1.4.0","relationship-list":{"relationship":[{"related-to":"vnfc","relationship-label":"org.onap.relationships.inventory.BelongsTo","related-link":"/aai/v14/network/vnfcs/vnfc/VNFC_demo_steve","relationship-data":[{"relationship-key":"vnfc.vnfc-name","relationship-value":"VNFC_demo_steve"}]},{"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-17T19:07:59,469 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | AAIResponse: SUCCESS
2019-05-17T19:07:59,478 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELLEN 2
2019-05-17T19:07:59,478 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vserver
2019-05-17T19:07:59,478 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-owner
2019-05-17T19:07:59,484 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE CloudOwner
2019-05-17T19:07:59,489 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-region-id
2019-05-17T19:07:59,489 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE RegionOne
2019-05-17T19:07:59,489 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY tenant.tenant-id
2019-05-17T19:07:59,489 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE 7320ec4a5b9d4589ba7c4412ccfd290f
2019-05-17T19:07:59,490 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY vserver.vserver-id
2019-05-17T19:07:59,490 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:07:59,490 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vserver
2019-05-17T19:07:59,494 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-owner
2019-05-17T19:07:59,501 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE CloudOwner
2019-05-17T19:07:59,501 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-region-id
2019-05-17T19:07:59,502 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE RegionOne
2019-05-17T19:07:59,502 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY tenant.tenant-id
2019-05-17T19:07:59,502 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE 7320ec4a5b9d4589ba7c4412ccfd290f
2019-05-17T19:07:59,508 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vserver
2019-05-17T19:07:59,513 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-owner
2019-05-17T19:07:59,513 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE CloudOwner
2019-05-17T19:07:59,513 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vserver
2019-05-17T19:07:59,513 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-owner
2019-05-17T19:07:59,514 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE CloudOwner
2019-05-17T19:07:59,514 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-region-id
2019-05-17T19:07:59,514 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE RegionOne
2019-05-17T19:07:59,518 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | VSERVER KEYS c82153dc-8d84-4e69-9673-5e0a60030779 7320ec4a5b9d4589ba7c4412ccfd290f CloudOwner RegionOne
2019-05-17T19:07:59,525 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | VMCOUNT FROM VNF INFO 1
2019-05-17T19:07:59,538 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | Recieved getIdentityUrl call with params : {cloudRegionId=RegionOne, responsePrefix=tmp.vnfInfo, cloudOwner=CloudOwner}
2019-05-17T19:07:59,549 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - cloud-region-id : RegionOne
2019-05-17T19:07:59,549 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - cloud-owner : CloudOwner
2019-05-17T19:07:59,550 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :
2019-05-17T19:07:59,550 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-17T19:07:59.550Z, Method : GET
2019-05-17T19:07:59,550 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request URL : http://aai.ssteve:8443/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne
2019-05-17T19:08:12,137 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK
2019-05-17T19:08:12,137 | INFO  | appc-dispatcher-2 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |
2019-05-17T19:08:12,174 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK
2019-05-17T19:08:12,175 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"cloud-owner":"CloudOwner","cloud-region-id":"RegionOne","cloud-type":"openstack","owner-defined-type":"VNF","cloud-region-version":"4.0","cloud-zone":"CloudZone","sriov-automation":"true","resource-version":"1558112893619"}
2019-05-17T19:08:12,681 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | AAIResponse: SUCCESS
2019-05-17T19:08:12,681 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | IdentityUrl: null
2019-05-17T19:08:12,681 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfInfo Successful
2019-05-17T19:08:12,682 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)}
2019-05-17T19:08:12,682 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (not-found) (failure)}
2019-05-17T19:08:12,682 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 7 (set)
2019-05-17T19:08:12,702 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 8 (switch)
2019-05-17T19:08:12,702 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 9 (execute)
2019-05-17T19:08:12,702 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVserverInfo()::Retrieving vm and vnfc information for vserver:{responsePrefix=tmp.vnfInfo, vserverId=c82153dc-8d84-4e69-9673-5e0a60030779}
2019-05-17T19:08:12,705 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | setVmParams()::setVmParamsVM level action:c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:12,714 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | setVmParams():::vserver details::0:c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:12,714 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | setVmParams()::tenantId=7320ec4a5b9d4589ba7c4412ccfd290f cloudOwner=CloudOwner cloudRegiodId= RegionOne
2019-05-17T19:08:12,716 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | setVmParams()::setVmParamsVM level action:{cloudRegionId=RegionOne, tenantId=7320ec4a5b9d4589ba7c4412ccfd290f, cloudOwner=CloudOwner, vserverId=c82153dc-8d84-4e69-9673-5e0a60030779, vserver-selflink=null}
2019-05-17T19:08:12,726 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | Received getVmInfo call with params : {cloudRegionId=RegionOne, responsePrefix=tmp.vnfInfo, tenantId=7320ec4a5b9d4589ba7c4412ccfd290f, cloudOwner=CloudOwner, vserverId=c82153dc-8d84-4e69-9673-5e0a60030779, vserver-selflink=null}
2019-05-17T19:08:12,738 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - vserver-id : c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:12,738 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - tenant-id : 7320ec4a5b9d4589ba7c4412ccfd290f
2019-05-17T19:08:12,747 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - cloud-region-id : RegionOne
2019-05-17T19:08:12,750 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - cloud-owner : CloudOwner
2019-05-17T19:08:12,750 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :
2019-05-17T19:08:12,750 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-17T19:08:12.750Z, Method : GET
2019-05-17T19:08:12,750 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request URL : http://aai.ssteve:8443/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:26,285 | INFO  | sshd-SshServer[2c95999d]-nio2-thread-2 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:46990 authenticated
2019-05-17T19:08:28,415 | INFO  | sshd-SshServer[2c95999d]-nio2-thread-2 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:47030 authenticated
2019-05-17T19:08:30,642 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK
2019-05-17T19:08:30,650 | INFO  | appc-dispatcher-2 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |
2019-05-17T19:08:30,678 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK
2019-05-17T19:08:30,678 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vserver-id":"c82153dc-8d84-4e69-9673-5e0a60030779","vserver-name":"viptela_scripts","vserver-name2":"viptela_scripts","prov-status":"Running","vserver-selflink":"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1558112917160","relationship-list":{"relationship":[{"related-to":"vnfc","relationship-label":"tosca.relationships.HostedOn","related-link":"/aai/v14/network/vnfcs/vnfc/VNFC_demo_steve","relationship-data":[{"relationship-key":"vnfc.vnfc-name","relationship-value":"VNFC_demo_steve"}]},{"related-to":"generic-vnf","relationship-label":"tosca.relationships.HostedOn","related-link":"/aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779","relationship-data":[{"relationship-key":"generic-vnf.vnf-id","relationship-value":"c82153dc-8d84-4e69-9673-5e0a60030779"}],"related-to-property":[{"property-key":"generic-vnf.vnf-name","property-value":"viptela_scripts"}]}]}}
2019-05-17T19:08:30,822 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | AAIResponse: SUCCESS
2019-05-17T19:08:30,831 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELLEN2
2019-05-17T19:08:30,834 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vnfc
2019-05-17T19:08:30,834 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY vnfc.vnfc-name
2019-05-17T19:08:30,834 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE VNFC_demo_steve
2019-05-17T19:08:30,834 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | VSERVERNAME viptela_scripts HAS NUM VNFCS = 1
2019-05-17T19:08:30,841 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfcFunctionCodeForVserver()::vnfcName=VNFC_demo_steve
2019-05-17T19:08:30,845 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfcInformationForVserver()::vnfcParams:{vnfcName=VNFC_demo_steve}
2019-05-17T19:08:30,845 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | Received getVnfc call with params : {responsePrefix=tmp.vnfInfo, vnfcName=VNFC_demo_steve}
2019-05-17T19:08:30,869 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - vnfc-name : VNFC_demo_steve
2019-05-17T19:08:30,870 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :
2019-05-17T19:08:30,870 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-17T19:08:30.869Z, Method : GET
2019-05-17T19:08:30,870 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request URL : http://aai.ssteve:8443/aai/v14/network/vnfcs/vnfc/VNFC_demo_steve
2019-05-17T19:08:46,431 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK
2019-05-17T19:08:46,432 | INFO  | appc-dispatcher-2 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |
2019-05-17T19:08:46,434 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK
2019-05-17T19:08:46,435 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vnfc-name":"VNFC_demo_steve","nfc-naming-code":"viptela","nfc-function":"vm","prov-status":"Running","orchestration-status":"Running","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1558114796960","relationship-list":{"relationship":[{"related-to":"generic-vnf","relationship-label":"org.onap.relationships.inventory.BelongsTo","related-link":"/aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779","relationship-data":[{"relationship-key":"generic-vnf.vnf-id","relationship-value":"c82153dc-8d84-4e69-9673-5e0a60030779"}],"related-to-property":[{"property-key":"generic-vnf.vnf-name","property-value":"viptela_scripts"}]},{"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-17T19:08:46,465 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | AAIResponse: SUCCESS
2019-05-17T19:08:46,465 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfcInformationForVserver()::Some vnfc parameters are blank!!!!
2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfcInformationForVserver()::vnfcType=vm,vnfcFunctionCode=viptela
2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)}
2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (not-found) (failure)}
2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 19 (switch)
2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 32 (block)
2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 33 (return)
2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)}
2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (not-found) (failure)}
2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 39 (switch)
2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 42 (block)
2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 43 (return)
2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 44 (get-resource)
2019-05-17T19:08:46,551 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (not-found) not found, keys are { (failure)}
2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)}
2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 47 (switch)
2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome ("") not found, keys are { (Y) (Other)}
2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 58 (block)
2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 59 (execute)
2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (failure)}
2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)}
2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 5 (block)
2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 6 (execute)
2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | Received getCapability call with params : {caplevel=vm, checkCapability=Stop, vServerId=c82153dc-8d84-4e69-9673-5e0a60030779, vnf-type=vm}
2019-05-17T19:08:46,633 | INFO  | appc-dispatcher-2 | DGGeneralDBService               | 509 - appc-config-data-services - 1.4.4 | getCapability Query String : select max(internal_version) as maxInternalVersion, artifact_name as artifactName from ASDC_ARTIFACTS  where artifact_name in (select artifact_name from ASDC_REFERENCE  where vnf_type= $vnf-type  and file_category = 'capability' )
2019-05-17T19:08:46,693 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | getCapability::returned from DB::+cap
2019-05-17T19:08:46,693 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | From DB =   {"capabilities":{"vnfc":[],"vm":[{"AttachVolume":["vm"]},{"DetachVolume":["vm"]},{"Evacuate":["vm"]},{"Migrate":["vm"]},{"Rebuild":[]},{"Restart":["vm"]},{"Snapshot":["vm"]},{"Start":["vm"]},{"Stop":["vm"]}],"vf-module":[],"vnf":["OpenStack Actions","AllAction"]}}
2019-05-17T19:08:46,693 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | capabilities =   {"vnfc":[],"vm":[{"AttachVolume":["vm"]},{"DetachVolume":["vm"]},{"Evacuate":["vm"]},{"Migrate":["vm"]},{"Rebuild":[]},{"Restart":["vm"]},{"Snapshot":["vm"]},{"Start":["vm"]},{"Stop":["vm"]}],"vf-module":[],"vnf":["OpenStack Actions","AllAction"]}
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | subCapabilities =  vm : [{"AttachVolume":["vm"]},{"DetachVolume":["vm"]},{"Evacuate":["vm"]},{"Migrate":["vm"]},{"Rebuild":[]},{"Restart":["vm"]},{"Snapshot":["vm"]},{"Start":["vm"]},{"Stop":["vm"]}]
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | processCapabilitiesForVMLevel():::subCapabilities::[{"AttachVolume":["vm"]},{"DetachVolume":["vm"]},{"Evacuate":["vm"]},{"Migrate":["vm"]},{"Rebuild":[]},{"Restart":["vm"]},{"Snapshot":["vm"]},{"Start":["vm"]},{"Stop":["vm"]}],vServerId::c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | processCapabilitiesForVMLevel()::vmCaps found["vm"]
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | getVnfcFunctionCodeForVserver()::vServerId=c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnf-id=c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.message=c82153dc-8d84-4e69-9673-5e0a60030779 : Stop: {"vm-id":"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779"}
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VMNAME0=
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.service-instance-id=
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnf-type=vm
2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.status=success
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | controller-template-id=
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.vnf-id=c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vnf.orchestration-status=running
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | payload={"vm-id":"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779"}
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | APPC.action-level.ACTION-LEVEL=vm
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vnf.vnf-name=viptela_scripts
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | originator-id=appc
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.vserver-id=c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | action-identifier=vserver-id
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.request-id=1055593e-d304-4c45-997f-d424726a0df5
2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | request-id=1055593e-d304-4c45-997f-d424726a0df5
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.payload={"vm-id":"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779"}
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm.vnfc.vnfc-type=vm
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.convertnode.status=success
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | action-level=vm
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.vnfc-name=
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VNFCTYPE=
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnfc-type=
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vserver-id=c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm[0].cloud-owner=CloudOwner
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnf-name=viptela_scripts
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vm-id=http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnfc-name=
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | api-ver=
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.sub-request-id=
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm.vnfc.vnfc-function-code=viptela
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vnf.vnf-type=vm
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm[0].tenant-id=7320ec4a5b9d4589ba7c4412ccfd290f
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm[0].vserver-id=c82153dc-8d84-4e69-9673-5e0a60030779
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | req-vf-module-id=
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnf-host-ip-address=
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vf-module-id=
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.vf-module-id=
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.originator-id=appc
2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | isBwcMode=false
2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VMLENGTH=
2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VNFCLENGTH=
2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.api-ver=2.05
2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | configurationblock=
2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm[0].cloud-region-id=RegionOne
2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | service-instance-id=
2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.timestamp=2019-05-17T19:07:22.431Z
2019-05-17T19:08:46,704 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | currentGraph=SvcLogicGraph [module=APPC, rpc=DGOrchestrator, mode=sync, version=4.0.0, md5sum=0dee53d30a45ac3a692d17f030f87587]
2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | CONFIGTYPE=
2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm-count=1
2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | request-action=Stop
2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action=Stop
2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | configuration-params=
2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VNFCNAME0=
2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm.vnfc.vnfc-name=VNFC_demo_steve
2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | template-name=
2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | getVnfcFunctionCodeForVserver()::vnfcFunctionCode=viptela
2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | End processCapabilitiesForVMLevel():capabilities is ::Not-Supported
2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | getCapability Successful
2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 10 (block)
2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 11 (switch)
2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 40 (set)
2019-05-17T19:08:46,708 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 41 (switch)
2019-05-17T19:08:46,708 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (450) not found, keys are { (400) (Other)}
2019-05-17T19:08:46,708 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 44 (block)
2019-05-17T19:08:46,708 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 45 (set)
2019-05-17T19:08:46,709 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 46 (set)
2019-05-17T19:08:46,709 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 47 (execute)
2019-05-17T19:08:46,780 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (failure)}
2019-05-17T19:08:46,780 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)}

Note: I ignored the dmaap msg.

Thanks!,
Steve

Taka Cho
 

It failed even before hitting GraphExecutor.

 

I saw you setup vnfc also. How did you setup AAI data?

 

Can you get and look at the trace level log? goto karaf command line, set log level to trace. Just be aware that the log is going very fast…

 

Taka

 

From: Steve Siani <alphonse.steve.siani.djissitchi@...>
Sent: Friday, May 17, 2019 3:13 PM
To: CHO, TAKAMUNE <tc012c@...>; onap-discuss@...
Subject: Re: [onap-discuss] APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Hi Taka and Marco,

I redeployed APPC with VNF and VNFC populated in AAI.

It seems work better now, but I do not reach IAAS to stop my VM.

Here is the output:

019-05-17T19:07:36,954 | INFO  | qtp2129348868-63 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK

2019-05-17T19:07:36,954 | INFO  | qtp2129348868-63 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vnf-id":"c82153dc-8d84-4e69-9673-5e0a60030779","vnf-name":"viptela_scripts","vnf-type":"vm","service-id":"vnf_demo_app","orchestration-status":"running","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1558112828059","model-invariant-id":"VNF_demo_app_steve","model-version-id":"v1.4.0","relationship-list":{"relationship":[{"related-to":"vnfc","relationship-label":"org.onap.relationships.inventory.BelongsTo","related-link":"/aai/v14/network/vnfcs/vnfc/VNFC_demo_steve","relationship-data":[{"relationship-key":"vnfc.vnfc-name","relationship-value":"VNFC_demo_steve"}]},{"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-17T19:07:37,049 | INFO  | qtp2129348868-63 | metrics                          | 458 - appc-common-bundle - 1.4.4 | APPC0128I Operation "DEFAULT" for VNF type "null" from Source "appc" with RequestID "84db3293-6a8c-4e37-9a55-02d3b8f15a50" on "A&AI" with action "query" ended in 14296 ms with result "COMPLETE"

2019-05-17T19:07:37,049 | INFO  | qtp2129348868-63 | RequestValidatorImpl             | 458 - appc-common-bundle - 1.4.4 | AAIResponse: SUCCESS

2019-05-17T19:07:37,217 | INFO  | qtp2129348868-63 | WorkFlowManagerImpl              | 458 - appc-common-bundle - 1.4.4 | DG resolver configuration data has expired - initiating refresh

2019-05-17T19:07:37,337 | INFO  | qtp2129348868-63 | WorkFlowManagerImpl              | 458 - appc-common-bundle - 1.4.4 | DG resolver configuration data has been refreshed successfully

2019-05-17T19:07:37,552 | INFO  | qtp2129348868-63 | CommandTask                      | 458 - appc-common-bundle - 1.4.4 | AAIService from bundlecontext

2019-05-17T19:07:37,556 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | Fetching service logic from data store

2019-05-17T19:07:37,601 | INFO  | qtp2129348868-63 | audit                            | 458 - appc-common-bundle - 1.4.4 | APPC0090A Operation "Stop" for VNF type "c82153dc-8d84-4e69-9673-5e0a60030779" from Source "appc" with RequestID "1055593e-d304-4c45-997f-d424726a0df5" was started at "2019-05-17T19:07:22Z" and ended at "2019-05-17T19:07:37Z" with status code "100"

2019-05-17T19:07:37,601 | INFO  | qtp2129348868-63 | metrics                          | 458 - appc-common-bundle - 1.4.4 | APPC0128I Operation "DEFAULT" for VNF type "c82153dc-8d84-4e69-9673-5e0a60030779" from Source "appc" with RequestID "1484f674-0d0f-4be4-9faa-92078576aaa5" on "APPC" with action "Stop" ended in 14952 ms with result "COMPLETE"

2019-05-17T19:07:37,602 | INFO  | qtp2129348868-63 | AppcProviderLcm                  | 458 - appc-common-bundle - 1.4.4 | Execute of 'ActionIdentifiers{getVnfId=c82153dc-8d84-4e69-9673-5e0a60030779, getVserverId=c82153dc-8d84-4e69-9673-5e0a60030779, augmentations={}}' finished with status 100. Reason: ACCEPTED - request accepted

2019-05-17T19:07:37,613 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=DGOrchestrator, mode=sync, version=4.0.0, md5sum=0dee53d30a45ac3a692d17f030f87587]

2019-05-17T19:07:37,613 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (block)

2019-05-17T19:07:37,613 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 2 (call)

2019-05-17T19:07:37,626 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=setInputParams, mode=sync, version=4.0.0, md5sum=3c064381db25f6cbfa8bf197cbbb4891]

2019-05-17T19:07:37,635 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (block)

2019-05-17T19:07:37,636 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 2 (set)

2019-05-17T19:07:37,638 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 3 (set)

2019-05-17T19:07:37,648 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 4 (execute)

2019-05-17T19:07:37,684 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (failure)}

2019-05-17T19:07:37,684 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)}

2019-05-17T19:07:37,684 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 6 (execute)

2019-05-17T19:07:37,684 | INFO  | appc-dispatcher-2 | JSONTool                         | 508 - org.onap.sdnc.config.generator - 1.4.4 | Added property: vm-id: http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:07:37,685 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)}

2019-05-17T19:07:37,685 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (not-found) (failure)}

2019-05-17T19:07:37,685 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 11 (set)

2019-05-17T19:07:37,696 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 12 (switch)

2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 14 (set)

2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 15 (switch)

2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 18 (switch)

2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (c82153dc-8d84-4e69-9673-5e0a60030779) not found, keys are { ("") (Other)}

2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 19 (block)

2019-05-17T19:07:37,697 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 20 (set)

2019-05-17T19:07:37,698 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 30 (record)

2019-05-17T19:07:37,703 | WARN  | appc-dispatcher-2 | 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-05-17T19:07:37,706 | WARN  | appc-dispatcher-2 | 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

2019-05-17T19:07:37,707 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 31 (get-resource)

2019-05-17T19:07:37,710 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 33 (set)

2019-05-17T19:07:37,720 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 34 (call)

2019-05-17T19:07:37,731 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute graph SvcLogicGraph [module=APPC, rpc=GetAaiInfo, mode=sync, version=4.0.0, md5sum=e5eb6b8c09b70a964680bd20e0e37d08]

2019-05-17T19:07:37,731 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 1 (block)

2019-05-17T19:07:37,731 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 2 (execute)

2019-05-17T19:07:37,732 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | Received getVnfInfo call with params : {responsePrefix=tmp.vnfInfo, vnfId=c82153dc-8d84-4e69-9673-5e0a60030779}

2019-05-17T19:07:37,732 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - vnf-id : c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:07:37,732 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :

2019-05-17T19:07:37,733 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-17T19:07:37.732Z, Method : GET

2019-05-17T19:07:37,733 | INFO  | appc-dispatcher-2 | 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/c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:07:44,524 | INFO  | sshd-SshServer[2c95999d]-nio2-thread-2 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:46212 authenticated

2019-05-17T19:07:46,492 | INFO  | sshd-SshServer[2c95999d]-nio2-thread-1 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:46258 authenticated

2019-05-17T19:07:59,118 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK

2019-05-17T19:07:59,142 | INFO  | appc-dispatcher-2 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |

2019-05-17T19:07:59,214 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK

2019-05-17T19:07:59,226 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vnf-id":"c82153dc-8d84-4e69-9673-5e0a60030779","vnf-name":"viptela_scripts","vnf-type":"vm","service-id":"vnf_demo_app","orchestration-status":"running","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1558112828059","model-invariant-id":"VNF_demo_app_steve","model-version-id":"v1.4.0","relationship-list":{"relationship":[{"related-to":"vnfc","relationship-label":"org.onap.relationships.inventory.BelongsTo","related-link":"/aai/v14/network/vnfcs/vnfc/VNFC_demo_steve","relationship-data":[{"relationship-key":"vnfc.vnfc-name","relationship-value":"VNFC_demo_steve"}]},{"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-17T19:07:59,469 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | AAIResponse: SUCCESS

2019-05-17T19:07:59,478 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELLEN 2

2019-05-17T19:07:59,478 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vserver

2019-05-17T19:07:59,478 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-owner

2019-05-17T19:07:59,484 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE CloudOwner

2019-05-17T19:07:59,489 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-region-id

2019-05-17T19:07:59,489 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE RegionOne

2019-05-17T19:07:59,489 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY tenant.tenant-id

2019-05-17T19:07:59,489 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE 7320ec4a5b9d4589ba7c4412ccfd290f

2019-05-17T19:07:59,490 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY vserver.vserver-id

2019-05-17T19:07:59,490 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:07:59,490 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vserver

2019-05-17T19:07:59,494 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-owner

2019-05-17T19:07:59,501 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE CloudOwner

2019-05-17T19:07:59,501 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-region-id

2019-05-17T19:07:59,502 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE RegionOne

2019-05-17T19:07:59,502 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY tenant.tenant-id

2019-05-17T19:07:59,502 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE 7320ec4a5b9d4589ba7c4412ccfd290f

2019-05-17T19:07:59,508 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vserver

2019-05-17T19:07:59,513 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-owner

2019-05-17T19:07:59,513 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE CloudOwner

2019-05-17T19:07:59,513 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vserver

2019-05-17T19:07:59,513 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-owner

2019-05-17T19:07:59,514 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE CloudOwner

2019-05-17T19:07:59,514 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY cloud-region.cloud-region-id

2019-05-17T19:07:59,514 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE RegionOne

2019-05-17T19:07:59,518 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | VSERVER KEYS c82153dc-8d84-4e69-9673-5e0a60030779 7320ec4a5b9d4589ba7c4412ccfd290f CloudOwner RegionOne

2019-05-17T19:07:59,525 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | VMCOUNT FROM VNF INFO 1

2019-05-17T19:07:59,538 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | Recieved getIdentityUrl call with params : {cloudRegionId=RegionOne, responsePrefix=tmp.vnfInfo, cloudOwner=CloudOwner}

2019-05-17T19:07:59,549 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - cloud-region-id : RegionOne

2019-05-17T19:07:59,549 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - cloud-owner : CloudOwner

2019-05-17T19:07:59,550 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :

2019-05-17T19:07:59,550 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-17T19:07:59.550Z, Method : GET

2019-05-17T19:07:59,550 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request URL : http://aai.ssteve:8443/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne

2019-05-17T19:08:12,137 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK

2019-05-17T19:08:12,137 | INFO  | appc-dispatcher-2 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |

2019-05-17T19:08:12,174 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK

2019-05-17T19:08:12,175 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"cloud-owner":"CloudOwner","cloud-region-id":"RegionOne","cloud-type":"openstack","owner-defined-type":"VNF","cloud-region-version":"4.0","cloud-zone":"CloudZone","sriov-automation":"true","resource-version":"1558112893619"}

2019-05-17T19:08:12,681 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | AAIResponse: SUCCESS

2019-05-17T19:08:12,681 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | IdentityUrl: null

2019-05-17T19:08:12,681 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfInfo Successful

2019-05-17T19:08:12,682 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)}

2019-05-17T19:08:12,682 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (not-found) (failure)}

2019-05-17T19:08:12,682 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 7 (set)

2019-05-17T19:08:12,702 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 8 (switch)

2019-05-17T19:08:12,702 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 9 (execute)

2019-05-17T19:08:12,702 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVserverInfo()::Retrieving vm and vnfc information for vserver:{responsePrefix=tmp.vnfInfo, vserverId=c82153dc-8d84-4e69-9673-5e0a60030779}

2019-05-17T19:08:12,705 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | setVmParams()::setVmParamsVM level action:c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:12,714 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | setVmParams():::vserver details::0:c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:12,714 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | setVmParams()::tenantId=7320ec4a5b9d4589ba7c4412ccfd290f cloudOwner=CloudOwner cloudRegiodId= RegionOne

2019-05-17T19:08:12,716 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | setVmParams()::setVmParamsVM level action:{cloudRegionId=RegionOne, tenantId=7320ec4a5b9d4589ba7c4412ccfd290f, cloudOwner=CloudOwner, vserverId=c82153dc-8d84-4e69-9673-5e0a60030779, vserver-selflink=null}

2019-05-17T19:08:12,726 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | Received getVmInfo call with params : {cloudRegionId=RegionOne, responsePrefix=tmp.vnfInfo, tenantId=7320ec4a5b9d4589ba7c4412ccfd290f, cloudOwner=CloudOwner, vserverId=c82153dc-8d84-4e69-9673-5e0a60030779, vserver-selflink=null}

2019-05-17T19:08:12,738 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - vserver-id : c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:12,738 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - tenant-id : 7320ec4a5b9d4589ba7c4412ccfd290f

2019-05-17T19:08:12,747 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - cloud-region-id : RegionOne

2019-05-17T19:08:12,750 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - cloud-owner : CloudOwner

2019-05-17T19:08:12,750 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :

2019-05-17T19:08:12,750 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-17T19:08:12.750Z, Method : GET

2019-05-17T19:08:12,750 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request URL : http://aai.ssteve:8443/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:26,285 | INFO  | sshd-SshServer[2c95999d]-nio2-thread-2 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:46990 authenticated

2019-05-17T19:08:28,415 | INFO  | sshd-SshServer[2c95999d]-nio2-thread-2 | ServerUserAuthService            | 153 - org.apache.sshd.core - 1.6.0 | Session karaf@/127.0.0.1:47030 authenticated

2019-05-17T19:08:30,642 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK

2019-05-17T19:08:30,650 | INFO  | appc-dispatcher-2 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |

2019-05-17T19:08:30,678 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK

2019-05-17T19:08:30,678 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vserver-id":"c82153dc-8d84-4e69-9673-5e0a60030779","vserver-name":"viptela_scripts","vserver-name2":"viptela_scripts","prov-status":"Running","vserver-selflink":"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1558112917160","relationship-list":{"relationship":[{"related-to":"vnfc","relationship-label":"tosca.relationships.HostedOn","related-link":"/aai/v14/network/vnfcs/vnfc/VNFC_demo_steve","relationship-data":[{"relationship-key":"vnfc.vnfc-name","relationship-value":"VNFC_demo_steve"}]},{"related-to":"generic-vnf","relationship-label":"tosca.relationships.HostedOn","related-link":"/aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779","relationship-data":[{"relationship-key":"generic-vnf.vnf-id","relationship-value":"c82153dc-8d84-4e69-9673-5e0a60030779"}],"related-to-property":[{"property-key":"generic-vnf.vnf-name","property-value":"viptela_scripts"}]}]}}

2019-05-17T19:08:30,822 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | AAIResponse: SUCCESS

2019-05-17T19:08:30,831 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELLEN2

2019-05-17T19:08:30,834 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | RELATEDTO vnfc

2019-05-17T19:08:30,834 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC KEY vnfc.vnfc-name

2019-05-17T19:08:30,834 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | GENERIC VALUE VNFC_demo_steve

2019-05-17T19:08:30,834 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | VSERVERNAME viptela_scripts HAS NUM VNFCS = 1

2019-05-17T19:08:30,841 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfcFunctionCodeForVserver()::vnfcName=VNFC_demo_steve

2019-05-17T19:08:30,845 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfcInformationForVserver()::vnfcParams:{vnfcName=VNFC_demo_steve}

2019-05-17T19:08:30,845 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | Received getVnfc call with params : {responsePrefix=tmp.vnfInfo, vnfcName=VNFC_demo_steve}

2019-05-17T19:08:30,869 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Input - vnfc-name : VNFC_demo_steve

2019-05-17T19:08:30,870 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | A&AI transaction :

2019-05-17T19:08:30,870 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request Time : 2019-05-17T19:08:30.869Z, Method : GET

2019-05-17T19:08:30,870 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Request URL : http://aai.ssteve:8443/aai/v14/network/vnfcs/vnfc/VNFC_demo_steve

2019-05-17T19:08:46,431 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | HttpURLConnection result: 200 : OK

2019-05-17T19:08:46,432 | INFO  | appc-dispatcher-2 | metric                           | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 |

2019-05-17T19:08:46,434 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response code : 200, OK

2019-05-17T19:08:46,435 | INFO  | appc-dispatcher-2 | AAIService                       | 213 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.3.3 | Response data : {"vnfc-name":"VNFC_demo_steve","nfc-naming-code":"viptela","nfc-function":"vm","prov-status":"Running","orchestration-status":"Running","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1558114796960","relationship-list":{"relationship":[{"related-to":"generic-vnf","relationship-label":"org.onap.relationships.inventory.BelongsTo","related-link":"/aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779","relationship-data":[{"relationship-key":"generic-vnf.vnf-id","relationship-value":"c82153dc-8d84-4e69-9673-5e0a60030779"}],"related-to-property":[{"property-key":"generic-vnf.vnf-name","property-value":"viptela_scripts"}]},{"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-17T19:08:46,465 | INFO  | appc-dispatcher-2 | AaiService                       | 520 - org.onap.appc.aai.client - 1.4.4 | AAIResponse: SUCCESS

2019-05-17T19:08:46,465 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfcInformationForVserver()::Some vnfc parameters are blank!!!!

2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | AAIResourceNode                  | 520 - org.onap.appc.aai.client - 1.4.4 | getVnfcInformationForVserver()::vnfcType=vm,vnfcFunctionCode=viptela

2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)}

2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (not-found) (failure)}

2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 19 (switch)

2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 32 (block)

2019-05-17T19:08:46,466 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 33 (return)

2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (not-found) (failure)}

2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (not-found) (failure)}

2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 39 (switch)

2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 42 (block)

2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 43 (return)

2019-05-17T19:08:46,467 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 44 (get-resource)

2019-05-17T19:08:46,551 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (not-found) not found, keys are { (failure)}

2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)}

2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 47 (switch)

2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome ("") not found, keys are { (Y) (Other)}

2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 58 (block)

2019-05-17T19:08:46,552 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 59 (execute)

2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (failure)}

2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)}

2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 5 (block)

2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 6 (execute)

2019-05-17T19:08:46,632 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | Received getCapability call with params : {caplevel=vm, checkCapability=Stop, vServerId=c82153dc-8d84-4e69-9673-5e0a60030779, vnf-type=vm}

2019-05-17T19:08:46,633 | INFO  | appc-dispatcher-2 | DGGeneralDBService               | 509 - appc-config-data-services - 1.4.4 | getCapability Query String : select max(internal_version) as maxInternalVersion, artifact_name as artifactName from ASDC_ARTIFACTS  where artifact_name in (select artifact_name from ASDC_REFERENCE  where vnf_type= $vnf-type  and file_category = 'capability' )

2019-05-17T19:08:46,693 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | getCapability::returned from DB::+cap

2019-05-17T19:08:46,693 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | From DB =   {"capabilities":{"vnfc":[],"vm":[{"AttachVolume":["vm"]},{"DetachVolume":["vm"]},{"Evacuate":["vm"]},{"Migrate":["vm"]},{"Rebuild":[]},{"Restart":["vm"]},{"Snapshot":["vm"]},{"Start":["vm"]},{"Stop":["vm"]}],"vf-module":[],"vnf":["OpenStack Actions","AllAction"]}}

2019-05-17T19:08:46,693 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | capabilities =   {"vnfc":[],"vm":[{"AttachVolume":["vm"]},{"DetachVolume":["vm"]},{"Evacuate":["vm"]},{"Migrate":["vm"]},{"Rebuild":[]},{"Restart":["vm"]},{"Snapshot":["vm"]},{"Start":["vm"]},{"Stop":["vm"]}],"vf-module":[],"vnf":["OpenStack Actions","AllAction"]}

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | subCapabilities =  vm : [{"AttachVolume":["vm"]},{"DetachVolume":["vm"]},{"Evacuate":["vm"]},{"Migrate":["vm"]},{"Rebuild":[]},{"Restart":["vm"]},{"Snapshot":["vm"]},{"Start":["vm"]},{"Stop":["vm"]}]

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | processCapabilitiesForVMLevel():::subCapabilities::[{"AttachVolume":["vm"]},{"DetachVolume":["vm"]},{"Evacuate":["vm"]},{"Migrate":["vm"]},{"Rebuild":[]},{"Restart":["vm"]},{"Snapshot":["vm"]},{"Start":["vm"]},{"Stop":["vm"]}],vServerId::c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | processCapabilitiesForVMLevel()::vmCaps found["vm"]

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | getVnfcFunctionCodeForVserver()::vServerId=c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnf-id=c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.message=c82153dc-8d84-4e69-9673-5e0a60030779 : Stop: {"vm-id":"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779"}

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VMNAME0=

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.service-instance-id=

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnf-type=vm

2019-05-17T19:08:46,694 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.status=success

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | controller-template-id=

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.vnf-id=c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vnf.orchestration-status=running

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | payload={"vm-id":"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779"}

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | APPC.action-level.ACTION-LEVEL=vm

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vnf.vnf-name=viptela_scripts

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | originator-id=appc

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.vserver-id=c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | action-identifier=vserver-id

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.request-id=1055593e-d304-4c45-997f-d424726a0df5

2019-05-17T19:08:46,695 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | request-id=1055593e-d304-4c45-997f-d424726a0df5

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.payload={"vm-id":"http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779"}

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm.vnfc.vnfc-type=vm

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.convertnode.status=success

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | action-level=vm

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.vnfc-name=

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VNFCTYPE=

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnfc-type=

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vserver-id=c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm[0].cloud-owner=CloudOwner

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnf-name=viptela_scripts

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vm-id=http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:46,696 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnfc-name=

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | api-ver=

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.sub-request-id=

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm.vnfc.vnfc-function-code=viptela

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vnf.vnf-type=vm

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm[0].tenant-id=7320ec4a5b9d4589ba7c4412ccfd290f

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm[0].vserver-id=c82153dc-8d84-4e69-9673-5e0a60030779

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | req-vf-module-id=

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vnf-host-ip-address=

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | vf-module-id=

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action-identifiers.vf-module-id=

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.originator-id=appc

2019-05-17T19:08:46,697 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | isBwcMode=false

2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VMLENGTH=

2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VNFCLENGTH=

2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.api-ver=2.05

2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | configurationblock=

2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm[0].cloud-region-id=RegionOne

2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | service-instance-id=

2019-05-17T19:08:46,698 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.common-header.timestamp=2019-05-17T19:07:22.431Z

2019-05-17T19:08:46,704 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | currentGraph=SvcLogicGraph [module=APPC, rpc=DGOrchestrator, mode=sync, version=4.0.0, md5sum=0dee53d30a45ac3a692d17f030f87587]

2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | CONFIGTYPE=

2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm-count=1

2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | request-action=Stop

2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | input.action=Stop

2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | configuration-params=

2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | VNFCNAME0=

2019-05-17T19:08:46,706 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | tmp.vnfInfo.vm.vnfc.vnfc-name=VNFC_demo_steve

2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | template-name=

2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | getVnfcFunctionCodeForVserver()::vnfcFunctionCode=viptela

2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | End processCapabilitiesForVMLevel():capabilities is ::Not-Supported

2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | ConfigResourceNode               | 509 - appc-config-data-services - 1.4.4 | getCapability Successful

2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 10 (block)

2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 11 (switch)

2019-05-17T19:08:46,707 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 40 (set)

2019-05-17T19:08:46,708 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 41 (switch)

2019-05-17T19:08:46,708 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (450) not found, keys are { (400) (Other)}

2019-05-17T19:08:46,708 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 44 (block)

2019-05-17T19:08:46,708 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 45 (set)

2019-05-17T19:08:46,709 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 46 (set)

2019-05-17T19:08:46,709 | INFO  | appc-dispatcher-2 | SvcLogicServiceImpl              | 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 | About to execute node # 47 (execute)

2019-05-17T19:08:46,780 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (success) not found, keys are { (failure)}

2019-05-17T19:08:46,780 | INFO  | appc-dispatcher-2 | SvcLogicExprListener             | 221 - org.onap.ccsdk.sli.core.sli-common - 0.3.3 | Outcome (Other) not found, keys are { (failure)}


Note: I ignored the dmaap msg.

Thanks!,
Steve

Steve Siani
 

Hi Taka,

these are my AAI configs:

1. Model : aai/v14/service-design-and-creation/models/model/VNF_demo_app_steve

{
    "model-invariant-id": "VNF_demo_app_steve",
    "model-type": "model_type",
    "model-vers": {
        "model-ver": [
            {
                "model-version-id": "v1.4.0",
                "model-name": "vm",
                "model-version": "v1.4.0"
            }
        ]
    }
}

2. Add generic vnf:     aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779
{
   "vnf-id": "c82153dc-8d84-4e69-9673-5e0a60030779",
   "vnf-name": "viptela_scripts",
   "vnf-type": "vm",
   "service-id": "vnf_demo_app",
   "orchestration-status": "running",
   "in-maint": false,
   "is-closed-loop-disabled": false,
   "model-invariant-id": "VNF_demo_app_steve",
   "model-version-id": "v1.4.0"
}

3. Add VPNC: aai/v14/network/vnfcs/vnfc/VNFC_demo_steve 
{
    "vnfc-name": "VNFC_demo_steve",
    "nfc-naming-code": "viptela",
    "nfc-function": "vm",
    "prov-status": "Running",
    "orchestration-status": "Running",
    "in-maint": false,
    "is-closed-loop-disabled": false,
    "relationship-list":
    {
    "relationship":
        [
            {
                "related-to": "vserver",
                "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779"
            },
            {
                "related-to": "generic-vnf",
                "related-link": "/aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779"
            }
        ]
    }
}

4. Add CloudRegion: aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne

{
    "cloud-owner": "CloudOwner",
    "cloud-region-id": "RegionOne",
    "cloud-type": "openstack",
    "owner-defined-type": "VNF",
    "cloud-region-version": "4.0",
    "cloud-zone": "CloudZone",
    "sriov-automation": true,
    "tenants": {
        "tenant": [
            {
                "tenant-id": "7320ec4a5b9d4589ba7c4412ccfd290f",
                "tenant-name": "nso-vnf",
                "vservers": {
                    "vserver": [
                        {
                            "vserver-id": "c82153dc-8d84-4e69-9673-5e0a60030779",
                            "vserver-name": "viptela_scripts",
                            "vserver-name2": "viptela_scripts",
                            "prov-status": "Running",
                            "vserver-selflink": "http://10.195.194.213:8774/v2.1/7320ec4a5b9d4589ba7c4412ccfd290f/servers/c82153dc-8d84-4e69-9673-5e0a60030779",
                            "in-maint": false,
                            "is-closed-loop-disabled": false
                        }
                    ]
                }
            }
        ]
    }
}

5. Add mapping Tennant and vserver relationship: /aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779/relationship-list/relationship

Find attached the the log file.

Thanks!
Steve

Taka Cho
 

Your log is not sufficient to trace. The last line of the log you attached is still doing AAIService

 

2019-05-21T19:01:19,505 | TRACE | appc-dispatcher-2 | HttpURLConnection                |  -  -  | ProxySelector Request for http://aai.ssteve:8443/aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779?depth=1

 

I would suggest do only vnf w/o vnfc first to see if your env is working.

 

I attached the snippet of log that we did for stop lcm for 72 hours performance testing. There are aai query setting etc in the log.

 

Hope that helps.

 

Taka

 

From: Steve Siani <alphonse.steve.siani.djissitchi@...>
Sent: Tuesday, May 21, 2019 3:26 PM
To: CHO, TAKAMUNE <tc012c@...>; onap-discuss@...
Subject: Re: [onap-discuss] APPC -> RE: [onap-discuss] #appc Unable to execute stop lcm operation from APPC

 

Hi Taka,

these are my AAI configs:

1. Model : aai/v14/service-design-and-creation/models/model/VNF_demo_app_steve

{

    "model-invariant-id": "VNF_demo_app_steve",

    "model-type": "model_type",

    "model-vers": {

        "model-ver": [

            {

                "model-version-id": "v1.4.0",

                "model-name": "vm",

                "model-version": "v1.4.0"

            }

        ]

    }

}

2. Add generic vnf:     aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779

{

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

   "vnf-name": "viptela_scripts",

   "vnf-type": "vm",

   "service-id": "vnf_demo_app",

   "orchestration-status": "running",

   "in-maint": false,

   "is-closed-loop-disabled": false,

   "model-invariant-id": "VNF_demo_app_steve",

   "model-version-id": "v1.4.0"

}

3. Add VPNC: aai/v14/network/vnfcs/vnfc/VNFC_demo_steve 

{

    "vnfc-name": "VNFC_demo_steve",

    "nfc-naming-code": "viptela",

    "nfc-function": "vm",

    "prov-status": "Running",

    "orchestration-status": "Running",

    "in-maint": false,

    "is-closed-loop-disabled": false,

    "relationship-list":

    {

    "relationship":

        [

            {

                "related-to": "vserver",

                "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779"

            },

            {

                "related-to": "generic-vnf",

                "related-link": "/aai/v14/network/generic-vnfs/generic-vnf/c82153dc-8d84-4e69-9673-5e0a60030779"

            }

        ]

    }

}


4. Add CloudRegion: aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne

{

    "cloud-owner": "CloudOwner",

    "cloud-region-id": "RegionOne",

    "cloud-type": "openstack",

    "owner-defined-type": "VNF",

    "cloud-region-version": "4.0",

    "cloud-zone": "CloudZone",

    "sriov-automation": true,

    "tenants": {

        "tenant": [

            {

                "tenant-id": "7320ec4a5b9d4589ba7c4412ccfd290f",

                "tenant-name": "nso-vnf",

                "vservers": {

                    "vserver": [

                        {

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

                            "vserver-name": "viptela_scripts",

                            "vserver-name2": "viptela_scripts",

                            "prov-status": "Running",

                            "in-maint": false,

                            "is-closed-loop-disabled": false

                        }

                    ]

                }

            }

        ]

    }

}


5. Add mapping Tennant and vserver relationship: /aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/7320ec4a5b9d4589ba7c4412ccfd290f/vservers/vserver/c82153dc-8d84-4e69-9673-5e0a60030779/relationship-list/relationship

Find attached the the log file.

Thanks!
Steve