No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Failed to Import VM template

Publication Date:  2013-12-31 Views:  388 Downloads:  0
Issue Description
Try to import vm template, but encountered a error.
Alarm Information
Handling Process
Analysing the logs:
(1) User begun to import template at that time:
[2013-08-26 16:15:50,742] [INFO ] [027290] [027313] [server-marshal.c 10172] [CNA] enter ncCheckRemoteDeviceMarshal()

(2) CIFS service was normal and access successfully:
[2013-08-26 16:33:43,981] [INFO ] [027290] [015754] [data.c 2758] [CNA] mountCifs: url=//\ V100R003C00SPC200_GMN_FS/, mntpath=/opt/galax/mount/template/i-00000003, namelen=6, wdlen=1

(3) But at 16:37:18, Template PC didn't response the network, and timeout 300 seconds. Causing transfering failed.
Aug 26 16:42:18 CNA03 kernel: [263012.776058] CIFS VFS: Server has not responded in 300 seconds. Reconnecting...
Aug 26 16:42:18 CNA03 kernel: [263012.776161] CIFS VFS: Send error in read = -11

(4) Report failed to import template:
Failed to read data  from source file: -112
Failed to clone /opt/galax/mount/template//i-00000003/FusionManager V100R003C00SPC200_GMN_FS-xvda.vhd: -112
[2013-08-26 16:42:48,779] [INFO ] [027290] [015754] [misc.c 852] [CNA] vrun_fdclose(): [ionice -c 3 vhd-util convert -n /opt/galax/mount/template//i-00000003/FusionManager\ V100R003C00SPC200_GMN_FS-xvda.vhd -d /POME/datastore_1/vol/vol_BBFFE574CAE4448F9E59048874673F04/vol_BBFFE574CAE4448F9E59048874673F04.vhd -m vhd -o vhd -r  >> /var/log/galaxenginelog/vna/nc.log 2>&1]=28672

(5)Inspect the network and firewall。 
Root Cause
There are many reasons lead to the problem:
1. CIFS service failed, share file path is wrong.
2. Domain account or password is invalid.
3. Network is abnormal, causes data tranfer unsuccessfully.
4. There's no enough space to storage the template file.