1
0
-1

Hi,


I tried to instantiateVFW with the robot script ./demo-k8s.sh onap instantiateVFW


I've got the following error :


requestState":"FAILED","statusMessage":"Received vfModuleException from VnfAdapter: category='INTERNAL' message='404 NOT FOUND: ' rolledBack='true'","percentProgress":100,"finishTime":"Fri, 14 Jun 2019 17:57:50 GMT


Do you have idea what is causing this problem?


See details here:


ubuntu@sb4-k8s-1:~/oom/kubernetes/robot$ ./demo-k8s.sh onap instantiateVFW
Number of parameters:
2
KEY:
instantiateVFW
++ kubectl --namespace onap get pods
++ sed 's/ .*//'
++ grep robot
+ POD=dev-robot-robot-646785574-t676t
+ ETEHOME=/var/opt/OpenECOMP_ETE
++ kubectl --namespace onap exec dev-robot-robot-646785574-t676t -- bash -c 'ls -1q /share/logs/ | wc -l'
+ export GLOBAL_BUILD_NUMBER=14
+ GLOBAL_BUILD_NUMBER=14
++ printf %04d 14
+ OUTPUT_FOLDER=0014_demo_instantiateVFW
+ DISPLAY_NUM=104
+ VARIABLEFILES='-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py'
+ kubectl --namespace onap exec dev-robot-robot-646785574-t676t -- /var/opt/OpenECOMP_ETE/runTags.sh -V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py -v GLOBAL_BUILD_NUMBER:36780 -d /share/logs/0014_demo_instantiateVFW -i instantiateVFW --display 104
Starting Xvfb on display :104 with res 1280x1024x24
Executing robot tests at log level TRACE
==============================================================================
Testsuites
==============================================================================
Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu...
==============================================================================
Instantiate VFW Downloaded:service-Vfw20190614175232-csar.csar
| FAIL |
'{"request":{"requestId":"5dd37992-a90a-40f8-b0ef-aad892fdf87e","startTime":"Fri, 14 Jun 2019 17:57:28 GMT","requestScope":"vfModule","requestType":"createInstance","requestDetails":{"modelInfo":{"modelCustomizationName":"F411a7edB86f4a6dA752..base_vfw..module-0","modelInvariantId":"ab49698e-3278-4694-9187-58242bd88673","modelType":"vfModule","modelName":"F411a7edB86f4a6dA752..base_vfw..module-0","modelVersion":"1","modelCustomizationUuid":"9324a398-ce1c-4195-aac6-e1ebcdbad28d","modelVersionId":"2535b1e1-b689-4072-90ca-4edf81769f6e","modelCustomizationId":"9324a398-ce1c-4195-aac6-e1ebcdbad28d","modelUuid":"2535b1e1-b689-4072-90ca-4edf81769f6e","modelInvariantUuid":"ab49698e-3278-4694-9187-58242bd88673","modelInstanceName":"F411a7edB86f4a6dA752..base_vfw..module-0"},"requestInfo":{"source":"VID","instanceName":"Vfmodule_Ete_vFW_3a3b1195-8ce2-478d-a74a-4a487cffdce3","suppressRollback":false,"requestorId":"demo"},"relatedInstanceList":[{"relatedInstance":{"instanceId":"b884f361-a83a-4931-a73b-2abf696eaab1","modelInfo":{"modelInvariantId":"c3a0bb4b-6c7e-4fed-88e4-271a0051c3cd","modelType":"service","modelName":"vFW 2019-06-14 17:52:32","modelVersion":"1.0","modelVersionId":"928d1871-47df-4016-9fb1-701550afee28","modelUuid":"928d1871-47df-4016-9fb1-701550afee28","modelInvariantUuid":"c3a0bb4b-6c7e-4fed-88e4-271a0051c3cd"}}},{"relatedInstance":{"instanceId":"bde38080-7b44-4dcf-9da8-10d17ac60e8e","modelInfo":{"modelCustomizationName":"f411a7ed-b86f-4a6d-a752 0","modelInvariantId":"43362db2-2b1c-4f02-85af-edbbd67f5376","modelType":"vnf","modelName":"f411a7ed-b86f-4a6d-a752","modelVersion":"1.0","modelCustomizationUuid":"9bec8289-15e7-4a20-830e-cbbf8b6abfd6","modelVersionId":"e745bddc-b488-400c-88ec-b73ad462549a","modelCustomizationId":"9bec8289-15e7-4a20-830e-cbbf8b6abfd6","modelUuid":"e745bddc-b488-400c-88ec-b73ad462549a","modelInvariantUuid":"43362db2-2b1c-4f02-85af-edbbd67f5376","modelInstanceName":"f411a7ed-b86f-4a6d-a752 0"}}}],"cloudConfiguration":{"tenantId":"52c68cf8df044ffaa492e28b7c41d680","cloudOwner":"CloudOwner","lcpCloudRegionId":"RegionOne"},"requestParameters":{"testApi":"VNF_API","usePreload":true}},"instanceReferences":{"serviceInstanceId":"b884f361-a83a-4931-a73b-2abf696eaab1","vnfInstanceId":"bde38080-7b44-4dcf-9da8-10d17ac60e8e","vfModuleInstanceId":"0ad05c59-d989-4761-8725-3d0b64b48907","vfModuleInstanceName":"Vfmodule_Ete_vFW_3a3b1195-8ce2-478d-a74a-4a487cffdce3","requestorId":"demo"},"requestStatus":{"requestState":"FAILED","statusMessage":"Received vfModuleException from VnfAdapter: category='INTERNAL' message='404 NOT FOUND: ' rolledBack='true'","percentProgress":100,"finishTime":"Fri, 14 Jun 2019 17:57:50 GMT"}}}' contains 'FAILED'
------------------------------------------------------------------------------
Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Testsuites | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output: /share/logs/0014_demo_instantiateVFW/output.xml
Log: /share/logs/0014_demo_instantiateVFW/log.html
Report: /share/logs/0014_demo_instantiateVFW/report.html


Thanks for you help


    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      Hi Brian,

      Thanks for your reply. I insert some printscreen here showing the so-openstack-adapter and the robot config.

      But I'm pretty sure that everything are O.K with the values I wrote in the file.

      I'm afraid of something about my OpenStack installation. When I mounted OpenStack, I used the DevStack distribution and not all the services are installed by default with this setup. The default component installed are 


      keystone, glance,  nova, placement, cinder,  neutron,  horizon








      By default the heat (orchestration) component is not installed. Is it an essential component for ONAP when it want to create new VM. Can it be the cause of the 404 error. I mean maybe, SO is looking for a service in OpenStack and do not find it?

      Thanks,




      1. Brian Freeman

        HEAT is essential to how we do VNF instantiation in openstack. Its heat templates that we are sending to Openstack.

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

      root@sb04-rancher:~/oom/kubernetes/robot# ./demo-k8s.sh onap instantiateVFW

      Number of parameters:

      2

      KEY:

      instantiateVFW

      ++ kubectl --namespace onap get pods

      ++ sed 's/ .*//'

      ++ grep robot

      + POD=dev-robot-robot-7b46f9fd7c-rbgp5

      + ETEHOME=/var/opt/ONAP

      ++ kubectl --namespace onap exec dev-robot-robot-7b46f9fd7c-rbgp5 -- bash -c 'ls -1q /share/logs/ | wc -l'

      + export GLOBAL_BUILD_NUMBER=139

      + GLOBAL_BUILD_NUMBER=139

      ++ printf %04d 139

      + OUTPUT_FOLDER=0139_demo_instantiateVFW

      + DISPLAY_NUM=229

      + VARIABLEFILES='-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py'

      + kubectl --namespace onap exec dev-robot-robot-7b46f9fd7c-rbgp5 -- /var/opt/ONAP/runTags.sh -V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py -v GLOBAL_BUILD_NUMBER:9817 -d /share/logs/0139_demo_instantiateVFW -i instantiateVFW --display 229

      Starting Xvfb on display :229 with res 1280x1024x24

      Executing robot tests at log level TRACE

      ==============================================================================

      Testsuites

      ==============================================================================

      Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu...

      ==============================================================================

      Instantiate VFW

      Downloaded:service-Vfw20190621005510-csar.csar

      Set VNF ProvStatus: 6661a922-ec63-4e61-b03e-b3042bad8201 to ACTIVE

      Customer Name=DemoCust_53c1456e-6548-4341-bab1-2123fadf2763

      VNF Module Name=Vfmodule_Ete_vFW_53c1456e_0

      Update old vFWCL Policy for ModelInvariantID=d33a2de3-b151-4e30-9d7b-09d061d803ae

      Create vFWCL Monitoring Policy

      Create vFWCL Operational Policy

      {u'content': u'controlLoop%3A%0A++++version%3A+2.0.0%0A++++controlLoopName%3A+ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a%0A++++trigger_policy%3A+unique-policy-id-1-modifyConfig%0A++++timeout%3A+1200%0A++++abatement%3A+false%0Apolicies%3A%0A++++-+id%3A+unique-policy-id-1-modifyConfig%0A++++++name%3A+modify_packet_gen_config%0A++++++description%3A%0A++++++actor%3A+APPC%0A++++++recipe%3A+ModifyConfig%0A++++++target%3A%0A++++++++++resourceID%3A+d33a2de3-b151-4e30-9d7b-09d061d803ae%0A++++++++++type%3A+VNF%0A++++++payload%3A%0A++++++++++streams%3A+%27%7B%22active-streams%22%3A5%7D%27%0A++++++retry%3A+0%0A++++++timeout%3A+300%0A++++++success%3A+final_success%0A++++++failure%3A+final_failure%0A++++++failure_timeout%3A+final_failure_timeout%0A++++++failure_retries%3A+final_failure_retries%0A++++++failure_exception%3A+final_failure_exception%0A++++++failure_guard%3A+final_failure_guard%0A', u'policy-id': u'operational.modifyconfig'}

      Push vFWCL To PDP Group

      Validate vFWCL Policy

      APPC Mount Point for VNF Module Name=Vfmodule_Ete_vFW_53c1456e_0

      | PASS |

      ------------------------------------------------------------------------------

      Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | PASS |

      1 critical test, 1 passed, 0 failed

      1 test total, 1 passed, 0 failed

      ==============================================================================

      Testsuites | PASS |

      1 critical test, 1 passed, 0 failed

      1 test total, 1 passed, 0 failed

      ==============================================================================

      Output: /share/logs/0139_demo_instantiateVFW/output.xml

      Log: /share/logs/0139_demo_instantiateVFW/log.html

      Report: /share/logs/0139_demo_instantiateVFW/report.html


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

        The error message is from the vfModule stage from the SO VNFAdapter , so you successfully got all the way up to the interface from SO to Openstack.  A HTTP 404 Not Found usually means that you have the right IP address and port but not the rigth uri to openstack.  Check to make sure that the SO configuration in integration-override.yaml or in the values.yaml for the Openstack adapter is correct for your envirnment. 

        See OOM-1786 for more explicit examples of how to set the KEYSTONE and KEYSTONE_V3 identity services data.

        Robot also has a tag for setting a KEYSTONE_V3 tag (some typo's in the variables that slipped through so be careful in the setting of the values).





          CommentAdd your comment...