RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 833099 - 3.1 - [Storage] engine should do reconstruct master to take care the situation when the metadata is corrupted and vdsm sends to engine "general" exception.
Summary: 3.1 - [Storage] engine should do reconstruct master to take care the situa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Eduardo Warszawski
QA Contact: Gadi Ickowicz
URL:
Whiteboard: Storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-18 15:04 UTC by Leonid Natapov
Modified: 2022-07-09 05:36 UTC (History)
14 users (show)

Fixed In Version: vdsm-4.9.6-26.0
Doc Type: Bug Fix
Doc Text:
In an earlier version of Red Hat Enterprise Virtualization, sometimes metadata on a host became corrupted and VDSM sent the engine a "general" exception. The pool SPM ID value was incorrectly set to "None". When this happened, VDSM threw a general exception saying "MetaDataParamError: Meta Data parameter invalid: ('Version or spm id invalid')". Now when this happens, the engine reconstructs the master. This repairs the metadata.
Clone Of:
Environment:
Last Closed: 2012-12-04 19:00:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vdsm log (201.90 KB, application/octet-stream)
2012-06-18 15:05 UTC, Leonid Natapov
no flags Details
engine log (310.54 KB, application/octet-stream)
2012-06-18 15:05 UTC, Leonid Natapov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1508 0 normal SHIPPED_LIVE Important: rhev-3.1.0 vdsm security, bug fix, and enhancement update 2012-12-04 23:48:05 UTC

Description Leonid Natapov 2012-06-18 15:04:49 UTC
[Storage] Engine should  do reconstruct  master  to take care the situation when the metadata is corrupted and vdsm sends to engine "general" exception. 
We have situation when metadata file on a host got corrupted. Pool SPM ID value is 'None' (which is wrong) in metadata file.
In this case vdsm troughs general exception saying MetaDataParamError: Meta Data parameter invalid: ('Version or spm id invalid',).In such a case engine should do reconstruct master in order to fix the metadata.

log files are attached.

Comment 1 Leonid Natapov 2012-06-18 15:05:13 UTC
Created attachment 592683 [details]
vdsm log

Comment 2 Leonid Natapov 2012-06-18 15:05:37 UTC
Created attachment 592684 [details]
engine log

Comment 3 mkublin 2012-06-25 06:52:15 UTC
Moving to vdsm, vdsm should provide appropriate error message

Comment 4 Ayal Baron 2012-06-25 06:55:44 UTC
(In reply to comment #3)
> Moving to vdsm, vdsm should provide appropriate error message

ack

Comment 6 Eduardo Warszawski 2012-07-09 17:19:45 UTC
http://gerrit.ovirt.org/#/c/6083/

Comment 7 Haim 2012-08-05 11:59:54 UTC
set on verify on behalf of gickowic

only with single host, 2 domains.

vdsm-4.9.6-26.0.el6_3.x86_64

Comment 10 errata-xmlrpc 2012-12-04 19:00:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1508.html


Note You need to log in before you can comment on or make changes to this bug.