Hi Jordon, You can try running the below mount command on XCP host which runs during this operation to see what is the actual mount problem, you can check it in verbose mode too. "mount -o soft,tcp,timeo=133,retrans=1 <remote directory> <local directory>"
The other error raises a concern of adding unsupported XCP 8.2 version is added properly in CloudStack. I see your previous email thread about XCP-ng 8.2 support. "Failed to create templateUnsupported command issued: org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got the right type of server?" Can you check around the above exception if you get any clue around why exactly it failed. You can try the same operations with some lower versions of XCP-ng and see if it fails there too. Regards, Harikrishna ________________________________ From: Yordan Kostov <yord...@nsogroup.com> Sent: Wednesday, May 5, 2021 6:17 PM To: users@cloudstack.apache.org <users@cloudstack.apache.org> Subject: RE: cannot create template? It seems the host tries to mount the NFS and move the template there. Unfortunately it cannot happen even though NFS can be mounted manualy or through Cloudstack when instances are deployed. Output from XCPNG log files -> /var/log/cloud/cloud.log the following messages are seen. DEBUG [root] Unexpected error while trying to mount x.x.x.x:/var/secondary to /var/run/cloud_mount/5c3a0c95-719c-4b1b-9d09-77f1dd475003 DEBUG [root] create_secondary_storage_folder failed. DEBUG [root] CommandException raised while trying to umount /var/run/cloud_mount/5c3a0c95-719c-4b1b-9d09-77f1dd475003 DEBUG [root] #### CLOUD enter delete_secondary_storage_folder #### DEBUG [root] delete_secondary_storage_folder, args: {'folder': 'template/tmpl/2/211', 'remoteMountPath': 'x.x.x.x:/var/secondary'} DEBUG [root] Unexpected error while trying to mount x.x.x.x:/var/secondary to /var/run/cloud_mount/244482cf-48e4-4acf-bcd3-6c37bfac5014 DEBUG [root] delete_secondary_storage_folder failed. DEBUG [root] CommandException raised while trying to umount /var/run/cloud_mount/244482cf-48e4-4acf-bcd3-6c37bfac5014 NFS firewall and XCPNG iptables are disabled. Best regards, Jordan From: Yordan Kostov Sent: Wednesday, May 5, 2021 1:15 PM To: 'users@cloudstack.apache.org' <users@cloudstack.apache.org> Subject: cannot create template? Hey everyone, Bumped into the following error today while trying to create a template from ROOT volume. Environment is: CS 4.15 + XCPNG 8.2 + presetup - Fiber storage The process failed with the following error message in the management server logs: callHostPlugin failed for cmd: create_secondary_storage_folder with args remoteMountPath: X.X.X.X:/var/secondary, newFolder: template/tmpl/2/206, due to There was a failure communicating with the plugin. GUI error is - (Centos 7) Failed to create templateUnsupported command issued: org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got the right type of server? I am not really sure where to start here, there are no blockages on the networking side, also the NFS can mount to the hosts successfully and instances can be deployed from ISOs. Best Regards, Jordan