Error deploying vm failed due to datastore

Hi Team,

I have a image datastore with name xonglhost1 and i am trying to create a vm with that image and deploy into xongl-cpf server. My frontend hostname is xonglmgmt, while i am creating a vm i can see that it fails as it is trying to clone base image from frontend server rather than datastore server.

Fri Jun 26 19:13:36 2020 [Z0][VM][I]: New state is ACTIVE
Fri Jun 26 19:13:36 2020 [Z0][VM][I]: New LCM state is PROLOG
Fri Jun 26 19:13:37 2020 [Z0][TM][I]: Command execution failed (exit code: 1): /var/lib/one/remotes/tm/ssh/clone xonglmgmt:/var/lib/one//datastores/124/6b98b5de5c410d5231cef6ede420c0ef xongl-cpf:/var/lib/one//datastores/122/1342/disk.0 1342 124
Fri Jun 26 19:13:37 2020 [Z0][TM][I]: clone: Cloning xonglmgmt:/var/lib/one//datastores/124/6b98b5de5c410d5231cef6ede420c0ef in /var/lib/one/datastores/122/1342/disk.0
Fri Jun 26 19:13:37 2020 [Z0][TM][E]: clone: Command “scp -r xonglmgmt:/var/lib/one//datastores/124/6b98b5de5c410d5231cef6ede420c0ef xongl-cpf:/var/lib/one//datastores/122/1342/disk.0” failed: /var/lib/one//datastores/124/6b98b5de5c410d5231cef6ede420c0ef: No such file or directory
Fri Jun 26 19:13:37 2020 [Z0][TM][E]: Error copying xonglmgmt:/var/lib/one//datastores/124/6b98b5de5c410d5231cef6ede420c0ef to xongl-cpf:/var/lib/one//datastores/122/1342/disk.0
Fri Jun 26 19:13:37 2020 [Z0][TM][E]: Error executing image transfer script: Error copying xonglmgmt:/var/lib/one//datastores/124/6b98b5de5c410d5231cef6ede420c0ef to xongl-cpf:/var/lib/one//datastores/122/1342/disk.0
Fri Jun 26 19:13:37 2020 [Z0][VM][I]: New LCM state is PROLOG_FAILURE

You probably have a configuration error in your image datastore. By default the ssh datastore stores the images at /var/lib/one/datastores/<id> in the frontend. You need to add the BRIDGE_LIST parameter in the image datastore and set it to the datastore server hostname. Make sure the frontend can ssh into that server, as oneadmin, without any sort of prompt.

Hi Daniel,

Thanks for your reply.

Currently the Bridge list is set and frontend can login without promt to host as oneadmin

Does all datastore needs to be mounted on frontend, can we have a datastore in some host ? As currently it is trying to find image in frontend instead of host