Uploaded image for project: 'Application Controller'
  1. Application Controller
  2. APPC-262

LCM Restart fails with 'Error Executing DG Cannot format given Object as a Date'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Amsterdam Release
    • Amsterdam Release
    • APPC
    • None
    • 2

      From asridharan

      Ran a 'Restart' LCM request against the appc (135.205.226.75:8282/apidoc/explorer/index.html)  and have attached the karaf.log. 

      I am using a fake vnf called fusion-vpp-onap-vnf-001. Some observations from the log :

      1. On line 1837, you can see that app-c fetches information about the VNF from A&AI

      2. On line 1892,  the 'Restart' action is resolved to the following DG by the dispatcher : module = APPC, name = Generic_Restart, version = 3.0.0}  (I had to change the VNF_DG_Mapping table on the mysql database. I think the original mapping DG was not there

      3. On line 2121, I got the error :
      2017-10-03 02:44:12,050 | ERROR | ppc-dispatcher-1 | WorkFlowManagerImpl              | 358 - appc-common - 1.1.0 | Error Executing DG Cannot format given Object as a Date

      {quote}

      {

      "input" : {

                       "common-header" : {

                                                "timestamp" : "2017-09-29T10:13:57.00Z",

                                                  "api-ver" : "2.00",

                                            "originator-id" : "c09ac7d1-de62-0016-2000-e63702155555",

                                               "request-id" : "c09ac7d1-de62-0016-2000-e63701125555",

                                           "sub-request-id" : "150",

                                                    "flags" : {

                                                               "force" : "TRUE",

                                                                 "ttl" : 60000

                                                              }

                                         },

                              "action" : "Restart",

                  "action-identifiers" : {"vnf-id" : "fusion-vpp-onap-vnf-001"},

                             "payload" : "{\"AICIdentity\" : \"https://mte2onap01.homer.att.com:5000/v2.0\", \"vnf-host-ip-address\" : \"10.0.0.9\"}"

                 }

      }

      {quote}

            rahuliitr rahuliitr
            rahuliitr rahuliitr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d