Uploaded image for project: 'Command Line Interface'
  1. Command Line Interface
  2. CLI-228

Error Creating Service instance using CLI, CLI puts invalid Request ID

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • El Alto Release
    • El Alto Release
    • None
    • Windriver Lab

      k8s IP; 10.12.5.110

      CLI host vm: k8s-01 : 10.12.5.110

      oom-nfs IP: 10.12.5.173

      On trying to create a service instance using the following command, i see an error

      Command:

      oclip service-create -w vFW -la 32.897480 -lo 97.040443 -o multicloud -A True -i vfw-hpa-01 -y some_company -x Project-Demonstration -q demo -O OE-Demonstration -k hpa-instance-vFW -P VNF_API -H oof -n a9031c62-bb9e-4db4-bee0-691768ed94f4 -e 51e3401d-2924-40e7-827f-ca7ec567e5de -j 1.0 -S hpa_cust -g a9031c62-bb9e-4db4-bee0-691768ed94f4 -z 98d5c337-ccd0-49d7-87b6-14b9a33d4c8a -c hpa_cust -u InfraPortalClient -p password1$ -m http://10.12.5.110:30277 --debug

       

      Output:

      {{500::0x6001::Command service-create failed to execute, {"requestError":{"serviceException":

      {"messageId":"SVC0002","text":"Request Id req-585838e3-6f3f-40be-9f8b-dbf1190c178b is not a valid UUID"}

      }}}}URL: http://10.12.5.110:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances
      Method: post
      Request Queries: {}
      {{Request Body: { "requestDetails":{ "modelInfo":

      { "modelType":"service", "modelInvariantId":"51e3401d-2924-40e7-827f-ca7ec567e5de", "modelUuid":"a9031c62-bb9e-4db4-bee0-691768ed94f4", "modelName":"vfw-hpa-01", "modelVersion":"1.0", "modelVersionId":"a9031c62-bb9e-4db4-bee0-691768ed94f4", "modelInvariantUuid" : "51e3401d-2924-40e7-827f-ca7ec567e5de" }

      , "subscriberInfo":{ "globalSubscriberId":"hpa_cust", "subscriberName":"hpa_cust" }, "requestInfo":{ "requestorId":"demo", "instanceName":"hpa-instance-vFW", "source":"CLI", "suppressRollback":"false" }, "requestParameters":{ "subscriptionServiceType":"vFW", "aLaCarte":"True", "testApi":"VNF_API", "userParams":[ { "name":"Customer_Location", "value":

      { "customerLatitude":"32.897480", "customerLongitude":"97.040443", "customerName":"some_company" }

      }, { "name":"Homing_Solution", "value":"oof" }, { "name":"orchestrator", "value":"multicloud" } ] }, "project":{ "projectName":"Project-Demonstration" }, "owningEntity":{ "owningEntityId":"98d5c337-ccd0-49d7-87b6-14b9a33d4c8a", "owningEntityName":"OE-Demonstration" } } }}}
      Request Headers: {Authorization=Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==, X-FromAppId=ONAP CLI, Accept=application/json, X-TransactionId=req-585838e3-6f3f-40be-9f8b-dbf1190c178b, Content-Type=application/json}
      Request Cookies: {}
      binaryData=false
      Context=HTTP Status: 500
      {{Response Body: {"requestError":{"serviceException":

      {"messageId":"SVC0002","text":"Request Id req-585838e3-6f3f-40be-9f8b-dbf1190c178b is not a valid UUID"}

      }}}}
      Response Headers: {X-Frame-Options=DENY, Cache-Control=no-cache, no-store, max-age=0, must-revalidate, X-Content-Type-Options=nosniff, Connection=close, Set-Cookie=JSESSIONID=CF79A53E7395DC83E6185467B01FFDFB; Path=/; HttpOnly, Pragma=no-cache, Expires=0, X-XSS-Protection=1; mode=block, Content-Length=142, Date=Mon, 30 Sep 2019 22:16:51 GMT, Content-Type=application/json}
      Response Cookies: {Authorization=Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==, X-FromAppId=ONAP CLI, JSESSIONID=CF79A53E7395DC83E6185467B01FFDFB, X-TransactionId=req-585838e3-6f3f-40be-9f8b-dbf1190c178b}

       

       

       

      On doing the same thing using postman, I do not see the error

            mkr1481 mkr1481
            itohan itohan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: