Jeremy Udit
2011-Dec-19 04:21 UTC
pbd-plug failing when attaching an SR that was introduced
Any troubleshooting steps I can follow to get this SR attached again? Has anyone seen this error before? xe pbd-plug uuid=b804d322-c501-6b59-fb7e-b6612042535c There was an SR backend failure. status: non-zero exit stdout: stderr: Traceback (most recent call last): File "/opt/xensource/sm/LVMSR", line 1446, in ? SRCommand.run(LVHDSR, DRIVER_INFO) File "/opt/xensource/sm/SRCommand.py", line 246, in run ret = cmd.run(sr) File "/opt/xensource/sm/SRCommand.py", line 94, in run return self._run_locked(sr) File "/opt/xensource/sm/SRCommand.py", line 131, in _run_locked return self._run(sr, target) File "/opt/xensource/sm/SRCommand.py", line 223, in _run return sr.attach(self.params[''sr_uuid'']) File "/opt/xensource/sm/LVMSR", line 308, in attach self._checkMetadataVolume(self.sm_config) File "/opt/xensource/sm/LVMSR", line 200, in _checkMetadataVolume self._synchMetaData(map) File "/opt/xensource/sm/LVMSR", line 210, in _synchMetaData xml = metadata.retrieveXMLfromFile(self.mdpath) File "/opt/xensource/sm/metadata.py", line 103, in retrieveXMLfromFile _testHdr(hdr) File "/opt/xensource/sm/metadata.py", line 41, in _testHdr assert(hdr[2] <= MD_MAJOR) AssertionError _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2011-Dec-22 23:33 UTC
Re: pbd-plug failing when attaching an SR that was introduced
On 19.12.2011 08:21, Jeremy Udit wrote:> > Any troubleshooting steps I can follow to get this SR attached again? > Has anyone seen this error before? > > xe pbd-plug uuid=b804d322-c501-6b59-fb7e-b6612042535c > There was an SR backend failure. > status: non-zero exit > stdout: > stderr: Traceback (most recent call last): > File "/opt/xensource/sm/LVMSR", line 1446, in ? > SRCommand.run(LVHDSR, DRIVER_INFO) >(skip)> > File "/opt/xensource/sm/metadata.py", line 103, in retrieveXMLfromFile > _testHdr(hdr) > File "/opt/xensource/sm/metadata.py", line 41, in _testHdr > assert(hdr[2] <= MD_MAJOR) > AssertionError >Well, start from /var/log/SMlog to see which command is actually failing. All storage stuff is performed not by xapi, but by the sm (/opt/xensource/sm) which is written in python. There can be bunch of errors and reasons, and probably you will need to dig to the underlaying LVM stuff. P.S. Are you having updated system? If you install ''normal'' LVM2 package from centos repository this will broke many LVM operations. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Maybe Matching Threads
- Problem importing virtual disk
- Failed to create SR with lvmoiscsi on xcp1.6[ [opterr=Logical Volume partition creation error [opterr=error is 5]]
- Bug#691808: xcp-storage-managers: Another wrong binary path + wrong parameter in storage managers backend
- XCP 1.1 SR_BACKEND_FAILURE_46 The VDI is not available [opterr=VDI already attached RW] issue
- Re: [Xen-API] (solved) xe vdi-create failure ot local SR type=file and type=ext