<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 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:292712094;
        mso-list-type:hybrid;
        mso-list-template-ids:-317315612 1345600356 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">I found that requests are supposed to go into the bug tracker. I’m going to read through to make sure my requests aren’t duplicates, and then I’ll start. I did make some additions to the wiki already however
 with things I’ve learned.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> virt-tools-list-bounces@redhat.com [mailto:virt-tools-list-bounces@redhat.com]
<b>On Behalf Of </b>Kesick, Nicholas Charles<br>
<b>Sent:</b> Saturday, August 06, 2011 5:11 PM<br>
<b>To:</b> virt-tools-list@redhat.com<br>
<b>Subject:</b> [virt-tools-list] [Request] Error Message Improvement<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hey folks, newbie here.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve spent the last few days getting a setup running, mainly because I wanted to test the “migrate” feature.  Well, let me take a step back and give the setup first!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Server 1 – Fedora 15, NFS & virt-manager – acting as the NFS server for storage & vm-manager (powering on and off VMs, migrating, etc)<o:p></o:p></p>
<p class="MsoNormal">Server 2 – Fedora 15, virt-manager, etc – Acting as a VM host<o:p></o:p></p>
<p class="MsoNormal">Server 3 – Fedora 15, virt-manager, etc – Acting as a VM host<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I dealt with a number of error messages and quirks along the way, many of which I had written down.  The few that I have I may write up into the wiki, but the main thing I’d like to see is some work on error messages.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For example, if openssh-askpass isn’t installed (and the user is trying to manage another system via SSH and does not have public key authentication setup), the error message is “check that libvirtd is running”, not that a package is missing.
 This also occurs when the system is offline. I think this was noted in a bug report when I googled it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But my biggest quirk came with trying to migrate a machine.  The error always was relating to setting the owner/group, or setting security context.  I went as far as disabling selinux on all of the systems after running a setbool –p virt_use_nfs
 (I think) didn’t work & chmod 777 to all associated VM files.  No dice. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After compiling to the latest virt-manager, virtinstall, virt-viewer (and having to find all of the required packages ^^;;) it still threw the same error – unable to set security context and unable to set owner/group.<o:p></o:p></p>
<p class="MsoNormal">Yet when I tried the command “chown 107:107 /var/lib/libvirt/images/VM1-NFS/Fedora14.img” the path the error said on the host the VM was running on, it worked.<o:p></o:p></p>
<p class="MsoNormal">And finally I figured out the issue… it was trying to set it from the OTHER host… which had a slightly different storage-pool path.<o:p></o:p></p>
<p class="MsoNormal">/var/lib/libvirt/images/VM1-nfs <o:p></o:p></p>
<p class="MsoNormal">verses<o:p></o:p></p>
<p class="MsoNormal">/var/lib/libvirt/images/VM1-NFS (note the uppercase NFS).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Never once did a dialog in setup (new pool) or error say to check that the storage paths and names were the same on all hosts
<span style="font-family:Wingdings">L</span>. I could have had VM1-nfs on one host, and nfs-VM1 on another and the same issue would have occurred w/o much hint as to why.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So please, if possible in the next major release or two, can some focus be put towards relevant error messages?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I among many would appreciate it <span style="font-family:Wingdings">
J</span> and if there is anything I can do to assist (bug reports? Feature requests? Wiki articles?) I’d be glad to assist. 
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Virt-manager rocks though guys!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">         
</span></span><![endif]>Nick Kesick<o:p></o:p></p>
</div>
</body>
</html>