Bug 2023368
Summary: | Importing VM OVA fails with ERROR: insert or update on table "vm_static" violates foreign key constraint "fk_vm_static_lease_sd_i d_storage_domain_static_id" | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Liran Rotenberg <lrotenbe> |
Component: | BLL.Virt | Assignee: | Liran Rotenberg <lrotenbe> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nisim Simsolo <nsimsolo> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.4.0 | CC: | adevolder, ahadas, bugs, dfodor, mavital, nsimsolo, pagranat |
Target Milestone: | ovirt-4.5.1 | Keywords: | EasyFix |
Target Release: | --- | Flags: | ahadas:
ovirt-4.5?
mavital: testing_plan_complete- |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.5.1.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-06-23 05:54:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Liran Rotenberg
2021-11-15 14:35:51 UTC
Yeah, seems that we we handled it only for other import operations which were more important for backup and disaster recovery (https://gerrit.ovirt.org/#/c/ovirt-engine/+/88314/) but needs to handle it for import from OVA as well Verified: ovirt-engine-4.5.1.1-0.14.el8ev vdsm-4.50.1.2-1.el8ev.x86_64 libvirt-daemon-8.0.0-5.2.module+el8.6.0+15256+3a0914fe.x86_64 qemu-kvm-6.2.0-11.module+el8.6.0+15489+bc23efef.1.x86_64 verification scenario: 1. Create a VM. 2. Set the VM with HA and a lease to SD 'x'. 3. Export the VM OVA. 4. Remove the SD 'x' from the environment (if using the same environment). 5. Import the VM OVA as clone. 6. Verif imported VM is running, verify qemu-guest-agent is functioning. 7. repeat steps 1-6, this time remove source VM and import OVA not as clone. This bugzilla is included in oVirt 4.5.1 release, published on June 22nd 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.1 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |