zipurman / oVIRT_Simple_Backup

A REST API backup using PHP for oVirt 4.2.x
GNU General Public License v3.0
56 stars 32 forks source link

No partitions on migrate #35

Closed malkxavian closed 5 years ago

malkxavian commented 6 years ago

Expected behaviour

When I migrate from xenserver to ovirt, I attach the migrate disk to new VM and I expected it would work.

Actual behaviour

After migration, when I attach this disk to the new VM, there's no data (even no partitions)

Steps to reproduct the behaviour

oVirt version: 4.2.4.5-1.el7 XenServer version: 7.1

Steps to reproduce this issue:

When it finishes, I attach the disk to the migrated machine. I've tried to boot from an iso (CD, ...) and there is no partitions at all.

zipurman commented 6 years ago

The script should create the new VM, create the new disk, image the disk from /mnt/migrate and then attach the disk to the newly created VM for you. If you are having to manually attach the disk, something isnt working as expected. Have a look at /mnt/migrate/ to make sure that the image files are being created there.

zipurman commented 6 years ago

Copy and paste what you see in the logs from the migration.

malkxavian commented 6 years ago

This is one attempt:

[2018-10-30:15:28:48] ------------------------------------------------------ [2018-10-30:15:28:48] Starting Xen Migrate ... d8aac99f-ba1e-3e4e-6028-3eb23ce7bb51 [2018-10-30:15:29:10] Xen - Shutdown - Shutting Down [2018-10-30:15:29:12] Xen - Shutdown - Halted [2018-10-30:15:29:19] Xen - Remove VBD - Removing [2018-10-30:15:29:21] Xen - Remove VBD - Removed [2018-10-30:15:29:24] Xen - Shutdown - Halted [2018-10-30:15:29:26] Xen - Add VBD - Adding [2018-10-30:15:29:29] Xen - Add VBD - Disks Attached [2018-10-30:15:29:35] Xen - Start - Starting [2018-10-30:15:29:37] Xen - Start - Started [2018-10-30:15:29:54] Xen - Imaging - /dev/mapper/migraxens--vg-home [2018-10-30:15:29:55] Xen - Imaging - 1/1 - 0% Start Imaging [2018-10-30:15:29:59] Xen - Imaging - 1/1 - 1% Imaging in progress. [2018-10-30:15:30:08] Xen - Imaging - 1/1 - 2% Imaging in progress. [2018-10-30:15:30:21] Xen - Imaging - 1/1 - 5% Imaging in progress. [2018-10-30:15:30:24] Xen - Imaging - 1/1 - 6% Imaging in progress. [2018-10-30:15:30:29] Xen - Imaging - 1/1 - 7% Imaging in progress. [2018-10-30:15:30:35] Xen - Imaging - 1/1 - 9% Imaging in progress. [2018-10-30:15:30:43] Xen - Imaging - 1/1 - 10% Imaging in progress. [2018-10-30:15:30:47] Xen - Imaging - 1/1 - 12% Imaging in progress. [2018-10-30:15:30:51] Xen - Imaging - 1/1 - 13% Imaging in progress. [2018-10-30:15:30:56] Xen - Imaging - 1/1 - 14% Imaging in progress. [2018-10-30:15:30:59] Xen - Imaging - 1/1 - 15% Imaging in progress. [2018-10-30:15:31:03] Xen - Imaging - 1/1 - 16% Imaging in progress. [2018-10-30:15:31:08] Xen - Imaging - 1/1 - 17% Imaging in progress. [2018-10-30:15:34:32] Xen - Imaging - 1/1 - 71% Imaging in progress. [2018-10-30:15:34:36] Xen - Imaging - 1/1 - 72% Imaging in progress. [2018-10-30:15:34:42] Xen - Imaging - 1/1 - 74% Imaging in progress. [2018-10-30:15:34:47] Xen - Imaging - 1/1 - 75% Imaging in progress. [2018-10-30:15:34:52] Xen - Imaging - 1/1 - 76% Imaging in progress. [2018-10-30:15:34:58] Xen - Imaging - 1/1 - 77% Imaging in progress. [2018-10-30:15:35:07] Xen - Imaging - 1/1 - 79% Imaging in progress. [2018-10-30:15:35:11] Xen - Imaging - 1/1 - 81% Imaging in progress. [2018-10-30:15:35:16] Xen - Imaging - 1/1 - 81% Imaging in progress. [2018-10-30:15:35:20] Xen - Imaging - 1/1 - 83% Imaging in progress. [2018-10-30:15:35:24] Xen - Imaging - 1/1 - 84% Imaging in progress. [2018-10-30:15:35:30] Xen - Imaging - 1/1 - 85% Imaging in progress. [2018-10-30:15:35:37] Xen - Imaging - 1/1 - 87% Imaging in progress. [2018-10-30:15:35:48] Xen - Imaging - 1/1 - 89% Imaging in progress. [2018-10-30:15:35:57] Xen - Imaging - 1/1 - 91% Imaging in progress. [2018-10-30:15:36:02] Xen - Imaging - 1/1 - 93% Imaging in progress. [2018-10-30:15:36:08] Xen - Imaging - 1/1 - 94% Imaging in progress. [2018-10-30:15:36:12] Xen - Imaging - 1/1 - 96% Imaging in progress. [2018-10-30:15:36:16] Xen - Imaging - 1/1 - 96% Imaging in progress. [2018-10-30:15:36:22] Xen - Imaging - 1/1 - 98% Imaging in progress. [2018-10-30:15:36:25] Xen - Imaging - 1/1 - 99% Imaging in progress. [2018-10-30:15:36:29] Xen - Imaging - 1/1 - 0% Imaging in progress. [2018-10-30:15:36:31] Xen - Imaging - 1/1 - 0% Imaging Disk(s) Completed [2018-10-30:15:36:42] Xen - Shutdown - Shutting Down [2018-10-30:15:36:43] Xen - Shutdown - Halted [2018-10-30:15:36:45] Xen - Remove VBD - Removed. [2018-10-30:15:36:48] Xen - Add VBD - Adding [2018-10-30:15:36:51] Xen - Add VBD - Disks Attached [2018-10-30:15:36:55] Restoring Xen Images - Skipping Xen Startup [2018-10-30:15:36:55] Restoring Xen Images - Migrating Disk Data [2018-10-30:15:36:55] Disk 1 - sdz Bootable: true Size: 64424509440 Label: c entreon(;(Centreon-Central-3.4.1) [2018-10-30:15:36:55] ------------------------------------------------------ [2018-10-30:15:36:55] Starting Restore ... -XEN- - -XEN- --> vmsis [2018-10-30:15:37:01] Adding Disk -

false
                <pass_discard>false</pass_discard>
                <interface>virtio_scsi</interface>
                <active>true</active>
                <disk>
                    <description></description>
                    <format>raw</format>
                    <sparse>false</sparse>
                    <name>vmsis_RDISK_0</name>
                    <provisioned_size>64424509440</provisioned_s

ize>

petasan00003
                </disk>
            </disk_attachment>

[2018-10-30:15:37:13] Creating Disk(s) - Disks Created [2018-10-30:15:37:29] Creating Disk(s) - Disk Done [2018-10-30:15:37:31] Imaging Disk(s) Completed [2018-10-30:15:37:32] Restore Imaging: 0/0 - 0% Imaging Disk(s) Completed [2018-10-30:15:37:34] Create New VM -

vmsis
                    <cluster>
                      <name>Cluster-oVirt</name>
                    </cluster>
                    <template>
                      <name>Blank</name>
                    </template>
                    <memory>2147483648</memory>
                    <memory_policy>
                        <max>2147483648</max

2 1 1 hd windows_7 server

[2018-10-30:15:37:37] Update Graphic Console - spice [2018-10-30:15:37:37] VM Create - VM Created [2018-10-30:15:37:37] Detatching Disk From BackupEngine - e6477060-5803-4918 -9775-2fbe98961b75 [2018-10-30:15:37:43] BOOTABLE - 1 [2018-10-30:15:37:43] -- DISK ATTACH -- 1 bootable: true [2018-10-30:15:37:43] <disk id=e6477060-5803-4918-9775-2fb e98961b75>

true true virtio_scsi

[2018-10-30:15:37:44] VM Restore Completed [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached [2018-10-30:15:49:07] Xen - Imaging - /1 - 0% Disk Not Attached

zipurman commented 6 years ago

This part isnt working:

[2018-10-30:15:37:29] Creating Disk(s) - Disk Done [2018-10-30:15:37:31] Imaging Disk(s) Completed [2018-10-30:15:37:32] Restore Imaging: 0/0 - 0% Imaging Disk(s) Completed [2018-10-30:15:37:34] Create New VM -

You should see the %'s rolling from 0 to 100% to re-image.

You could do the following on the oVIRT ENGINE vm to see if you can spot any errors:

tail /var/log/ovirt/.log -f

What type of Xen VM are you migrating? Windows7? Is it thinly provisioned?

What do you see on a "ls /mnt/migrate/ -la" on the BackupEngine? Do both the VMMIGRATE-VM and the BackupEngine-VM have full read/write to the same /mnt/migrate path?

malkxavian commented 6 years ago

image

According to the attached screenshot it ends ok. Here you are the log file (from a CentOS server):


[2018-10-31:15:27:57] Starting Xen Migrate ... d8aac99f-ba1e-3e4e-6028-3eb23ce7bb51
[2018-10-31:15:28:15] Xen - Shutdown - Shutting Down
[2018-10-31:15:28:17] Xen - Shutdown - Halted
[2018-10-31:15:28:24] Xen - Remove VBD - Removing
[2018-10-31:15:28:27] Xen - Remove VBD - Removed
[2018-10-31:15:28:33] Xen - Shutdown - Shutting Down
[2018-10-31:15:28:34] Xen - Shutdown - Halted
[2018-10-31:15:28:36] Xen - Add VBD - Adding
[2018-10-31:15:28:39] Xen - Add VBD - Disks Attached
[2018-10-31:15:28:45] Xen - Start - Starting
[2018-10-31:15:28:47] Xen - Start - Started
[2018-10-31:15:29:04] Xen - Imaging - /dev/mapper/migraxens--vg-home
[2018-10-31:15:29:05] Xen - Imaging - 1/1 - 0% Start Imaging
[2018-10-31:15:29:08] Xen - Imaging - 1/1 - 0% Imaging in progress.
[2018-10-31:15:29:15] Xen - Imaging - 1/1 - 1% Imaging in progress.
[2018-10-31:15:29:20] Xen - Imaging - 1/1 - 3% Imaging in progress.
[2018-10-31:15:29:25] Xen - Imaging - 1/1 - 4% Imaging in progress.
[2018-10-31:15:29:33] Xen - Imaging - 1/1 - 6% Imaging in progress.
[2018-10-31:15:29:39] Xen - Imaging - 1/1 - 7% Imaging in progress.
[2018-10-31:15:29:44] Xen - Imaging - 1/1 - 8% Imaging in progress.
[2018-10-31:15:29:49] Xen - Imaging - 1/1 - 10% Imaging in progress.
[2018-10-31:15:29:53] Xen - Imaging - 1/1 - 11% Imaging in progress.
[2018-10-31:15:29:56] Xen - Imaging - 1/1 - 12% Imaging in progress.
[2018-10-31:15:30:00] Xen - Imaging - 1/1 - 13% Imaging in progress.
[2018-10-31:15:30:05] Xen - Imaging - 1/1 - 14% Imaging in progress.
[2018-10-31:15:30:09] Xen - Imaging - 1/1 - 15% Imaging in progress.
[2018-10-31:15:30:12] Xen - Imaging - 1/1 - 16% Imaging in progress.
[2018-10-31:15:30:17] Xen - Imaging - 1/1 - 17% Imaging in progress.
[2018-10-31:15:30:24] Xen - Imaging - 1/1 - 19% Imaging in progress.
[2018-10-31:15:30:27] Xen - Imaging - 1/1 - 20% Imaging in progress.
[2018-10-31:15:30:32] Xen - Imaging - 1/1 - 21% Imaging in progress.
[2018-10-31:15:30:36] Xen - Imaging - 1/1 - 22% Imaging in progress.
[2018-10-31:15:30:42] Xen - Imaging - 1/1 - 24% Imaging in progress.
[2018-10-31:15:30:48] Xen - Imaging - 1/1 - 25% Imaging in progress.
[2018-10-31:15:30:53] Xen - Imaging - 1/1 - 26% Imaging in progress.
[2018-10-31:15:30:58] Xen - Imaging - 1/1 - 28% Imaging in progress.
[2018-10-31:15:31:03] Xen - Imaging - 1/1 - 30% Imaging in progress.
[2018-10-31:15:31:05] Xen - Imaging - 1/1 - 30% Imaging in progress.
[2018-10-31:15:31:09] Xen - Imaging - 1/1 - 30% Imaging in progress.
[2018-10-31:15:31:16] Xen - Imaging - 1/1 - 32% Imaging in progress.
[2018-10-31:15:31:26] Xen - Imaging - 1/1 - 34% Imaging in progress.
[2018-10-31:15:31:32] Xen - Imaging - 1/1 - 36% Imaging in progress.
[2018-10-31:15:31:34] Xen - Imaging - 1/1 - 36% Imaging in progress.
[2018-10-31:15:31:40] Xen - Imaging - 1/1 - 37% Imaging in progress.
[2018-10-31:15:31:43] Xen - Imaging - 1/1 - 38% Imaging in progress.
[2018-10-31:15:31:46] Xen - Imaging - 1/1 - 40% Imaging in progress.
[2018-10-31:15:31:49] Xen - Imaging - 1/1 - 40% Imaging in progress.
[2018-10-31:15:31:52] Xen - Imaging - 1/1 - 40% Imaging in progress.
[2018-10-31:15:32:00] Xen - Imaging - 1/1 - 42% Imaging in progress.
[2018-10-31:15:32:05] Xen - Imaging - 1/1 - 44% Imaging in progress.
[2018-10-31:15:32:08] Xen - Imaging - 1/1 - 44% Imaging in progress.
[2018-10-31:15:32:13] Xen - Imaging - 1/1 - 46% Imaging in progress.
[2018-10-31:15:32:16] Xen - Imaging - 1/1 - 47% Imaging in progress.
[2018-10-31:15:32:21] Xen - Imaging - 1/1 - 48% Imaging in progress.
[2018-10-31:15:32:27] Xen - Imaging - 1/1 - 50% Imaging in progress.
[2018-10-31:15:32:30] Xen - Imaging - 1/1 - 50% Imaging in progress.
[2018-10-31:15:32:35] Xen - Imaging - 1/1 - 52% Imaging in progress.
[2018-10-31:15:32:38] Xen - Imaging - 1/1 - 53% Imaging in progress.
[2018-10-31:15:32:45] Xen - Imaging - 1/1 - 54% Imaging in progress.
[2018-10-31:15:32:54] Xen - Imaging - 1/1 - 56% Imaging in progress.
[2018-10-31:15:32:57] Xen - Imaging - 1/1 - 57% Imaging in progress.
[2018-10-31:15:33:00] Xen - Imaging - 1/1 - 58% Imaging in progress.
[2018-10-31:15:33:04] Xen - Imaging - 1/1 - 59% Imaging in progress.
[2018-10-31:15:33:14] Xen - Imaging - 1/1 - 61% Imaging in progress.
[2018-10-31:15:33:16] Xen - Imaging - 1/1 - 62% Imaging in progress.
[2018-10-31:15:33:21] Xen - Imaging - 1/1 - 63% Imaging in progress.
[2018-10-31:15:33:24] Xen - Imaging - 1/1 - 64% Imaging in progress.
[2018-10-31:15:33:31] Xen - Imaging - 1/1 - 65% Imaging in progress.
[2018-10-31:15:33:37] Xen - Imaging - 1/1 - 67% Imaging in progress.
[2018-10-31:15:33:41] Xen - Imaging - 1/1 - 68% Imaging in progress.
[2018-10-31:15:33:47] Xen - Imaging - 1/1 - 69% Imaging in progress.
[2018-10-31:15:33:50] Xen - Imaging - 1/1 - 71% Imaging in progress.
[2018-10-31:15:33:53] Xen - Imaging - 1/1 - 71% Imaging in progress.
[2018-10-31:15:34:02] Xen - Imaging - 1/1 - 73% Imaging in progress.
[2018-10-31:15:34:04] Xen - Imaging - 1/1 - 73% Imaging in progress.
[2018-10-31:15:34:09] Xen - Imaging - 1/1 - 74% Imaging in progress.
[2018-10-31:15:34:14] Xen - Imaging - 1/1 - 76% Imaging in progress.
[2018-10-31:15:34:18] Xen - Imaging - 1/1 - 76% Imaging in progress.
[2018-10-31:15:34:24] Xen - Imaging - 1/1 - 79% Imaging in progress.
[2018-10-31:15:34:28] Xen - Imaging - 1/1 - 79% Imaging in progress.
[2018-10-31:15:34:31] Xen - Imaging - 1/1 - 81% Imaging in progress.
[2018-10-31:15:34:37] Xen - Imaging - 1/1 - 81% Imaging in progress.
[2018-10-31:15:34:45] Xen - Imaging - 1/1 - 83% Imaging in progress.
[2018-10-31:15:34:50] Xen - Imaging - 1/1 - 84% Imaging in progress.
[2018-10-31:15:34:54] Xen - Imaging - 1/1 - 85% Imaging in progress.
[2018-10-31:15:34:57] Xen - Imaging - 1/1 - 86% Imaging in progress.
[2018-10-31:15:35:00] Xen - Imaging - 1/1 - 87% Imaging in progress.
[2018-10-31:15:35:04] Xen - Imaging - 1/1 - 88% Imaging in progress.
[2018-10-31:15:35:08] Xen - Imaging - 1/1 - 89% Imaging in progress.
[2018-10-31:15:35:18] Xen - Imaging - 1/1 - 91% Imaging in progress.
[2018-10-31:15:35:24] Xen - Imaging - 1/1 - 93% Imaging in progress.
[2018-10-31:15:35:27] Xen - Imaging - 1/1 - 94% Imaging in progress.
[2018-10-31:15:35:32] Xen - Imaging - 1/1 - 95% Imaging in progress.
[2018-10-31:15:35:39] Xen - Imaging - 1/1 - 96% Imaging in progress.
[2018-10-31:15:35:48] Xen - Imaging - 1/1 - 99% Imaging in progress.
[2018-10-31:15:35:52] Xen - Imaging - 1/1 - 0% Imaging in progress.
[2018-10-31:15:35:53] Xen - Imaging - 1/1 - 0% Imaging Disk(s) Completed
[2018-10-31:15:36:05] Xen - Shutdown - Shutting Down
[2018-10-31:15:36:06] Xen - Shutdown - Halted
[2018-10-31:15:36:08] Xen - Remove VBD - Removed.
[2018-10-31:15:36:10] Xen - Add VBD - Adding
[2018-10-31:15:36:14] Xen - Add VBD - Disks Attached
[2018-10-31:15:36:18] Restoring Xen Images - Skipping Xen Startup
[2018-10-31:15:36:18] Restoring Xen Images - Migrating Disk Data
[2018-10-31:15:36:18] Disk 1 - sdz Bootable: true Size: 64424509440 Label: centreon(;(Centreon-Central-3.4.1)
[2018-10-31:15:36:18] ------------------------------------------------------
[2018-10-31:15:36:18] Starting Restore ... -XEN- - -XEN- --> centreon
[2018-10-31:15:36:24] Adding Disk - <disk_attachment>
                    <bootable>false</bootable>
                    <pass_discard>false</pass_discard>
                    <interface>virtio_scsi</interface>
                    <active>true</active>
                    <disk>
                        <description></description>
                        <format>raw</format>
                        <sparse>false</sparse>
                        <name>centreon_RDISK_0</name>
                        <provisioned_size>64424509440</provisioned_size>
                        <storage_domains>
                            <storage_domain>
                                <name>petasan00003</name>
                            </storage_domain>
                        </storage_domains>
                    </disk>
                </disk_attachment>
[2018-10-31:15:36:36] Creating Disk(s) - Disks Created
[2018-10-31:15:36:51] Creating Disk(s) - Disk Done
[2018-10-31:15:36:53] Restore - Imaging - /dev/sdd
[2018-10-31:15:36:53] Imaging Disk - /mnt/migrate/xen1
[2018-10-31:15:36:55] Restore Imaging: 1/1 - 0% Started Imaging xen1 to /dev/sdd
[2018-10-31:15:36:57] Restore Imaging: 1/1 - 0% Imaging in progress.
[2018-10-31:15:37:00] Restore Imaging: 1/1 - 1% Imaging in progress.
[2018-10-31:15:37:02] Restore Imaging: 1/1 - 1% Imaging in progress.
[2018-10-31:15:37:04] Restore Imaging: 1/1 - 2% Imaging in progress.
[2018-10-31:15:37:06] Restore Imaging: 1/1 - 2% Imaging in progress.
[2018-10-31:15:37:09] Restore Imaging: 1/1 - 2% Imaging in progress.
[2018-10-31:15:37:11] Restore Imaging: 1/1 - 2% Imaging in progress.
[2018-10-31:15:37:13] Restore Imaging: 1/1 - 2% Imaging in progress.
[2018-10-31:15:37:15] Restore Imaging: 1/1 - 3% Imaging in progress.
[2018-10-31:15:37:17] Restore Imaging: 1/1 - 3% Imaging in progress.
[2018-10-31:15:37:20] Restore Imaging: 1/1 - 4% Imaging in progress.
[2018-10-31:15:37:22] Restore Imaging: 1/1 - 4% Imaging in progress.
[2018-10-31:15:37:24] Restore Imaging: 1/1 - 5% Imaging in progress.
[2018-10-31:15:37:26] Restore Imaging: 1/1 - 5% Imaging in progress.
[2018-10-31:15:37:28] Restore Imaging: 1/1 - 5% Imaging in progress.
[2018-10-31:15:37:34] Restore Imaging: 1/1 - 5% Imaging in progress.
[2018-10-31:15:37:36] Restore Imaging: 1/1 - 6% Imaging in progress.
[2018-10-31:15:37:38] Restore Imaging: 1/1 - 6% Imaging in progress.
[2018-10-31:15:37:40] Restore Imaging: 1/1 - 7% Imaging in progress.
[2018-10-31:15:37:42] Restore Imaging: 1/1 - 7% Imaging in progress.
[2018-10-31:15:37:44] Restore Imaging: 1/1 - 8% Imaging in progress.
[2018-10-31:15:37:48] Restore Imaging: 1/1 - 8% Imaging in progress.
[2018-10-31:15:37:50] Restore Imaging: 1/1 - 8% Imaging in progress.
[2018-10-31:15:37:52] Restore Imaging: 1/1 - 8% Imaging in progress.
[2018-10-31:15:37:54] Restore Imaging: 1/1 - 8% Imaging in progress.
[2018-10-31:15:37:56] Restore Imaging: 1/1 - 9% Imaging in progress.
[2018-10-31:15:37:58] Restore Imaging: 1/1 - 10% Imaging in progress.
[2018-10-31:15:38:00] Restore Imaging: 1/1 - 10% Imaging in progress.
[2018-10-31:15:38:04] Restore Imaging: 1/1 - 11% Imaging in progress.
[2018-10-31:15:38:07] Restore Imaging: 1/1 - 11% Imaging in progress.
[2018-10-31:15:38:09] Restore Imaging: 1/1 - 11% Imaging in progress.
[2018-10-31:15:38:11] Restore Imaging: 1/1 - 11% Imaging in progress.
[2018-10-31:15:38:13] Restore Imaging: 1/1 - 12% Imaging in progress.
[2018-10-31:15:38:15] Restore Imaging: 1/1 - 12% Imaging in progress.
[2018-10-31:15:38:17] Restore Imaging: 1/1 - 13% Imaging in progress.
[2018-10-31:15:38:19] Restore Imaging: 1/1 - 13% Imaging in progress.
[2018-10-31:15:38:21] Restore Imaging: 1/1 - 13% Imaging in progress.
[2018-10-31:15:38:25] Restore Imaging: 1/1 - 13% Imaging in progress.
[2018-10-31:15:38:27] Restore Imaging: 1/1 - 14% Imaging in progress.
[2018-10-31:15:38:29] Restore Imaging: 1/1 - 14% Imaging in progress.
[2018-10-31:15:38:31] Restore Imaging: 1/1 - 15% Imaging in progress.
[2018-10-31:15:38:33] Restore Imaging: 1/1 - 15% Imaging in progress.
[2018-10-31:15:38:36] Restore Imaging: 1/1 - 16% Imaging in progress.
[2018-10-31:15:38:41] Restore Imaging: 1/1 - 16% Imaging in progress.
[2018-10-31:15:38:43] Restore Imaging: 1/1 - 16% Imaging in progress.
[2018-10-31:15:38:45] Restore Imaging: 1/1 - 17% Imaging in progress.
[2018-10-31:15:38:47] Restore Imaging: 1/1 - 17% Imaging in progress.
[2018-10-31:15:38:49] Restore Imaging: 1/1 - 18% Imaging in progress.
[2018-10-31:15:38:52] Restore Imaging: 1/1 - 18% Imaging in progress.
[2018-10-31:15:38:54] Restore Imaging: 1/1 - 18% Imaging in progress.
[2018-10-31:15:38:58] Restore Imaging: 1/1 - 18% Imaging in progress.
[2018-10-31:15:39:00] Restore Imaging: 1/1 - 19% Imaging in progress.
[2018-10-31:15:39:02] Restore Imaging: 1/1 - 19% Imaging in progress.
[2018-10-31:15:39:04] Restore Imaging: 1/1 - 20% Imaging in progress.
[2018-10-31:15:39:06] Restore Imaging: 1/1 - 20% Imaging in progress.
[2018-10-31:15:39:08] Restore Imaging: 1/1 - 21% Imaging in progress.
[2018-10-31:15:39:11] Restore Imaging: 1/1 - 21% Imaging in progress.
[2018-10-31:15:39:13] Restore Imaging: 1/1 - 21% Imaging in progress.
[2018-10-31:15:39:16] Restore Imaging: 1/1 - 21% Imaging in progress.
[2018-10-31:15:39:18] Restore Imaging: 1/1 - 21% Imaging in progress.
[2018-10-31:15:39:20] Restore Imaging: 1/1 - 22% Imaging in progress.
[2018-10-31:15:39:22] Restore Imaging: 1/1 - 22% Imaging in progress.
[2018-10-31:15:39:24] Restore Imaging: 1/1 - 23% Imaging in progress.
[2018-10-31:15:39:26] Restore Imaging: 1/1 - 23% Imaging in progress.
[2018-10-31:15:39:30] Restore Imaging: 1/1 - 23% Imaging in progress.
[2018-10-31:15:39:33] Restore Imaging: 1/1 - 23% Imaging in progress.
[2018-10-31:15:39:35] Restore Imaging: 1/1 - 24% Imaging in progress.
[2018-10-31:15:39:37] Restore Imaging: 1/1 - 25% Imaging in progress.
[2018-10-31:15:39:39] Restore Imaging: 1/1 - 25% Imaging in progress.
[2018-10-31:15:39:41] Restore Imaging: 1/1 - 26% Imaging in progress.
[2018-10-31:15:39:43] Restore Imaging: 1/1 - 26% Imaging in progress.
[2018-10-31:15:39:46] Restore Imaging: 1/1 - 26% Imaging in progress.
[2018-10-31:15:39:49] Restore Imaging: 1/1 - 26% Imaging in progress.
[2018-10-31:15:39:51] Restore Imaging: 1/1 - 26% Imaging in progress.
[2018-10-31:15:39:53] Restore Imaging: 1/1 - 27% Imaging in progress.
[2018-10-31:15:39:55] Restore Imaging: 1/1 - 27% Imaging in progress.
[2018-10-31:15:39:57] Restore Imaging: 1/1 - 28% Imaging in progress.
[2018-10-31:15:40:00] Restore Imaging: 1/1 - 29% Imaging in progress.
[2018-10-31:15:40:02] Restore Imaging: 1/1 - 29% Imaging in progress.
[2018-10-31:15:40:04] Restore Imaging: 1/1 - 29% Imaging in progress.
[2018-10-31:15:40:07] Restore Imaging: 1/1 - 29% Imaging in progress.
[2018-10-31:15:40:09] Restore Imaging: 1/1 - 29% Imaging in progress.
[2018-10-31:15:40:11] Restore Imaging: 1/1 - 29% Imaging in progress.
[2018-10-31:15:40:13] Restore Imaging: 1/1 - 29% Imaging in progress.
[2018-10-31:15:40:15] Restore Imaging: 1/1 - 29% Imaging in progress.
[2018-10-31:15:40:17] Restore Imaging: 1/1 - 30% Imaging in progress.
[2018-10-31:15:40:19] Restore Imaging: 1/1 - 31% Imaging in progress.
[2018-10-31:15:40:22] Restore Imaging: 1/1 - 31% Imaging in progress.
[2018-10-31:15:40:24] Restore Imaging: 1/1 - 31% Imaging in progress.
[2018-10-31:15:40:27] Restore Imaging: 1/1 - 31% Imaging in progress.
[2018-10-31:15:40:29] Restore Imaging: 1/1 - 31% Imaging in progress.
[2018-10-31:15:40:31] Restore Imaging: 1/1 - 32% Imaging in progress.
[2018-10-31:15:40:33] Restore Imaging: 1/1 - 33% Imaging in progress.
[2018-10-31:15:40:35] Restore Imaging: 1/1 - 33% Imaging in progress.
[2018-10-31:15:40:37] Restore Imaging: 1/1 - 34% Imaging in progress.
[2018-10-31:15:40:40] Restore Imaging: 1/1 - 34% Imaging in progress.
[2018-10-31:15:40:42] Restore Imaging: 1/1 - 34% Imaging in progress.
[2018-10-31:15:40:46] Restore Imaging: 1/1 - 34% Imaging in progress.
[2018-10-31:15:40:48] Restore Imaging: 1/1 - 34% Imaging in progress.
[2018-10-31:15:40:50] Restore Imaging: 1/1 - 35% Imaging in progress.
[2018-10-31:15:40:52] Restore Imaging: 1/1 - 35% Imaging in progress.
[2018-10-31:15:40:54] Restore Imaging: 1/1 - 36% Imaging in progress.
[2018-10-31:15:40:58] Restore Imaging: 1/1 - 36% Imaging in progress.
[2018-10-31:15:41:00] Restore Imaging: 1/1 - 36% Imaging in progress.
[2018-10-31:15:41:03] Restore Imaging: 1/1 - 37% Imaging in progress.
[2018-10-31:15:41:05] Restore Imaging: 1/1 - 37% Imaging in progress.
[2018-10-31:15:41:07] Restore Imaging: 1/1 - 38% Imaging in progress.
[2018-10-31:15:41:09] Restore Imaging: 1/1 - 38% Imaging in progress.
[2018-10-31:15:41:11] Restore Imaging: 1/1 - 39% Imaging in progress.
[2018-10-31:15:41:13] Restore Imaging: 1/1 - 39% Imaging in progress.
[2018-10-31:15:41:17] Restore Imaging: 1/1 - 39% Imaging in progress.
[2018-10-31:15:41:19] Restore Imaging: 1/1 - 39% Imaging in progress.
[2018-10-31:15:41:21] Restore Imaging: 1/1 - 39% Imaging in progress.
[2018-10-31:15:41:23] Restore Imaging: 1/1 - 40% Imaging in progress.
[2018-10-31:15:41:25] Restore Imaging: 1/1 - 40% Imaging in progress.
[2018-10-31:15:41:27] Restore Imaging: 1/1 - 41% Imaging in progress.
[2018-10-31:15:41:29] Restore Imaging: 1/1 - 42% Imaging in progress.
[2018-10-31:15:41:33] Restore Imaging: 1/1 - 42% Imaging in progress.
[2018-10-31:15:41:36] Restore Imaging: 1/1 - 42% Imaging in progress.
[2018-10-31:15:41:38] Restore Imaging: 1/1 - 42% Imaging in progress.
[2018-10-31:15:41:40] Restore Imaging: 1/1 - 42% Imaging in progress.
[2018-10-31:15:41:42] Restore Imaging: 1/1 - 43% Imaging in progress.
[2018-10-31:15:41:44] Restore Imaging: 1/1 - 43% Imaging in progress.
[2018-10-31:15:41:46] Restore Imaging: 1/1 - 44% Imaging in progress.
[2018-10-31:15:41:49] Restore Imaging: 1/1 - 44% Imaging in progress.
[2018-10-31:15:41:53] Restore Imaging: 1/1 - 44% Imaging in progress.
[2018-10-31:15:41:56] Restore Imaging: 1/1 - 44% Imaging in progress.
[2018-10-31:15:41:58] Restore Imaging: 1/1 - 45% Imaging in progress.
[2018-10-31:15:42:00] Restore Imaging: 1/1 - 46% Imaging in progress.
[2018-10-31:15:42:02] Restore Imaging: 1/1 - 46% Imaging in progress.
[2018-10-31:15:42:04] Restore Imaging: 1/1 - 47% Imaging in progress.
[2018-10-31:15:42:07] Restore Imaging: 1/1 - 47% Imaging in progress.
[2018-10-31:15:42:10] Restore Imaging: 1/1 - 47% Imaging in progress.
[2018-10-31:15:42:12] Restore Imaging: 1/1 - 47% Imaging in progress.
[2018-10-31:15:42:14] Restore Imaging: 1/1 - 47% Imaging in progress.
[2018-10-31:15:42:16] Restore Imaging: 1/1 - 48% Imaging in progress.
[2018-10-31:15:42:18] Restore Imaging: 1/1 - 48% Imaging in progress.
[2018-10-31:15:42:21] Restore Imaging: 1/1 - 49% Imaging in progress.
[2018-10-31:15:42:23] Restore Imaging: 1/1 - 50% Imaging in progress.
[2018-10-31:15:42:25] Restore Imaging: 1/1 - 50% Imaging in progress.
[2018-10-31:15:42:28] Restore Imaging: 1/1 - 50% Imaging in progress.
[2018-10-31:15:42:30] Restore Imaging: 1/1 - 50% Imaging in progress.
[2018-10-31:15:42:32] Restore Imaging: 1/1 - 50% Imaging in progress.
[2018-10-31:15:42:34] Restore Imaging: 1/1 - 51% Imaging in progress.
[2018-10-31:15:42:36] Restore Imaging: 1/1 - 52% Imaging in progress.
[2018-10-31:15:42:38] Restore Imaging: 1/1 - 52% Imaging in progress.
[2018-10-31:15:42:41] Restore Imaging: 1/1 - 52% Imaging in progress.
[2018-10-31:15:42:44] Restore Imaging: 1/1 - 52% Imaging in progress.
[2018-10-31:15:42:47] Restore Imaging: 1/1 - 52% Imaging in progress.
[2018-10-31:15:42:49] Restore Imaging: 1/1 - 53% Imaging in progress.
[2018-10-31:15:42:51] Restore Imaging: 1/1 - 53% Imaging in progress.
[2018-10-31:15:42:53] Restore Imaging: 1/1 - 54% Imaging in progress.
[2018-10-31:15:42:55] Restore Imaging: 1/1 - 55% Imaging in progress.
[2018-10-31:15:42:57] Restore Imaging: 1/1 - 55% Imaging in progress.
[2018-10-31:15:43:01] Restore Imaging: 1/1 - 55% Imaging in progress.
[2018-10-31:15:43:04] Restore Imaging: 1/1 - 55% Imaging in progress.
[2018-10-31:15:43:06] Restore Imaging: 1/1 - 55% Imaging in progress.
[2018-10-31:15:43:08] Restore Imaging: 1/1 - 55% Imaging in progress.
[2018-10-31:15:43:10] Restore Imaging: 1/1 - 56% Imaging in progress.
[2018-10-31:15:43:13] Restore Imaging: 1/1 - 56% Imaging in progress.
[2018-10-31:15:43:15] Restore Imaging: 1/1 - 57% Imaging in progress.
[2018-10-31:15:43:17] Restore Imaging: 1/1 - 57% Imaging in progress.
[2018-10-31:15:43:19] Restore Imaging: 1/1 - 58% Imaging in progress.
[2018-10-31:15:43:21] Restore Imaging: 1/1 - 58% Imaging in progress.
[2018-10-31:15:43:24] Restore Imaging: 1/1 - 58% Imaging in progress.
[2018-10-31:15:43:27] Restore Imaging: 1/1 - 58% Imaging in progress.
[2018-10-31:15:43:30] Restore Imaging: 1/1 - 58% Imaging in progress.
[2018-10-31:15:43:32] Restore Imaging: 1/1 - 59% Imaging in progress.
[2018-10-31:15:43:34] Restore Imaging: 1/1 - 59% Imaging in progress.
[2018-10-31:15:43:36] Restore Imaging: 1/1 - 60% Imaging in progress.
[2018-10-31:15:43:38] Restore Imaging: 1/1 - 60% Imaging in progress.
[2018-10-31:15:43:46] Restore Imaging: 1/1 - 61% Imaging in progress.
[2018-10-31:15:43:48] Restore Imaging: 1/1 - 61% Imaging in progress.
[2018-10-31:15:43:50] Restore Imaging: 1/1 - 62% Imaging in progress.
[2018-10-31:15:43:52] Restore Imaging: 1/1 - 62% Imaging in progress.
[2018-10-31:15:43:55] Restore Imaging: 1/1 - 63% Imaging in progress.
[2018-10-31:15:43:58] Restore Imaging: 1/1 - 63% Imaging in progress.
[2018-10-31:15:44:00] Restore Imaging: 1/1 - 63% Imaging in progress.
[2018-10-31:15:44:03] Restore Imaging: 1/1 - 63% Imaging in progress.
[2018-10-31:15:44:05] Restore Imaging: 1/1 - 64% Imaging in progress.
[2018-10-31:15:44:07] Restore Imaging: 1/1 - 64% Imaging in progress.
[2018-10-31:15:44:09] Restore Imaging: 1/1 - 65% Imaging in progress.
[2018-10-31:15:44:11] Restore Imaging: 1/1 - 65% Imaging in progress.
[2018-10-31:15:44:14] Restore Imaging: 1/1 - 66% Imaging in progress.
[2018-10-31:15:44:16] Restore Imaging: 1/1 - 66% Imaging in progress.
[2018-10-31:15:44:20] Restore Imaging: 1/1 - 66% Imaging in progress.
[2018-10-31:15:44:22] Restore Imaging: 1/1 - 66% Imaging in progress.
[2018-10-31:15:44:24] Restore Imaging: 1/1 - 67% Imaging in progress.
[2018-10-31:15:44:26] Restore Imaging: 1/1 - 67% Imaging in progress.
[2018-10-31:15:44:28] Restore Imaging: 1/1 - 68% Imaging in progress.
[2018-10-31:15:44:30] Restore Imaging: 1/1 - 68% Imaging in progress.
[2018-10-31:15:44:34] Restore Imaging: 1/1 - 68% Imaging in progress.
[2018-10-31:15:44:36] Restore Imaging: 1/1 - 69% Imaging in progress.
[2018-10-31:15:44:38] Restore Imaging: 1/1 - 69% Imaging in progress.
[2018-10-31:15:44:40] Restore Imaging: 1/1 - 69% Imaging in progress.
[2018-10-31:15:44:43] Restore Imaging: 1/1 - 70% Imaging in progress.
[2018-10-31:15:44:45] Restore Imaging: 1/1 - 70% Imaging in progress.
[2018-10-31:15:44:48] Restore Imaging: 1/1 - 71% Imaging in progress.
[2018-10-31:15:44:52] Restore Imaging: 1/1 - 71% Imaging in progress.
[2018-10-31:15:44:54] Restore Imaging: 1/1 - 71% Imaging in progress.
[2018-10-31:15:44:56] Restore Imaging: 1/1 - 71% Imaging in progress.
[2018-10-31:15:44:58] Restore Imaging: 1/1 - 72% Imaging in progress.
[2018-10-31:15:45:00] Restore Imaging: 1/1 - 72% Imaging in progress.
[2018-10-31:15:45:02] Restore Imaging: 1/1 - 73% Imaging in progress.
[2018-10-31:15:45:04] Restore Imaging: 1/1 - 73% Imaging in progress.
[2018-10-31:15:45:06] Restore Imaging: 1/1 - 74% Imaging in progress.
[2018-10-31:15:45:08] Restore Imaging: 1/1 - 74% Imaging in progress.
[2018-10-31:15:45:12] Restore Imaging: 1/1 - 74% Imaging in progress.
[2018-10-31:15:45:14] Restore Imaging: 1/1 - 74% Imaging in progress.
[2018-10-31:15:45:16] Restore Imaging: 1/1 - 75% Imaging in progress.
[2018-10-31:15:45:18] Restore Imaging: 1/1 - 75% Imaging in progress.
[2018-10-31:15:45:20] Restore Imaging: 1/1 - 76% Imaging in progress.
[2018-10-31:15:45:22] Restore Imaging: 1/1 - 76% Imaging in progress.
[2018-10-31:15:45:24] Restore Imaging: 1/1 - 77% Imaging in progress.
[2018-10-31:15:45:27] Restore Imaging: 1/1 - 77% Imaging in progress.
[2018-10-31:15:45:29] Restore Imaging: 1/1 - 77% Imaging in progress.
[2018-10-31:15:45:31] Restore Imaging: 1/1 - 77% Imaging in progress.
[2018-10-31:15:45:33] Restore Imaging: 1/1 - 77% Imaging in progress.
[2018-10-31:15:45:35] Restore Imaging: 1/1 - 78% Imaging in progress.
[2018-10-31:15:45:38] Restore Imaging: 1/1 - 79% Imaging in progress.
[2018-10-31:15:45:40] Restore Imaging: 1/1 - 79% Imaging in progress.
[2018-10-31:15:45:42] Restore Imaging: 1/1 - 79% Imaging in progress.
[2018-10-31:15:45:45] Restore Imaging: 1/1 - 79% Imaging in progress.
[2018-10-31:15:45:48] Restore Imaging: 1/1 - 79% Imaging in progress.
[2018-10-31:15:45:50] Restore Imaging: 1/1 - 80% Imaging in progress.
[2018-10-31:15:45:52] Restore Imaging: 1/1 - 80% Imaging in progress.
[2018-10-31:15:45:54] Restore Imaging: 1/1 - 81% Imaging in progress.
[2018-10-31:15:45:56] Restore Imaging: 1/1 - 82% Imaging in progress.
[2018-10-31:15:45:59] Restore Imaging: 1/1 - 82% Imaging in progress.
[2018-10-31:15:46:01] Restore Imaging: 1/1 - 82% Imaging in progress.
[2018-10-31:15:46:07] Restore Imaging: 1/1 - 82% Imaging in progress.
[2018-10-31:15:46:09] Restore Imaging: 1/1 - 82% Imaging in progress.
[2018-10-31:15:46:11] Restore Imaging: 1/1 - 83% Imaging in progress.
[2018-10-31:15:46:14] Restore Imaging: 1/1 - 83% Imaging in progress.
[2018-10-31:15:46:16] Restore Imaging: 1/1 - 84% Imaging in progress.
[2018-10-31:15:46:18] Restore Imaging: 1/1 - 84% Imaging in progress.
[2018-10-31:15:46:20] Restore Imaging: 1/1 - 84% Imaging in progress.
[2018-10-31:15:46:22] Restore Imaging: 1/1 - 85% Imaging in progress.
[2018-10-31:15:46:25] Restore Imaging: 1/1 - 85% Imaging in progress.
[2018-10-31:15:46:28] Restore Imaging: 1/1 - 85% Imaging in progress.
[2018-10-31:15:46:30] Restore Imaging: 1/1 - 85% Imaging in progress.
[2018-10-31:15:46:32] Restore Imaging: 1/1 - 85% Imaging in progress.
[2018-10-31:15:46:34] Restore Imaging: 1/1 - 86% Imaging in progress.
[2018-10-31:15:46:36] Restore Imaging: 1/1 - 87% Imaging in progress.
[2018-10-31:15:46:38] Restore Imaging: 1/1 - 87% Imaging in progress.
[2018-10-31:15:46:41] Restore Imaging: 1/1 - 88% Imaging in progress.
[2018-10-31:15:46:47] Restore Imaging: 1/1 - 88% Imaging in progress.
[2018-10-31:15:46:49] Restore Imaging: 1/1 - 88% Imaging in progress.
[2018-10-31:15:46:51] Restore Imaging: 1/1 - 89% Imaging in progress.
[2018-10-31:15:46:53] Restore Imaging: 1/1 - 89% Imaging in progress.
[2018-10-31:15:46:55] Restore Imaging: 1/1 - 90% Imaging in progress.
[2018-10-31:15:46:58] Restore Imaging: 1/1 - 90% Imaging in progress.
[2018-10-31:15:47:00] Restore Imaging: 1/1 - 90% Imaging in progress.
[2018-10-31:15:47:03] Restore Imaging: 1/1 - 90% Imaging in progress.
[2018-10-31:15:47:05] Restore Imaging: 1/1 - 91% Imaging in progress.
[2018-10-31:15:47:07] Restore Imaging: 1/1 - 91% Imaging in progress.
[2018-10-31:15:47:09] Restore Imaging: 1/1 - 92% Imaging in progress.
[2018-10-31:15:47:11] Restore Imaging: 1/1 - 92% Imaging in progress.
[2018-10-31:15:47:13] Restore Imaging: 1/1 - 93% Imaging in progress.
[2018-10-31:15:47:16] Restore Imaging: 1/1 - 93% Imaging in progress.
[2018-10-31:15:47:18] Restore Imaging: 1/1 - 93% Imaging in progress.
[2018-10-31:15:47:21] Restore Imaging: 1/1 - 93% Imaging in progress.
[2018-10-31:15:47:23] Restore Imaging: 1/1 - 93% Imaging in progress.
[2018-10-31:15:47:25] Restore Imaging: 1/1 - 94% Imaging in progress.
[2018-10-31:15:47:27] Restore Imaging: 1/1 - 94% Imaging in progress.
[2018-10-31:15:47:29] Restore Imaging: 1/1 - 95% Imaging in progress.
[2018-10-31:15:47:32] Restore Imaging: 1/1 - 95% Imaging in progress.
[2018-10-31:15:47:34] Restore Imaging: 1/1 - 95% Imaging in progress.
[2018-10-31:15:47:37] Restore Imaging: 1/1 - 95% Imaging in progress.
[2018-10-31:15:47:39] Restore Imaging: 1/1 - 96% Imaging in progress.
[2018-10-31:15:47:41] Restore Imaging: 1/1 - 96% Imaging in progress.
[2018-10-31:15:47:43] Restore Imaging: 1/1 - 97% Imaging in progress.
[2018-10-31:15:47:45] Restore Imaging: 1/1 - 97% Imaging in progress.
[2018-10-31:15:47:48] Restore Imaging: 1/1 - 98% Imaging in progress.
[2018-10-31:15:47:50] Restore Imaging: 1/1 - 98% Imaging in progress.
[2018-10-31:15:47:52] Restore Imaging: 1/1 - 98% Imaging in progress.
[2018-10-31:15:47:55] Restore Imaging: 1/1 - 98% Imaging in progress.
[2018-10-31:15:47:57] Restore Imaging: 1/1 - 98% Imaging in progress.
[2018-10-31:15:47:59] Restore Imaging: 1/1 - 99% Imaging in progress.
[2018-10-31:15:48:07] Restore Imaging: 1/1 - 100% Imaging in progress.
[2018-10-31:15:48:09] Imaging Disk(s) Completed
[2018-10-31:15:48:10] Restore Imaging: 1/1 - 0% Imaging Disk(s) Completed
[2018-10-31:15:48:12] Create New VM - <vm>
                        <name>centreon</name>
                        <cluster>
                          <name>Cluster-oVirt</name>
                        </cluster>
                        <template>
                          <name>Blank</name>
                        </template>
                        <memory>2147483648</memory>
                        <memory_policy>
                            <max>2147483648</max>
                        </memory_policy>
                        <cpu>
                          <topology>
                              <sockets>2</sockets>
                              <cores>1</cores>
                              <threads>1</threads>
                          </topology>
                        </cpu>
                        <os>
                            <boot>
                                <devices>
                                    <device>hd</device>
                                </devices>
                            </boot>
                            <type>debian_7</type>
                        </os>
                        <type>server</type>
                      </vm>
[2018-10-31:15:48:20] Update Graphic Console - spice
[2018-10-31:15:48:20] VM Create - VM Created
[2018-10-31:15:48:21] Detatching Disk From BackupEngine - 26ca7d4a-51e7-4ae6-b902-f53741135377
[2018-10-31:15:48:26] BOOTABLE - 1
[2018-10-31:15:48:26] -- DISK ATTACH -- 1 bootable: true
[2018-10-31:15:48:26] <disk_attachment>
                        <disk id=26ca7d4a-51e7-4ae6-b902-f53741135377>
                        </disk>
                        <active>true</active>
                        <bootable>true</bootable>
                        <interface>virtio_scsi</interface>
                        </disk_attachment>
[2018-10-31:15:48:28] VM Restore Completed

AFAIK tryin' to migrate Windows7 we've got same result. None of our servers are thinly provisioned.

image

What do you see on a "ls /mnt/migrate/ -la" on the BackupEngine?

 ls -la /mnt/migrate/
total 15540260
drwxrwxrwx 3 root     root            4096 Oct 31 15:36 .
drwxrwxrwx 5 root     root            4096 Oct 29 15:45 ..
-rw-r--r-- 1 www-data www-data         165 Oct 31 15:36 Disk1.dat
-rw-r--r-- 1 root     root               0 Oct 30 11:47 kk
drwx------ 2 root     root           16384 Oct 29 13:46 lost+found
-rw-r--r-- 1 www-data www-data        1891 Oct 31 15:48 progress.dat
-rw-r--r-- 1 nobody   nogroup  15913189376 Oct 31 15:35 xen1.img

Do both the VMMIGRATE-VM and the BackupEngine-VM have full read/write to the same /mnt/migrate path?

Yes, both of them have right permissions (read/write)

zipurman commented 6 years ago

When the new VM is created in oVirt, does it have the disk attached to it? If not, is the disk still attached to the BackupVM?

I did notice that on restore: Restore - Imaging - /dev/sdd

Can you do a "fdisk -l" on the BackupEngine for me and paste the output as it should start mounting at /dev/sdb if the OS was installed on a single partition.

zipurman commented 6 years ago

BTW, it may be easier to catch me on IRC SERVER irc.oftc.net CHANNEL #ovirt

malkxavian commented 6 years ago

Yes, I reviewed, and now the disk is attached to the VM in oVirt. The output of the fdisk in my BackupEngine (I have 1 partition for /boot, and the rest are in LVM):

root@backupengine:~# fdisk -l Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772160 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x6045e486

Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 499711 497664 243M 83 Linux /dev/sda2 501758 167770111 167268354 79.8G 5 Extended /dev/sda5 501760 167770111 167268352 79.8G 8e Linux LVM

Disk /dev/mapper/backupengine--vg-tmp: 964 MiB, 1010827264 bytes, 1974272 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/backupengine--vg-root: 9.3 GiB, 9999220736 bytes, 19529728 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/backupengine--vg-backup: 28 GiB, 29997662208 bytes, 58589184 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/backupengine--vg-migrate: 28 GiB, 29997662208 bytes, 58589184 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/backupengine--vg-swap: 952 MiB, 998244352 bytes, 1949696 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes

zipurman commented 6 years ago

What OS do you have installed for the BackupEngine VM?

zipurman commented 6 years ago

That really looks like CentOS or RHEL? You have to use Debian for the BackupEngine and the VMMIGRATE VM as it is written specifically for that OS.

malkxavian commented 6 years ago

Hi! zipurman, I recreated the 2 VMs with the partitions as you recomended in the irc, I reinstalled, and in this point my problem is this: [2018-11-08:16:06:20] Xen - Imaging - 0/1 - 0% No Expected Disk Available

malkxavian commented 6 years ago

But in the migrateVM I see the disk:

sfdisk -l Disk /dev/xvda: 2 GiB, 2147483648 bytes, 4194304 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x37a3bcd7

Device Boot Start End Sectors Size Id Type /dev/xvda1 2048 3125247 3123200 1.5G 83 Linux /dev/xvda2 3125248 4192255 1067008 521M 82 Linux swap / Solaris

Disk /dev/xvday: 60 GiB, 64424509440 bytes, 125829120 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0000bc1a

Device Boot Start End Sectors Size Id Type /dev/xvday1 * 2048 1050623 1048576 512M 83 Linux /dev/xvday2 1050624 9439231 8388608 4G 82 Linux swap / Solaris /dev/xvday3 9439232 125829119 116389888 55.5G 8e Linux LVM

zipurman commented 6 years ago

This looks fine. Try shutting down the vmmigrate VM so it is stopped. Then try migrating using the oVirtSimpleBackup. I have heard that vmmigrate in some cases will not shut down and so it cannot attach disks. See if that works any better.

malkxavian commented 6 years ago

The vmmigrate shutsdown and attach the disk without any problem. But images te disk and the log says "No Expected Disk Available"

zipurman commented 6 years ago

When the disk is attached, what /dev/ is it attached as?

fdisk -l

on vmmigrate while it is attached to see. Let me know as something is weird.

malkxavian commented 6 years ago

Disk /dev/xvday: 60 GiB, 64424509440 bytes, 125829120 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0000bc1a

Device Boot Start End Sectors Size Id Type /dev/xvday1 * 2048 1050623 1048576 512M 83 Linux /dev/xvday2 1050624 9439231 8388608 4G 82 Linux swap / Solaris /dev/xvday3 9439232 125829119 116389888 55.5G 8e Linux LVM

zipurman commented 6 years ago

What do you get on VMMigrate when you run this:

/sbin/fdisk -l | grep " /dev" | awk '{ print $2}'

malkxavian commented 6 years ago

I have finished a migration, but with the same problem as at the beginning, the migrate vm don't boot, and when I boot with a iso and shows the partitions, don't have:

image

zipurman commented 6 years ago

Have a look through this list: https://github.com/zipurman/oVIRT_Simple_Backup/blob/master/docs/POST_XEN_MIGRATION.md

malkxavian commented 6 years ago

I read it, but it's the same problem, no partitions, if I would have partions I'd rescue grub or anything. But I don't have partitions.

malkxavian commented 6 years ago

Booting from rescatux: image

zipurman commented 6 years ago

Not sure whats up. If you have followed all of the directions and cannot figure it out, I would be willing to have a look but I would need full access to the VMs as well as the oVirt GUI and oVirtEngine VM to see what is causing the issue. The answer is in there somewhere. I no longer have a Xen environment, so I cannot test any Xen on my end to try and guess what is happening. I know that others are using the migrate and it is working, it worked for me, and it is likely to be a small issue somewhere that is creating the problem. If it is creating a full image on /mnt/migrate, then I would think your disks must be copying correctly to there. I can only speculate. In the past, it is usually a simple issue that is being overlooked.

zipurman commented 5 years ago

New version may solve this issue. Try again.