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

Restore of Disk works, Restore of VM does not #23

Closed humnab closed 6 years ago

humnab commented 6 years ago

Hi, really a nice Backup Solution! Installer worked like a charm (except the Plugin Installation in oVirt which I will look after later). When I restore the Disks are restored, but the VM not. Result is a new Disk without VM attached, I can't even see a request for creating am VM in the engine.log. I'm testing with 4.2.3, here's the Log, any Idea what I did wrong?

2018-05-07:22:50:35] Imaging Disk(s) Completed [2018-05-07:22:50:36] Restore Imaging: 1/1 - 0% Imaging Disk(s) Completed [2018-05-07:22:50:38] Create New VM -

test1
                                    <cluster>
                                      <name>Default</name>
                                    </cluster>
                                    <template>
                                      <name>Blank</name>
                                    </template>
                                    <memory>1073741824</memory>
                                            <memory_policy>
                                                    <max>4294967296</max>
                                            </memory_policy>
                                            <cpu>
                                              <topology>
                                                  <sockets>1</sockets>
                                                  <cores>1</cores>
                                                  <threads>0</threads>
                                              </topology>
                                            </cpu>
                                            <os>
                                                    <boot>
                                                            <devices>
                                                                    <device>hd</device>
                                                            </devices>
                                                    </boot>
                                                    <type>windows_7</type>
                                            </os>
                                            <type>workstation</type>
                                  </vm>

[2018-05-07:22:50:40] Update Graphic Console - spice [2018-05-07:22:50:40] VM Create - VM Created [2018-05-07:22:50:40] Detatching Disk From BackupEngine - c85f8fe6-f5f5-4a0f-81c9-07c30f0d27b2 [2018-05-07:22:50:45] BOOTABLE - 1 [2018-05-07:22:50:45] -- DISK ATTACH -- 1 bootable: true [2018-05-07:22:50:45]

                                    <active>true</active>
                                    <bootable>true</bootable>
                                    <interface>virtio_scsi</interface>
                                    </disk_attachment>

[2018-05-07:22:50:46] VM Restore Completed

humnab commented 6 years ago

I found my problem, it was 0 at CPU Sockets, sorry!