Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 718483

Summary: missing SPUuid and HostId calling atachSD
Product: Red Hat Enterprise Linux 6 Reporter: Roy Golan <rgolan>
Component: vdsmAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED INSUFFICIENT_DATA QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0CC: abaron, bazulay, danken, fsimonce, hateya, iheim, srevivo, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-20 12:56:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm.log none

Description Roy Golan 2011-07-03 11:42:01 UTC
Description of problem:
During an import of an export-domain rhevm throws an error.
In VDSM logs you see the call for /usr/libexec/vdsm/spmprotect.sh with missing params

Version-Release number of selected component (if applicable):
vdsm-4.9-79.el6.x86_64

How reproducible:
Allways

Steps to Reproduce:
1.Import an export-domain
2.
3.
  
Actual results:
failed to import

Expected results:


Additional info:


Thread-1717::INFO::2011-07-03 08:41:14,908::sp::637::Storage.StoragePool::(attachSD) sdUUID=16d6afce-80c1-452d-9262-9fd4ae861f8a spUUID=f234cd83-0e3e-4ed7-9a2a-b479737e40ba
Thread-1717::DEBUG::2011-07-03 08:41:14,909::safelease::52::ClusterLock::(acquire) Acquiring cluster lock for domain 
Thread-1717::DEBUG::2011-07-03 08:41:14,909::safelease::61::Storage.Misc.excCmd::(acquire) '/usr/bin/sudo -n /usr/bin/setsid /usr/bin/ionice -c1 -n0 /bin/su vdsm -s /bin/sh -c "/usr/libexec/vdsm/spmprotect.sh start \\"\\" 1 5 /rhev/data-center/mnt/orion.qa.lab.tlv.redhat.com:_export_mgoldboi_export/dom_md/leases 30000 1000 3"' (cwd /usr/libexec/vdsm/)
Thread-1717::DEBUG::2011-07-03 08:41:14,939::safelease::61::Storage.Misc.excCmd::(acquire) FAILED: <err> = ''; <rc> = 1
Thread-1717::ERROR::2011-07-03 08:41:14,940::task::865::TaskManager.Task::(_setError) Unexpected error

Comment 2 Roy Golan 2011-07-03 11:44:27 UTC
Created attachment 511046 [details]
vdsm.log

Comment 3 Federico Simoncelli 2011-07-14 09:40:39 UTC
Looks like the SDUUID value in the metadata was cleared by vdsm (the _SHA_CKSUM was correct). Once it's cleared you can't attach the SD anymore.
I believe the corruption happened on an other host since there's no other evidence of 16d6afce-80c1-452d-9262-9fd4ae861f8a in all the logs on pluto-vdsd.

Comment 8 Federico Simoncelli 2011-07-20 12:56:29 UTC
Apparently we can't find more information about when and how the metadata was modified. Closing for insufficient data.