2
1
0

with the latest 1.1-Staging docker image i am trying to add catalog resource to sdc

getting Internal server error


Request : 

http://{{sdc_ip}}:8080/sdc2/rest/v1/catalog/resources 

{"artifacts": {},
"attributes": [],
"capabilities": {},
"categories": [{"name": "Generic", "normalizedName": "generic", "subcategories": [{"icons": ["database"], "name": "Abstract", "normalizedName": "abstract", "uniqueId": "resourceNewCategory.generic.abstract"}], "uniqueId": "resourceNewCategory.generic"}],
"componentInstances": [],
"componentInstancesAttributes": {},
"componentInstancesProperties": {},
"componentType": "RESOURCE",
"contactId": "cs0008",
"csarUUID": "02853fc314ca4e5e84b16c5f445b04c4",
"csarVersion": "1.0",
"deploymentArtifacts": {},
"description": "vendor tapan product",
"groups": [],
"icon": "defaulticon",
"name": "ac8f2340-58dd-43cb-95b0",
"properties": [],
"requirements": {},
"resourceType": "VF",
"tags": ["ac8f2340-58dd-43cb-95b0"],
"toscaArtifacts": {},
"vendorName": "77ec391b-ca98-4c49-bd1e",
"vendorRelease": "1.0"
}


Response :

{
"requestError": {
"policyException": {
"messageId": "POL5000",
"text": "Error: Internal Server Error. Please try again later.",
"variables": []
}
}
}



At the backend i am getting below error.

BE|cs0008|DEBUG||172.17.0.5|10.247.59.51|10.247.59.49|o.o.s.b.c.i.ResourceBusinessLogic||ActivityType=<?>, Desc=<failed to create relation between resource instances status is ResponseFormat[status=500, requestErrorWrapper=org.openecomp.sdc.exception.ResponseFormat$RequestErrorWrapper@25f9ecbd]>


2 answers

  1.  
    2
    1
    0

    This error disappeared with latest docker images

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

      ONAP-1.1.0

      Seeing the same issue while creating vFW VF

      1. Manoop Talasila

        Michael Lando, Can you please address this issue in SDC. Thanks.

      CommentAdd your comment...