Hide Forgot
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
Created attachment 511046 [details] vdsm.log
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.
Apparently we can't find more information about when and how the metadata was modified. Closing for insufficient data.