[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [Request] Error Message Improvement



Kesick, Nicholas Charles <KESICKN09    > writes:

> 
> 
> 
> 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.
>  
> 
> 
> From: virt-tools-list-bounces redhat com 
[mailto:virt-tools-list-bounces redhat com]
> On Behalf Of Kesick, Nicholas CharlesSent: Saturday, August 06, 2011 5:11 
PMTo: virt-tools-list redhat comSubject: [virt-
tools-list] [Request] Error Message Improvement
> 
> 
>  
> Hey folks, newbie here.
>  
> 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!
>  
> Server 1 – Fedora 15, NFS & virt-manager – acting as the NFS server for 
storage & vm-manager (powering on and off VMs, migrating, etc)
> Server 2 – Fedora 15, virt-manager, etc – Acting as a VM host
> Server 3 – Fedora 15, virt-manager, etc – Acting as a VM host
>  
> 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.
>  
> 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.
>  
> 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. 
>  
> 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.
> 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.
> 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.
> /var/lib/libvirt/images/VM1-nfs 
> verses
> /var/lib/libvirt/images/VM1-NFS (note the uppercase NFS).
>  
> 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
> L. 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.
>  
> So please, if possible in the next major release or two, can some focus be 
put towards relevant error messages?
>  
> I among many would appreciate it 
> J and if there is anything I can do to assist (bug reports? Feature requests? 
Wiki articles?) I’d be glad to assist. 
> 
>  
> Virt-manager rocks though guys!
>  
> -         
> Nick Kesick
> 
> 


Hi, Kesick
I encounter a problem when I want to migrate a VM from localhost to the 
remotehost(destination)
the error is
"Unable to migrate guest: unable to set user and group to '110:120' 
on '/var/lib/libvirt/images/vm1.img'.'/var/lib/libvirt/images/vm1.img':No such 
file or directory "

I do not know why. 
I try

1  chmod 777 -R /var/lib/libvirt/images/

2  I can mount the same directory from the local to the remote host directory.

3  I use the system of ubuntu.  change the /etc/libvirt/qemu.conf
   uncomment the 'dynamic_ownership=0'

But all these are not helpful to the error.
Can you help me?
PS: I use the ubuntu server. How can I restart the libvirtd? 
service libvirtd restart doesn't work.


Thanks in advance


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]