<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hello Jaime,<br>
<br>
qemu.conf is ok :<br>
<br>
# grep -vE '^($|#)' /etc/libvirt/qemu.conf<br>
user = "oneadmin"<br>
group = "oneadmin"<br>
dynamic_ownership = 0<br>
<br>
I found that </tt><code><span class="pre">:<br>
<br>
- user qemu belongs to group 'kvm', but oneadmin doesn't<br>
- I have no libvirtd group<br>
- /etc/libvirt/libvirtd.conf had listen_tcp=1 commented<br>
- </span></code><code><span class="pre">/etc/sysconfig/libvirtd
had </span></code><code><span class="pre">LIBVIRTD_ARGS="--listen"
commented<br>
<br>
Can I restart libvirt without affecting running VMs?<br>
<br>
Thanks,<br>
regards,<br>
Sergi<br>
<br>
<br>
</span></code>
<div class="moz-cite-prefix">On 19/11/14 16:47, Jaime Melis wrote:<br>
</div>
<blockquote
cite="mid:CA+HrgRqHUXGzZfONDwsjnW=01KqU0bBydtJ_-r3NVEqV75nzqQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I think this is due to a misconfigured qemu.conf.</div>
<div><br>
</div>
<div>Does it have this? (<a moz-do-not-send="true"
href="http://docs.opennebula.org/4.10/administration/virtualization/kvmg.html#kvm-configuration">http://docs.opennebula.org/4.10/administration/virtualization/kvmg.html#kvm-configuration</a>)</div>
<div>
<div><br>
</div>
<div>$ grep -vE '^($|#)' /etc/libvirt/qemu.conf</div>
<div>user = "oneadmin"</div>
<div>group = "oneadmin"</div>
<div>dynamic_ownership = 0</div>
</div>
<div><br>
</div>
<div>cheers,</div>
<div>Jaime</div>
<div><br>
</div>
<div><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Nov 5, 2014 at 6:21 PM, Sergi
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:sse@okitup.com" target="_blank">sse@okitup.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hello,<br>
<br>
we are using OpenNebula 4.6.2 under CentOS 6.5.<br>
<br>
We have 2 hosts, one of these has also Sunstone and
exports shared datastores (system, image and file),
named 'localhost'. <br>
We also have another system datastore using the ssh
driver.<br>
<br>
We have an issue with stopping VMs ... from sunstone
gui, powering off a VM on the ssh system datastore and
starting it again works; but stopping (option on menu
that includes undeploy and undeploy hard) deletes the
VM files and when trying to start it again, kvm cannot
find the files (i.e. checkpoint).<br>
<br>
Wed Oct 29 10:55:45 2014 [LCM][I]: New VM state is
SAVE_STOP<br>
Wed Oct 29 10:55:51 2014 [VMM][I]: ExitCode: 0<br>
Wed Oct 29 10:55:51 2014 [VMM][I]: Successfully
execute virtualization driver operation: save.<br>
Wed Oct 29 10:55:51 2014 [VMM][I]: ExitCode: 0<br>
Wed Oct 29 10:55:51 2014 [VMM][I]: Successfully
execute network driver operation: clean.<br>
Wed Oct 29 10:55:51 2014 [LCM][I]: New VM state is
EPILOG_STOP<br>
Wed Oct 29 10:55:52 2014 [DiM][I]: New VM state is
STOPPED<br>
Wed Oct 29 10:58:07 2014 [DiM][I]: New VM state is
PENDING.<br>
Wed Oct 29 10:58:21 2014 [DiM][I]: New VM state is
ACTIVE.<br>
Wed Oct 29 10:58:21 2014 [LCM][I]: New VM state is
PROLOG.<br>
Wed Oct 29 10:58:21 2014 [LCM][I]: New VM state is
BOOT<br>
Wed Oct 29 10:58:22 2014 [VMM][I]: ExitCode: 0<br>
Wed Oct 29 10:58:22 2014 [VMM][I]: Successfully
execute network driver operation: pre.<br>
Wed Oct 29 10:58:22 2014 [VMM][I]: Command execution
fail: /var/tmp/one/vmm/kvm/restore
'/var/lib/one//datastores/100/61/checkpoint'
'localhost' 'one-61' 61 localhost<br>
Wed Oct 29 10:58:22 2014 [VMM][E]: restore: Command
"virsh --connect qemu:///system restore
/var/lib/one//datastores/100/61/checkpoint" failed:
error: Failed to restore domain from
/var/lib/one//datastores/100/61/checkpoint<br>
Wed Oct 29 10:58:22 2014 [VMM][I]: error: Failed to
create file
'/var/lib/one//datastores/100/61/checkpoint':
L’operació no és permesa<br>
Wed Oct 29 10:58:22 2014 [VMM][E]: Could not restore
from /var/lib/one//datastores/100/61/checkpoint<br>
Wed Oct 29 10:58:22 2014 [VMM][I]: ExitCode: 1<br>
Wed Oct 29 10:58:22 2014 [VMM][I]: Failed to execute
virtualization driver operation: restore.<br>
Wed Oct 29 10:58:22 2014 [VMM][E]: Error restoring VM:
Could not restore from
/var/lib/one//datastores/100/61/checkpoint<br>
Wed Oct 29 10:58:22 2014 [LCM][I]: Fail to boot VM.
New VM state is EPILOG_STOP<br>
Wed Oct 29 10:58:22 2014 [DiM][I]: New VM state is
STOPPED<br>
<br>
Thanks,<br>
regards,<br>
Sergi<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
</font></span></tt><span class="HOEnZb"><font
color="#888888">
<div> <br>
<b> <font face="arial" size="1"> -- <br>
<a moz-do-not-send="true"
href="https://www.okitup.com"
target="_blank"><img
src="cid:part3.09050104.07080909@okitup.com"
alt="okITup S.L."></a><br>
<br>
<b> <font face="arial" size="1">
Infraestructures de hosting a mida</font></b><br>
<b> <font face="arial" size="1">
Administració i Programació de Sistemes</font></b><br>
<br>
<b> <font face="arial">email: info@ok<font
color="#ff9900">IT</font><a
moz-do-not-send="true"
href="http://up.com" target="_blank">up.com</a></font></b><br>
<br>
<b> <font face="arial">telef.: 93 176 39 76</font></b><br>
<br>
-- <br>
<br>
La información de este correo electrónico es
confidencial, personal e intransferible y sólo
está dirigida a la(s) dirección(es)
indicada(s) arriba. Si usted lee este mensaje
por equivocación, le informamos que está
prohibida su divulgación, uso o distribución,
completos o parciales; le rogamos que lo
notifique inmediatamente al remitente y borre
el mensaje original junto con sus ficheros
anexos sin leerlo ni grabarlo. Gracias. <br>
<br>
La informació d'aquest correu electrònic és
confidencial, personal i intransferible, i
només està dirigida a l'adreça(ces)
indicada(des). Si vostè llegeix aquest
missatge per error, l'informem que n'està
prohibida la propagació, l'ús o la
distribució, complets o parcials; li demanem
que ho notifiqui immediatament a la persona
que li ha enviat i esborri el missatge
original amb les dades adjuntes sense
llegir-lo ni desar-lo. Gràcies. <br>
<br>
This e-mail contains confidential information.
The information is intended for exclusive use
by the abovementioned recipient. If you have
received this e-mail in error, please notify
us immediately to arrange for the confidential
information to be returned to us. We hereby
inform you that it is strictly prohibited to
disclose, copy, distribute or take any action
based on this information. Thank you.</font></b>
</div>
</font></span></div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>Jaime Melis<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a moz-do-not-send="true" href="http://www.OpenNebula.org"
target="_blank">www.OpenNebula.org</a> | <a
moz-do-not-send="true"
href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>
</div>
</div>
</div>
</blockquote>
<br>
<div class="moz-signature">
<br>
<b> <font face="arial" size="1"> -- <br>
<a href="https://www.okitup.com"><img
src="cid:part10.03070900.02020601@okitup.com" alt="okITup
S.L."></a><br>
<br>
<b> <font face="arial" size="1"> Infraestructures de hosting
a mida</font></b><br>
<b> <font face="arial" size="1"> Administració i Programació
de Sistemes</font></b><br>
<br>
<b> <font face="arial" size="2">email: info@ok<font
color="#ff9900">IT</font>up.com</font></b><br>
<br>
<b> <font face="arial" size="2">telef.: 93 176 39 76</font></b><br>
<br>
-- <br>
<br>
La información de este correo electrónico es confidencial,
personal e intransferible y sólo está dirigida a la(s)
dirección(es) indicada(s) arriba. Si usted lee este mensaje
por equivocación, le informamos que está prohibida su
divulgación, uso o distribución, completos o parciales; le
rogamos que lo notifique inmediatamente al remitente y borre
el mensaje original junto con sus ficheros anexos sin leerlo
ni grabarlo.
Gracias.
<br>
<br>
La informació d'aquest correu electrònic és confidencial,
personal i intransferible, i només està dirigida a
l'adreça(ces) indicada(des). Si vostè llegeix aquest missatge
per error, l'informem que n'està prohibida la propagació, l'ús
o la distribució, complets o parcials; li demanem que ho
notifiqui immediatament a la persona que li ha enviat i
esborri el missatge original amb les dades adjuntes sense
llegir-lo ni desar-lo.
Gràcies.
<br>
<br>
This e-mail contains confidential information. The information
is intended for exclusive use by the abovementioned recipient.
If you have received this e-mail in error, please notify us
immediately to arrange for the confidential information to be
returned to us. We hereby inform you that it is strictly
prohibited to disclose, copy, distribute or take any action
based on this information.
Thank you.</font></b>
</div>
</body>
</html>