Bug 1306741
Summary: | Live Merge - failure in step 'DESTROY_IMAGE_CHECK' needs manual database fixup | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Greg Padgett <gpadgett> | ||||||||
Component: | BLL.Storage | Assignee: | Greg Padgett <gpadgett> | ||||||||
Status: | CLOSED WONTFIX | QA Contact: | Aharon Canan <acanan> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 3.6.0 | CC: | acanan, ahino, alitke, amureini, bugs, glazarov, gpadgett, nsoffer, ratamir, rhodain, tdosek, tnisan, v.astafiev, ylavi | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | 1302215 | ||||||||||
: | 1308501 (view as bug list) | Environment: | |||||||||
Last Closed: | 2016-02-17 07:41:38 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | 1302215 | ||||||||||
Bug Blocks: | 1306732, 1308501 | ||||||||||
Attachments: |
|
Description
Greg Padgett
2016-02-11 17:08:14 UTC
Created attachment 1123299 [details]
VM disk info gathering tool
When using the Live Merge post-merge failure repair script (also attached to this bug) it's important to make sure that the live merge succeeded and the volume is no longer part of the VM disk's volume chain. This utility will help you to check this. The tool should be run on the host where the VM is running. It will query vdsm for information about all running VMs and print the volume chains of all disks found.
The program takes no arguments but must be run as root (in order to access SSL keys needed to talk to vdsm).
To verify the merge, ensure that the volume ID referenced in the engine logs does not appear in the VMs volume chain.
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone. The script is attached to this bug, for oVirt there's no additional action item. Created attachment 1153440 [details] Live Merge post-merge failure repair script (updated) An updated, safer script is attached. It requires a 4th parameter; for use, please see instructions at https://bugzilla.redhat.com/show_bug.cgi?id=1302215#c15 Also note that it should be removed after use; leaving it may cause trouble later on (especially if installed via a different dbuser than the rest of the engine database): psql <dbname> -U <dbuser> -c 'DROP FUNCTION ovirt_repair_failed_merge(varchar, varchar, varchar, varchar)' |