Uploaded image for project: 'Virtual Infrastructure Deployment'
  1. Virtual Infrastructure Deployment
  2. VID-576

MACRO Orchestration via VID Fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Frankfurt Release
    • Dublin Release, El Alto Release
    • None
    • None

      Ittay, Marco and I tested the MACRO Orchestration feature via VID and its failing with the following error below. Looks like VID Is not sending the right request. 

       

      MACRO Orchestration via VID Request: 

      {
      "variables": {
      "bpmnRequest": {
      "value": {
      "requestDetails": {
      "modelInfo":

      { "modelInvariantId": "99aa13c8-d4bb-440c-914f-f93e630b0053", "modelType": "service", "modelName": "vLB CDS Service", "modelVersion": "1.0", "modelVersionId": "f4a2aa01-ef92-461d-82ef-9a9f78b0940e", "modelUuid": "f4a2aa01-ef92-461d-82ef-9a9f78b0940e", "modelInvariantUuid": "99aa13c8-d4bb-440c-914f-f93e630b0053" }

      ,
      "requestInfo":

      { "productFamilyId": "0bc55ffc-96c1-4240-9f11-88b89ae894ed", "source": "VID", "suppressRollback": false, "requestorId": "demo" }

      ,
      "subscriberInfo":

      { "globalSubscriberId": "Demonstration" }

      ,
      "cloudConfiguration":

      { "tenantId": "915ac655adba49df983e73240f5457e2", "cloudOwner": "CloudOwner", "lcpCloudRegionId": "RegionOne" }

      ,
      "requestParameters": {
      "subscriptionServiceType": "vLB",
      "userParams": [

      { "name": "aic_zone", "value": "nova1" }

      ],
      "aLaCarte": false,
      "usePreload": false
      },
      "owningEntity":

      { "owningEntityId": "62864b05-4b52-4fd1-a634-1341f9fe1838", "owningEntityName": "Test-Entity" }

      }
      },
      "type": "String"
      },
      "requestId":

      { "value": "782ace08-ba8a-4ef4-9e5d-1f595336bd50", "type": "String" }

      ,
      "mso-request-id":

      { "value": "782ace08-ba8a-4ef4-9e5d-1f595336bd50", "type": "String" }

      ,
      "isBaseVfModule":

      { "value": false, "type": "Boolean" }

      ,
      "recipeTimeout":

      { "value": 180, "type": "Integer" }

      ,
      "requestAction":

      { "value": "createInstance", "type": "String" }

      ,
      "serviceInstanceId":

      { "value": "", "type": "String" }

      ,
      "pnfCorrelationId":

      { "value": "", "type": "String" }

      ,
      "vnfId":

      { "value": "", "type": "String" }

      ,
      "vfModuleId":

      { "value": "", "type": "String" }

      ,
      "volumeGroupId":

      { "value": "", "type": "String" }

      ,
      "networkId":

      { "value": "", "type": "String" }

      ,
      "configurationId":

      { "value": "", "type": "String" }

      ,
      "serviceType":

      { "value": "", "type": "String" }

      ,
      "vnfType":

      { "value": "", "type": "String" }

      ,
      "vfModuleType":

      { "value": "", "type": "String" }

      ,
      "networkType":

      { "value": "", "type": "String" }

      ,
      "recipeParams":

      { "value": null, "type": "String" }

      ,
      "host":

      { "value": null, "type": "String" }

      ,
      "apiVersion":

      { "value": "7", "type": "String" }

      ,
      "aLaCarte":

      { "value": false, "type": "Boolean" }

      ,
      "requestUri":

      { "value": "v7/serviceInstances", "type": "String" }

      ,
      "instanceGroupId":

      { "value": "", "type": "String" }

      }
      }

       

       

      SO RESPONSE:

       

       

      Location=http://so-request-db-adapter.onap:8083/infraActiveRequests/782ace08-ba8a-4ef4-9e5d-1f595336bd50, X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Thu, 25 Jul 2019 01:06:59 GMT]}
      2019-07-25T01:07:00.543Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: {
      "clientRequestId" : null,
      "action" : "createInstance",
      "requestStatus" : "FAILED",
      "statusMessage" : "Exception in create execution list null",
      "rollbackStatusMessage" : null,
      "flowStatus" : null,
      "retryStatusMessage" : null,
      "progress" : 100,
      "startTime" : "2019-07-25T01:06:59.000+0000",
      "endTime" : null,
      "source" : "VID",
      "vnfId" : null,
      "vnfName" : null,
      "vnfType" : null,
      "serviceType" : null,
      "aicNodeClli" : null,
      "tenantId" : "915ac655adba49df983e73240f5457e2",
      "provStatus" : null,
      "vnfParams" : null,
      "vnfOutputs" : null,
      "requestBody" : "{\"requestDetails\":{\"requestInfo\":

      {\"source\":\"VID\",\"suppressRollback\":false,\"requestorId\":\"demo\",\"productFamilyId\":\"0bc55ffc-96c1-4240-9f11-88b89ae894ed\"}

      ,\"modelInfo\":{\"modelType\":\"service\",\"modelInvariantId\":\"99aa13c8-d4bb-440c-914f-f93e630b0053\",\"modelVersionId\":\"f4a2aa01-ef92-461d-82ef-9a9f78b0940e\",\"modelName\":\"vLB CDS Service\",\"modelVersion\":\"1.0\"},\"requestParameters\":{\"userParams\":[

      {\"name\":\"aic_zone\",\"value\":\"nova1\"}

      ],\"subscriptionServiceType\":\"vLB\",\"aLaCarte\":false},\"cloudConfiguration\":{\"lcpCloudRegionId\":\"RegionOne\",\"cloudOwner\":\"CloudOwner\",\"tenantId\":\"915ac655adba49df983e73240f5457e2\"},\"subscriberInfo\":{\"globalSubscriberId\":\"Demonstration\"},\"owningEntity\":{\"owningEntityId\":\"62864b05-4b52-4fd1-a634-1341f9fe1838\",\"owningEntityName\":\"Test-Entity\"}}}",
      "responseBody" : null,
      "lastModifiedBy" : "CamundaBPMN",
      "modifyTime" : "2019-07-25T01:07:00.531+0000",
      "requestType" : null,
      "volumeGroupId" : null,
      "volumeGroupName" : null,
      "vfModuleId" : null,
      "vfModuleName" : null,
      "vfModuleModelName" : null,
      "aaiServiceId" : null,
      "aicCloudRegion" : "RegionOne",
      "callBackUrl" : null,
      "correlator" : null,
      "serviceInstanceId" : "69935f19-ce2b-4ac2-96ab-b02cb064f92c",
      "serviceInstanceName" : null,
      "requestScope" : "service",
      "requestAction" : "createInstance",
      "networkId" : null,
      "networkName" : null,
      "networkType" : null,
      "requestorId" : "demo",
      "configurationId" : null,
      "configurationName" : null,
      "operationalEnvId" : null,
      "operationalEnvName" : null,
      "instanceGroupId" : null,
      "instanceGroupName" : null,
      "requestUrl" : "http://so.onap:8080/onap/so/infra/serviceInstantiation/v7/serviceInstances",
      "requestURI" : "782ace08-ba8a-4ef4-9e5d-1f595336bd50",
      "_links" : {
      "self" :

      { "href" : "http://so-request-db-adapter.onap:8083/infraActiveRequests/782ace08-ba8a-4ef4-9e5d-1f595336bd50" }

      ,
      "infraActiveRequests" :

      { "href" : "http://so-request-db-adapter.onap:8083/infraActiveRequests/782ace08-ba8a-4ef4-9e5d-1f595336bd50" }

      }

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

      MACRO Orchestration via POSTMAN

      {

      "requestDetails": {
      "subscriberInfo":

      { "globalSubscriberId": "Demonstration" }

      ,
      "requestInfo": {
      "suppressRollback": false,
      "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
      "requestorId": "adt",
      "instanceName": "cds-instance-name",
      "source": "VID"
      },
      "cloudConfiguration":

      { "lcpCloudRegionId": "RegionOne", "tenantId": "915ac655adba49df983e73240f5457e2", "cloudOwner": "CloudOwner" }

      ,
      "requestParameters": {
      "subscriptionServiceType": "vLB",
      "userParams": [

      { "Homing_Solution": "none" }

      ,
      {
      "service": {
      "instanceParams": [],
      "instanceName": "cds-instance-name",
      "resources": {
      "vnfs": [
      {
      "modelInfo": {
      "modelName": "vnf-modelinfo-modelname",
      "modelVersionId": "vnf-modelinfo-modeluuid",
      "modelInvariantUuid": "vnf-modelinfo-modelinvariantuuid",
      "modelVersion": "1.0",
      "modelCustomizationId": "vnf-modelinfo-modelcustomizationuuid",
      "modelInstanceName": "vnf-modelinfo-modelinstancename"
      },
      "cloudConfiguration":

      { "lcpCloudRegionId": "RegionOne", "tenantId": "915ac655adba49df983e73240f5457e2" }

      ,
      "platform":

      { "platformName": "Project-Demonstration" }

      ,
      "lineOfBusiness":

      { "lineOfBusinessName": "LOB-Demonstration" }

      ,
      "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
      "instanceName": "vnf-modelinfo-modelinstancename",
      "instanceParams": [

      { "onap_private_net_id": "ONAP_INTERNAL", "image_name":"ubuntu-16-04-cloud-amd64", "onap_private_subnet_id": "ONAP_INTERNAL", "pub_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCDa3eW5UHRkPMW0tToU/BzZHTNkwhqZUjgQNYPvoM564VikQtxCxY3E099cJZNaDEtLWOQD1h7Mx75E/ba9anbsBtnSVxfgTXjWNyCcwNEEU16z4AC8sTZ5jPababgeaiwwdDC2lDZ1g+blAFo/PZh3O5uB7cH7+PJuxbj9hxlo6tw0s8XV56O5ttt/oS6BRF/YzWkJv0iHt95E+Aw1SQil5VXmtOCR30SyV4bwV0WSp9H5vlPHS49kpbgQgQT+7KO4v0cfB1sw/FRnj7+3CgkL9b+/KnRFfiO+ng2bd8OlnS6Yb4TZmK8J7ld3biOvXTOk+g3XFD9WR1sLzn4IX1 Generated-by-Nova", "sec_group": "default", "flavor_name":"m1.medium", "install_script_version": "1.4.1", "demo_artifacts_version": "1.4.1", "cloud_env": "openstack", "public_net_id": "ONAPM" }

      ],
      "vfModules": [
      {
      "modelInfo": {
      "modelName": "vnf-vfmodule-0-modelinfo-modelname",
      "modelVersionId": "vnf-vfmodule-0-modelinfo-modeluuid",
      "modelInvariantUuid": "vnf-vfmodule-0-modelinfo-modelinvariantuuid",
      "modelVersion": "1",
      "modelCustomizationId": "vnf-vfmodule-0-modelinfo-modelcustomizationuuid"
      },
      "instanceName": "vnf-vfmodule-0-modelinfo-modelname",
      "instanceParams": [

      { "sec_group": "onap_sg_imAd", "public_net_id": "external" }

      ]
      },
      {
      "modelInfo": {
      "modelName": "vnf-vfmodule-1-modelinfo-modelname",
      "modelVersionId": "vnf-vfmodule-1-modelinfo-modeluuid",
      "modelInvariantUuid": "vnf-vfmodule-1-modelinfo-modelinvariantuuid",
      "modelVersion": "1",
      "modelCustomizationId": "vnf-vfmodule-1-modelinfo-modelcustomizationuuid"
      },
      "instanceName": "vnf-vfmodule-1-modelinfo-modelname",
      "instanceParams": [

      { "sec_group": "onap_sg_imAd", "public_net_id": "external" }

      ]
      },
      {
      "modelInfo": {
      "modelName": "vnf-vfmodule-2-modelinfo-modelname",
      "modelVersionId": "vnf-vfmodule-2-modelinfo-modeluuid",
      "modelInvariantUuid": "vnf-vfmodule-2-modelinfo-modelinvariantuuid",
      "modelVersion": "1",
      "modelCustomizationId": "vnf-vfmodule-2-modelinfo-modelcustomizationuuid"
      },
      "instanceName": "vnf-vfmodule-2-modelinfo-modelname",
      "instanceParams": [

      { "sec_group": "onap_sg_imAd", "public_net_id": "external" }

      ]
      },
      {
      "modelInfo": {
      "modelName": "vnf-vfmodule-3-modelinfo-modelname",
      "modelVersionId": "vnf-vfmodule-3-modelinfo-modeluuid",
      "modelInvariantUuid": "vnf-vfmodule-3-modelinfo-modelinvariantuuid",
      "modelVersion": "1",
      "modelCustomizationId": "vnf-vfmodule-3-modelinfo-modelcustomizationuuid"
      },
      "instanceName": "vnf-vfmodule-3-modelinfo-modelname",
      "instanceParams": [

      { "sec_group": "onap_sg_imAd", "public_net_id": "external" }

      ]
      }
      ]
      }
      ]
      },
      "modelInfo": {
      "modelVersion": "1.0",
      "modelVersionId": "service-uuid",
      "modelInvariantId": "service-invariantUUID",
      "modelName": "service-name",
      "modelType": "service"
      }
      }
      }
      ],
      "aLaCarte": false
      },
      "project":

      { "projectName": "Project-Demonstration" }

      ,
      "owningEntity":

      { "owningEntityId": "3b921726-7adb-4e1a-88e5-c078aabcc333", "owningEntityName": "OE-Demonstration" }

      ,
      "modelInfo": {
      "modelVersion": "1.0",
      "modelVersionId": "service-uuid",
      "modelInvariantId": "service-invariantUUID",
      "modelName": "service-name",
      "modelType": "service"
      }
      }
      }

       

       

       

       

       

       

       

       

       

       

       

       

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

              Created:
              Updated:
              Resolved: