Bug 718483 - missing SPUuid and HostId calling atachSD
Summary: missing SPUuid and HostId calling atachSD
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Federico Simoncelli
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-03 11:42 UTC by Roy Golan
Modified: 2016-04-18 06:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-20 12:56:29 UTC
Target Upstream Version:


Attachments (Terms of Use)
vdsm.log (12.48 MB, text/x-log)
2011-07-03 11:44 UTC, Roy Golan
no flags Details

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.


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