com.vmware.photon.controller.apife.exceptions.external.TaskNotCompletedException: Step "StepEntity{id=null, kind=step, state=ERROR, operation=UPLOAD_IMAGE, startedTime=Fri Aug 12 07:44:51 GMT 2016, queuedTime=Fri Aug 12 07:44:51 GMT 2016, endTime=Fri Aug 12 07:45:01 GMT 2016, sequence=0, error=StepErrorEntity{id=null, kind=step-error, code=InternalError, message=Expected exactly 1 image datastore named 'vsanDatastore', found [2]}}" did not complete.

GitHub | crook | 4 months ago
  1. 0

    GitHub comment 43#239460710

    GitHub | 4 months ago | crook
    com.vmware.photon.controller.apife.exceptions.external.TaskNotCompletedException: Step "StepEntity{id=null, kind=step, state=ERROR, operation=UPLOAD_IMAGE, startedTime=Fri Aug 12 07:44:51 GMT 2016, queuedTime=Fri Aug 12 07:44:51 GMT 2016, endTime=Fri Aug 12 07:45:01 GMT 2016, sequence=0, error=StepErrorEntity{id=null, kind=step-error, code=InternalError, message=Expected exactly 1 image datastore named 'vsanDatastore', found [2]}}" did not complete.

    Root Cause Analysis

    1. com.vmware.photon.controller.apife.exceptions.external.TaskNotCompletedException

      Step "StepEntity{id=null, kind=step, state=ERROR, operation=UPLOAD_IMAGE, startedTime=Fri Aug 12 07:44:51 GMT 2016, queuedTime=Fri Aug 12 07:44:51 GMT 2016, endTime=Fri Aug 12 07:45:01 GMT 2016, sequence=0, error=StepErrorEntity{id=null, kind=step-error, code=InternalError, message=Expected exactly 1 image datastore named 'vsanDatastore', found [2]}}" did not complete.

      at com.vmware.photon.controller.apife.commands.tasks.TaskCommand.execute()
    2. com.vmware.photon
      ImagesResource.upload
      1. com.vmware.photon.controller.apife.commands.tasks.TaskCommand.execute(TaskCommand.java:117)
      2. com.vmware.photon.controller.apife.commands.BaseCommand.run(BaseCommand.java:58)
      3. com.vmware.photon.controller.apife.clients.ImageFeClient.runImageUploadSyncSteps(ImageFeClient.java:108)
      4. com.vmware.photon.controller.apife.clients.ImageFeClient.create(ImageFeClient.java:68)
      5. com.vmware.photon.controller.apife.resources.image.ImagesResource.parseImageDataFromRequest(ImagesResource.java:150)
      6. com.vmware.photon.controller.apife.resources.image.ImagesResource.upload(ImagesResource.java:90)
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    4. jersey-core-server
      ResourceMethodInvocationHandlerFactory$1.invoke
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      1 frame