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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by crook
, 1 year ago
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.
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(TaskCommand.java:117)
at com.vmware.photon.controller.apife.commands.BaseCommand.run(BaseCommand.java:58)
at com.vmware.photon.controller.apife.clients.ImageFeClient.runImageUploadSyncSteps(ImageFeClient.java:108)
at com.vmware.photon.controller.apife.clients.ImageFeClient.create(ImageFeClient.java:68)
at com.vmware.photon.controller.apife.resources.image.ImagesResource.parseImageDataFromRequest(ImagesResource.java:150)
at com.vmware.photon.controller.apife.resources.image.ImagesResource.upload(ImagesResource.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.