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

Demo vFW APPC RestConf to PGn VM failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Amsterdam Release
    • None
    • None
    • Vanilla OpenStack (Octata)

    • 3

      We are trying to run the close loop for vFW demo use case. The request from Policy to APP-C is getting generated as expected:

      {
        "CommonHeader": {
          "TimeStamp": 1499768475296,
          "APIver": "1.01",
          "RequestID": "4e15ce36-0152-49a9-bf0d-0373ee11c58f",
          "RequestTrack": [],
          "Flags": []
        },
        "Action": "ModifyConfig",
        "Payload": {
          "generic-vnf.vnf-id": "demofwl01pgn",
          "pg-streams": {
            "pg-stream": [
              {
                "id": "fw_udp1",
                "is-enabled": "true"
              },
              {
                "id": "fw_udp2",
                "is-enabled": "true"
              },
              {
                "id": "fw_udp3",
                "is-enabled": "true"
              },
              {
                "id": "fw_udp4",
                "is-enabled": "true"
              },
              {
                "id": "fw_udp5",
                "is-enabled": "true"
              }
            ]
          }
        }
      }

      The response from APP-C is failure:{{{}}
        "AAI": {
          "generic-vnf.vnf-id": "demofwl01fwl"
        },
        "closedLoopAlarmStart": 1499768464972613,
        "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
        "version": "1.0.2",
        "requestID": "4e15ce36-0152-49a9-bf0d-0373ee11c58f",
        "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca",
        "target": "generic-vnf.vnf-id",
        "from": "policy",
        "policyScope": "com",
        "policyName": "BRMSParamvFWDemoPolicy.APPC.RESPONSE",
        "policyVersion": "1",
        "notification": "OPERATION_FAILURE",
        "message": "actor=APPC,operation=ModifyConfig,target=generic-vnf.vnf-id,subRequestId=null",
        "notificationTime": "2017-07-11 10:21:20.300000+00:00",
        "history": [
          {
            "actor": "APPC",
            "operation": "ModifyConfig",
            "target": "generic-vnf.vnf-id",
            "start": 1499768475296,
            "outcome": "FAILURE",
            "message": "actor=APPC,operation=ModifyConfig,target=generic-vnf.vnf-id,subRequestId=null"
      {{    }}}
        ]
      }

      Looking at the APP-C logs I can the failure is happening due to "mount point does not exist" apparently on PGn VM:

      2017-07-11 10:21:15,492 | INFO  | p2069030943-8944 | metrics                          | 323 - org.openecomp.appc.provider-bundle - 1.0.0 | Parameters returned by SLI: [ SvcLogic.status = success, org.openecomp.appc.configJson = {"pg-streams": {"pg-stream":[\{"id":"fw_udp1", "is-enabled":"true"},\{"id":"fw_udp2", "is-enabled":"true"},\{"id":"fw_udp3", "is-enabled":"true"},\{"id":"fw_udp4", "is-enabled":"true"},\{"id":"fw_udp5", "is-enabled":"true"}]}}, org.openecomp.appc.reqid = 4e15ce36-0152-49a9-bf0d-0373ee11c58f, org.openecomp.rest.agent.result.message = {"errors":{"error":[\{"error-type":"protocol","error-tag":"data-missing","error-message":"Mount point does not exist."{color}}]}}, error_code = 404, org.openecomp.rest.result.code = 404, error-message = Not Found, org.openecomp.rest.agent.result.code = 404, org.openecomp.appc.action = modifyConfig, org.openecomp.appc.configURL = http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@10.0.2.1:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/demofwl01pgn/yang-ext:mount/sample-plugin:sample-plugin/pg-streams/, org.openecomp.rest.result.message = Not Found ]

      Any suggestions on how to fix this? I am attaching network.log and karaf.log output for the sample request "4e15ce36-0152-49a9-bf0d-0373ee11c58f".

            yusufmirza yusufmirza
            yusufmirza yusufmirza
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: