<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I’m trying to use edit-node to add the ovirt-node-plugin-vdsm plugin to the ovirt-node-iso-3.0.2-1.0.0.el6.iso that I downloaded from here:
<a href="http://resources.ovirt.org/releases/node-base/stable/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso">
http://resources.ovirt.org/releases/node-base/stable/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Whenever I run any edit-node commands against this iso I get the error below:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># ./ovirt-node/tools/edit-node -dv --print-rpm-manifest /app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso<o:p></o:p></p>
<p class="MsoNormal">/app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso<o:p></o:p></p>
<p class="MsoNormal">Losetup add /dev/loop0 mapping to /app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso<o:p></o:p></p>
<p class="MsoNormal">Mounting /dev/loop0 at /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t<o:p></o:p></p>
<p class="MsoNormal">Losetup add /dev/loop1 mapping to /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t/LiveOS/squashfs.img<o:p></o:p></p>
<p class="MsoNormal">Mounting /dev/loop1 at /var/tmp/edit-liveos-nEP1ae/tmp-VOGtjF<o:p></o:p></p>
<p class="MsoNormal">mount: block device /dev/loop1 is write-protected, mounting read-only<o:p></o:p></p>
<p class="MsoNormal">Unmounting directory /var/tmp/edit-liveos-nEP1ae/tmp-VOGtjF<o:p></o:p></p>
<p class="MsoNormal">Losetup remove /dev/loop1<o:p></o:p></p>
<p class="MsoNormal">Unmounting directory /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t<o:p></o:p></p>
<p class="MsoNormal">Losetup remove /dev/loop0<o:p></o:p></p>
<p class="MsoNormal">/usr/lib/python2.6/site-packages/imgcreate/errors.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6<o:p></o:p></p>
<p class="MsoNormal"> return unicode(self.message)<o:p></o:p></p>
<p class="MsoNormal">Error editing LiveOS : Failed to copy base live image to /var/tmp/edit-liveos-nEP1ae/ex/ext3fs.img for modification: [Errno 5] Input/output error<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If I try the same with ovirt-node-iso-3.0.1-1.0.2.el6.iso (downloaded from the same location) all works as expected.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve tried this on CentOS 6.2 and 6.4, same results on both.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can anyone tell me where I am going wrong? Alternatively is there a newer node ISO that already has the ovirt-node-plugin-vdsm plugin installed?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Simon<o:p></o:p></p>
</div>
</body>
</html>