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

VID Failed to retrieve service definitions from SDC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • ASDC Client
    • None

      I was trying to follow the vFW use case tutorial, and after distributed the service, I opened the VID tab, clicked the "deploy" button next to the service, and nothing happened. In the application log, I saw:

       

      2017-08-30 14:58:54,773|e03a08b3-a696-42c8-a621-c393668d5acf||http-apr-8080-exec-2||/rest/models/services/fc596d79-06dc-41ca-b211-c4285740018a|292b461a-2954-4b63-a3f9-f916c7ad3bc0|ERROR|INFORMATIONAL|10.42.168.243|vid-server-1020828147-5xwn3|||| Failed to retrieve service definitions from SDC
      org.openecomp.vid.asdc.AsdcCatalogException: ASDC response could not be processed
      at org.openecomp.vid.asdc.rest.RestfulAsdcClient.getService(RestfulAsdcClient.java:281) ~[classes/:na]
      at org.openecomp.vid.controller.VidController.getServices(VidController.java:206) ~[classes/:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_141]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_141]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_141

      ...

      ...

      ...

      Caused by: javax.ws.rs.client.ResponseProcessingException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "resoucreType" (class org.openecomp.vid.asdc.beans.SubResource), not marked as ignorable (7 known properties: "artifacts", "resourceType", "resourceName", "resourceVersion", "resourceInvariantUUID", "resourceInstanceName", "resourceUUID"])
      at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@59ddf2e8; line: 1, column: 589] (through reference chain: org.openecomp.vid.asdc.beans.Service["resources"]>java.util.ArrayList[0]>org.openecomp.vid.asdc.beans.SubResource["resoucreType"])
      at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:809) ~[jersey-client-2.23.1.jar:na]
      at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92) ~[jersey-client-2.23.1.jar:na]
      at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:701) ~[jersey-client-2.23.1.jar:na]
      at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.23.1.jar:na]
      at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.23.1.jar:na]
      at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[jersey-common-2.23.1.jar:na]
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[jersey-common-2.23.1.jar:na]
      at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:697) ~[jersey-client-2.23.1.jar:na]
      at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420) ~[jersey-client-2.23.1.jar:na]
      at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:316) ~[jersey-client-2.23.1.jar:na]
      at org.openecomp.vid.asdc.rest.RestfulAsdcClient.getService(RestfulAsdcClient.java:278) ~[classes/:na]

      ...

      ...

      ...

       

      Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "resoucreType" (class org.openecomp.vid.asdc.beans.SubResource), not marked as ignorable (7 known properties: "artifacts", "resourceType", "resourceName", "resourceVersion", "resourceInvariantUUID", "resourceInstanceName", "resourceUUID"])
      at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@59ddf2e8; line: 1, column: 589] (through reference chain: org.openecomp.vid.asdc.beans.Service["resources"]>java.util.ArrayList[0]>org.openecomp.vid.asdc.beans.SubResource["resoucreType"])
      at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51) ~[jackson-databind-2.6.3.jar:2.6.3]
      at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:839) ~[jackson-databind

       

       

       

            sye sye
            sye sye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: