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

Reply via email to