Backup: IMPORT_ERROR_PREMATURE_EOF()



  • Hi

    I've got this error and no Idea how to troubleshoot that, everything looks and works fine, and from time to time I've got Error: IMPORT_ERROR_PREMATURE_EOF() on random VMs in backup status.

    What this error means? is this related to storage layer? disk/raid problems?

    Global status: failure
    •	Job ID: fb97d141-a73d-4b44-aad8-e93e7547123d
    •	Run ID: 1557648648623
    •	mode: full
    •	Start time: Sunday, May 12th 2019, 10:10:48 am
    •	End time: Sunday, May 12th 2019, 8:13:29 pm
    •	Duration: 10 hours
    •	Successes: 6 / 7
    ________________________________________
    1 Failure
    30_Prometeusz
    •	UUID: 15d3a7b5-e2ba-183c-0b3c-26228336c969
    •	Start time: Sunday, May 12th 2019, 10:10:48 am
    •	End time: Sunday, May 12th 2019, 8:13:29 pm
    •	Duration: 10 hours
    •	Snapshot ✔
    o	Start time: Sunday, May 12th 2019, 10:10:48 am
    o	End time: Sunday, May 12th 2019, 10:11:15 am
    o	Duration: a few seconds
    •	SRs
    o	x2-ext-sr01 (6933692b-558f-0745-0a01-dd4598981686) 🚨
    	Start time: Sunday, May 12th 2019, 11:55:18 am
    	End time: Sunday, May 12th 2019, 8:11:12 pm
    	Duration: 8 hours
    	Error: IMPORT_ERROR_PREMATURE_EOF()
    	transfer 🚨
    	Start time: Sunday, May 12th 2019, 11:55:18 am
    	End time: Sunday, May 12th 2019, 8:11:12 pm
    	Duration: 8 hours
    	Error: IMPORT_ERROR_PREMATURE_EOF()
    o	b1-ext-backup01 (9e9e47b7-8785-ce31-6b21-6a5ffbbfa062) 🚨
    	Start time: Sunday, May 12th 2019, 11:55:18 am
    	End time: Sunday, May 12th 2019, 8:12:56 pm
    	Duration: 8 hours
    	Error: IMPORT_ERROR_PREMATURE_EOF()
    	transfer 🚨
    	Start time: Sunday, May 12th 2019, 11:55:18 am
    	End time: Sunday, May 12th 2019, 8:12:56 pm
    	Duration: 8 hours
    	Error: IMPORT_ERROR_PREMATURE_EOF()
    ________________________________________
    xo-server-backup-reports v0.16.0
    
    

  • Admin

    This is probably coming from XAPI/host itself. Double check you have enough disk space on your host (on the root and log partitions).



  • Disk space is ok

    
    [root@XCP01 ~]# df -h
    Filesystem                                                                                                 Size  Used Avail Use% Mounted on
    devtmpfs                                                                                                   3.9G   28K  3.9G   1% /dev
    tmpfs                                                                                                      3.9G  300K  3.9G   1% /dev/shm
    tmpfs                                                                                                      3.9G  1.5M  3.9G   1% /run
    tmpfs                                                                                                      3.9G     0  3.9G   0% /sys/fs/cgroup
    /dev/sda1                                                                                                   18G  1.9G   15G  12% /
    xenstore                                                                                                   3.9G     0  3.9G   0% /var/lib/xenstored
    /dev/loop0                                                                                                 8.0M  8.0M     0 100% /var/xen/xc-install
    /dev/sda5                                                                                                  3.9G  414M  3.3G  12% /var/log
    /dev/mapper/XSLocalEXT--85562599--034c--f997--33f9--cd77ac834b08-85562599--034c--f997--33f9--cd77ac834b08   15T  897G   13T   7% /run/sr-mount/85562599-034c-f997-33f9-cd77ac834b08
    /dev/mapper/XSLocalEXT--4dfb2a5b--879b--14ad--ef25--bfc2750fa3bb-4dfb2a5b--879b--14ad--ef25--bfc2750fa3bb   15T   36G   14T   1% /run/sr-mount/4dfb2a5b-879b-14ad-ef25-bfc2750fa3bb
    tmpfs                                                                                                      794M     0  794M   0% /run/user/0
    
    
    [root@XCP02 ~]# df -h
    Filesystem                                                                                                 Size  Used Avail Use% Mounted on
    devtmpfs                                                                                                   3.9G   12K  3.9G   1% /dev
    tmpfs                                                                                                      3.9G  172K  3.9G   1% /dev/shm
    tmpfs                                                                                                      3.9G  1.3M  3.9G   1% /run
    tmpfs                                                                                                      3.9G     0  3.9G   0% /sys/fs/cgroup
    /dev/sda1                                                                                                   18G  1.9G   15G  12% /
    xenstore                                                                                                   3.9G     0  3.9G   0% /var/lib/xenstored
    /dev/loop0                                                                                                 8.0M  8.0M     0 100% /var/xen/xc-install
    /dev/sda5                                                                                                  3.9G  389M  3.3G  11% /var/log
    /dev/mapper/XSLocalEXT--2be5c054--6f96--72a7--74d0--8b81b7fce3eb-2be5c054--6f96--72a7--74d0--8b81b7fce3eb   15T   42G   14T   1% /run/sr-mount/2be5c054-6f96-72a7-74d0-8b81b7fce3eb
    /dev/mapper/XSLocalEXT--6933692b--558f--0745--0a01--dd4598981686-6933692b--558f--0745--0a01--dd4598981686   15T  1.6T   13T  12% /run/sr-mount/6933692b-558f-0745-0a01-dd4598981686
    //10.0.0.30/instalki                                                                                       2.0T  278G  1.7T  15% /run/sr-mount/3f14e5d6-5f38-5ccf-5618-4f9c0e1b2e17
    tmpfs                                                                                                      794M     0  794M   0% /run/user/0
    
    
    [root@backup01 ~]# df -h
    Filesystem                                                                                                 Size  Used Avail Use% Mounted on
    devtmpfs                                                                                                   2.0G     0  2.0G   0% /dev
    tmpfs                                                                                                      2.0G   44K  2.0G   1% /dev/shm
    tmpfs                                                                                                      2.0G  1.1M  2.0G   1% /run
    tmpfs                                                                                                      2.0G     0  2.0G   0% /sys/fs/cgroup
    /dev/sda1                                                                                                   18G  1.8G   15G  11% /
    xenstore                                                                                                   2.0G     0  2.0G   0% /var/lib/xenstored
    /dev/loop0                                                                                                 8.0M  8.0M     0 100% /var/xen/xc-install
    /dev/sda5                                                                                                  3.9G  251M  3.4G   7% /var/log
    /dev/mapper/XSLocalEXT--9e9e47b7--8785--ce31--6b21--6a5ffbbfa062-9e9e47b7--8785--ce31--6b21--6a5ffbbfa062   15T  4.3T  9.4T  32% /run/sr-mount/9e9e47b7-8785-ce31-6b21-6a5ffbbfa062
    tmpfs                                                                                                      393M     0  393M   0% /run/user/0
    
    

  • Admin

    Please provide more info: what kind of backup job? Are you using compression? Do you have all updates installed on all hosts? Is XOA up to date?



  • Disaster recovery, here's the config:
    cce6f680-c81a-46cb-9741-12ec9a419300-image.png


  • Admin

    Okay so maybe there is a race condition somewhere with zstd (gut feeling, about premature EOF and using ZSTD). @johnelse what do you think? Do you need better logs?


Log in to reply