1
0
-1

Hi, 

When I try to instantiatevFWI receive the following error message : error.message=The Parameter (sdnc_artifact_name) . But when I run ./ete-k8s.sh onap instantiateVFWCL everythings are o.k and the ressources are deployed on my OpenStack environment.

Here is the detail of the ./demo-k8s.sh onap instantiateVFW:


'{"request":{"requestId":"48f1267b-4e66-416d-9701-1f28ddfcdf93","startTime":"Wed, 19 Jun 2019 14:42:54 GMT","requestScope":"vfModule","requestType":"createInstance","requestDetails":{"modelInfo":{"modelCustomizationName":"2d7281e66d7c4e6aA0d7..base_vfw..module-0","modelInvariantId":"73513ae1-0c52-4724-a8ed-6ced1cfd3681","modelType":"vfModule","modelName":"2d7281e66d7c4e6aA0d7..base_vfw..module-0","modelVersion":"1","modelCustomizationUuid":"9625c291-af7e-4f74-bce5-12d3b9bde1b0","modelVersionId":"8495d888-8889-4e3a-9696-eac38323c630","modelCustomizationId":"9625c291-af7e-4f74-bce5-12d3b9bde1b0","modelUuid":"8495d888-8889-4e3a-9696-eac38323c630","modelInvariantUuid":"73513ae1-0c52-4724-a8ed-6ced1cfd3681","modelInstanceName":"2d7281e66d7c4e6aA0d7..base_vfw..module-0"},"requestInfo":{"source":"VID","instanceName":"Vfmodule_Ete_vFW_39060c78-9bec-4699-a412-c5f210d77135","suppressRollback":false,"requestorId":"demo"},"relatedInstanceList":[{"relatedInstance":{"instanceId":"0aa664d0-a911-4a70-a84d-d405ffad8be0","modelInfo":{"modelInvariantId":"beaf3ebc-13ff-4a57-adb3-4d7187faac30","modelType":"service","modelName":"vFW 2019-06-19 14:38:07","modelVersion":"1.0","modelVersionId":"d68bf820-490f-4e14-b00c-2c5b4fdeb5ab","modelUuid":"d68bf820-490f-4e14-b00c-2c5b4fdeb5ab","modelInvariantUuid":"beaf3ebc-13ff-4a57-adb3-4d7187faac30"}}},{"relatedInstance":{"instanceId":"ce97d2f3-9724-4425-b9d1-665a71dd95be","modelInfo":{"modelCustomizationName":"2d7281e6-6d7c-4e6a-a0d7 0","modelInvariantId":"0c6acb14-63d3-430d-89ff-c28fb579b4b8","modelType":"vnf","modelName":"2d7281e6-6d7c-4e6a-a0d7","modelVersion":"1.0","modelCustomizationUuid":"87e27338-48d9-4f3a-8005-24713f1d5563","modelVersionId":"b1ae73aa-1a81-4d66-831a-cd8f973c3aa3","modelCustomizationId":"87e27338-48d9-4f3a-8005-24713f1d5563","modelUuid":"b1ae73aa-1a81-4d66-831a-cd8f973c3aa3","modelInvariantUuid":"0c6acb14-63d3-430d-89ff-c28fb579b4b8","modelInstanceName":"2d7281e6-6d7c-4e6a-a0d7 0"}}}],"cloudConfiguration":{"tenantId":"cb1240eaee3b42f4b9f1cb3968318f29","cloudOwner":"CloudOwner","lcpCloudRegionId":"RegionOne"},"requestParameters":{"testApi":"VNF_API","usePreload":true}},"instanceReferences":{"serviceInstanceId":"0aa664d0-a911-4a70-a84d-d405ffad8be0","vnfInstanceId":"ce97d2f3-9724-4425-b9d1-665a71dd95be","vfModuleInstanceId":"1fcdb206-bbc8-4e99-be81-479c58482bbf","vfModuleInstanceName":"Vfmodule_Ete_vFW_39060c78-9bec-4699-a412-c5f210d77135","requestorId":"demo"},"requestStatus":{"requestState":"FAILED","statusMessage":"Received vfModuleException from VnfAdapter: category='INTERNAL' message='Exception during create VF 400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect., error.type=UserParameterMissing, error.message=The Parameter (sdnc_artifact_name) was not provided.' rolledBack='true'","percentProgress":100,"finishTime":"Wed, 19 Jun 2019 14:43:25 GMT"}}}' contains 'FAILED'


What can I do about the sdnc_artifact_name?


Thanks,

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      There was a build problem with the Casablanca testsuite container where it did not pick up the right version of the demo  repo. The fix is to either add the preload parameters that you did or to re-clone the demo repo.


      1. kubectl exec into the robot container
      2. cd /tmp
      3. git clone -b casablanca http://gerrit.onap.org/r/demo
      4. cd /var/opt/OpenECOMP/demo
      5. cp -R /tmp/demo/* .


      This will update the demo artifacts used for instantiate and distribute cases . vFW is the only one we think had an issue so that is why vFWCL worked. vFWCL is the predominate use case we use but vFW is a nice simple install check.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Brian,

        Here is the log

        log.html

        I can't see nothing about vFWNG. Do you se something?

        Thanks


        1. Brian Freeman

          sdnc_artifact is from the vFWNG paramters.

          Your log.html refers to /var/opt/OpenECOMP instead of /var/opt/ONAP as the home diretory for robot processing. What version of robot are you running ?

        2. Brian Freeman

          kubectl -n onap describe pod for the image: version ?


        3. Brian Freeman

          So that is casablanca so not sure why VFWNG artifacts are being pulled into the vendor software product.


          robot creates the zip file from here

          [ '/var/opt/OpenECOMP_ETE/demo/heat/vFW' | '/var/opt/OpenECOMP_ETE/demo/heat/temp/vFW.zip' ]


          and the resulting vFW.zip for some reason has vFWNG tag for sdnc_artifact - strange


        4. Frédéric Larocque

          Thanks Brian,

          I added to three line :


          sdnc_model_name: vFW_spinup
          sdnc_model_version: 1.0.0
          sdnc_artifact_name: vFW_vNF_Artifact


          at the end of the vfw.env file in the robot pod

          And now it seem to work.


        CommentAdd your comment...
      2.  
        1
        0
        -1

        Not sure why you are seeing that on the instantiateVFW robot scripting. that should only be part of vFWNG based on service_mappings.py in demo .


        Can you look at log.html and see where robot seems to be pulling in vFWNG instead of vFW ?

          CommentAdd your comment...