<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear all<br>
<br>
sorry for spamming the list, but I want to report the solution for
my issues as well, just to close this thread....<br>
<br>
Apparently, I had misconfigured the
/etc/apparmor.d/abstractions/libvirt-qemu...<br>
First, there was a typo in the line I had added.<br>
<br>
Second, I had configured a specific VM_DIR, and you have to add an
additional exception to the apparmor.d file!<br>
In my case, this was VM_DIR=/work/onimages, and I had to add an
additional line:<br>
---> owner /srv/cloud/one/var/** rw,<br>
--> owner /work/onimages/** rw,<br>
<br>
Of course, restart the apparmor daemon again.<br>
<br>
I do not know whether this is a generic "issue", maybe it should be
added to the documentation on the OpenNebula website? Now, there is
only a warning for the /srv/cloud/one/var directory...<br>
<br>
Best regards,<br>
Pieter<br>
<br>
<br>
<br>
Op 8/04/2011 10:52, Pieter Simoens schreef:
<blockquote cite="mid:4D9ECCD2.7080808@intec.ugent.be" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Dear all,<br>
<br>
following up on my e-mail below: according to <a
moz-do-not-send="true"
href="http://dev.opennebula.org/issues/131">http://dev.opennebula.org/issues/131</a>,
this should be solved in my version (I am running 2.0). <br>
<br>
It seems it has to do with the way you connect to the virsh socket
(qemu:///system ?)<br>
<br>
So, I think the question is: where is the variable $LIBVIRT_URI
specified? At least, that is the variable that is used in the
/var/remotes/vmm/kvm/save script?<br>
<br>
Best regards,<br>
Pieter<br>
<br>
Op 8/04/2011 10:18, Pieter Simoens schreef:
<blockquote cite="mid:4D9EC4C4.50709@intec.ugent.be" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Dear all,<br>
<br>
when I issue a command "onevm stop VM_ID'', the Virtual Machine
stays in the save state. On my front-end node, the log-files
(both oned.log and vm.log) show no specific error.<br>
<br>
However, when I have a look at the virsh log-file on my cluster
node (/var/log/libvirt/qemu/one-22.log), I see the error: "sh:
cannot create /work/onimages/VM_ID/images/checkpoint: Permission
denied". <br>
<br>
Strangely enough, the permissions of /work/onimages/VM_ID/images
directory are set correctly (or so I think...): oneadmin is the
owner, and cloud is the group. Also the uid and gid are
identical to the oneadmin user on my frontend. But the
images/checkpoint directory seems to be owned by the root user,
belonging to the root group.<br>
<br>
Does anybody have an idea how this can be possible? Did I
configure my cluster node in the wrong way?<br>
<br>
Thank you,<br>
Pieter<br>
<br>
Op 5/04/2011 14:49, Carlos Martín Sánchez schreef:
<blockquote
cite="mid:BANLkTim2pfTKb6UH18XXbQ6k44oHSTHR-w@mail.gmail.com"
type="cite">Hi Pieter, please find my comments inline:<br
clear="all">
<span style="border-collapse: collapse; color: rgb(136, 136,
136); font-family: arial,sans-serif; font-size: 13px;"></span><br>
<br>
<div class="gmail_quote">On 5 April 2011 13:42, Pieter Simoens
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:pieter.simoens@intec.ugent.be">pieter.simoens@intec.ugent.be</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> <font
face="Calibri">Dear all,<br>
<br>
I am running OpenNebula 2.0. I am able to successfully
deploy a VM on a cluster node. The image is
(currently) transferred over SSH. The VM boots
successfully, and I am able to log-in.<br>
<br>
When I do "onevm shutdown VM_ID", the VM is correctly
shut down. But it does no longer appear in the output
of "onevm list all".<br>
<br>
</font></div>
</blockquote>
<div><br>
That's the normal behaviour, VMs in DONE state are not
listed. However, you can still see the extended
information using 'onevm show <id>', because they
are stored in the DB for accounting purposes.<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><font face="Calibri">
However, as far as I can recall from my previous
experiments, I thought that the VM image would we
transferred back, somewhere to VM_DIR/VM_ID directory.
<br>
<br>
Unfortunately, this is not happening. Does anybody has
any idea what can be the cause? Do I need to specify
any additional parameters? The log-files show me no
specific problem (I checked the oned.log and the
/var/VM_ID/vm.log).<br>
</font></div>
</blockquote>
<div><br>
Are you using the Image Repository [1]? If so, is the
Image persistent?<br>
If you are defining the DISKs in the VM templates as in
previous versions, make sure the attribute SAVE=YES is
present.<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><font face="Calibri"><br>
Thank you,<br>
</font></div>
</blockquote>
<div><br>
Regards,<br>
Carlos.<br>
<br>
[1] <a moz-do-not-send="true"
href="http://opennebula.org/documentation:rel2.2:img_guide">http://opennebula.org/documentation:rel2.2:img_guide</a>
<br>
<br>
<span style="border-collapse: collapse; color: rgb(136,
136, 136); font-family: arial,sans-serif; font-size:
13px;">--<br>
Carlos Martín, MSc<br>
Project Major Contributor<br>
<span style="background-color: rgb(255, 255, 204);
color: rgb(34, 34, 34);">OpenNebula</span> - The Open
Source Toolkit for Cloud Computing<br>
<a moz-do-not-send="true"
href="http://www.opennebula.org/" style="color:
rgb(42, 93, 176);" target="_blank">www.<span
style="background-color: rgb(255, 255, 204); color:
rgb(34, 34, 34);">OpenNebula</span>.org</a> | <a
moz-do-not-send="true"
href="mailto:cmartin@opennebula.org" style="color:
rgb(42, 93, 176);" target="_blank">cmartin@<span
style="background-color: rgb(255, 255, 204); color:
rgb(34, 34, 34);">opennebula</span>.org</a></span><br>
<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"><font face="Calibri">
</font>
<pre cols="72">--
Pieter Simoens, Ph.D.
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - IBBT
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14878 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
W : <a moz-do-not-send="true" href="http://www.ibcn.intec.UGent.be" target="_blank">www.ibcn.intec.UGent.be</a>
</pre>
</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>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Pieter Simoens, Ph.D.
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - IBBT
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14878 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
W : <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.ibcn.intec.UGent.be">www.ibcn.intec.UGent.be</a>
</pre>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Pieter Simoens, Ph.D.
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - IBBT
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14878 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
W : <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.ibcn.intec.UGent.be">www.ibcn.intec.UGent.be</a>
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Pieter Simoens, Ph.D.
Department of Information Technology
Internet Based Communication Networks and Services (IBCN)
Ghent University - IBBT
Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
T: +32 9 33 14878 ; T Secr: +32 9 33 14900
F: +32 9 33 14899
W : <a class="moz-txt-link-abbreviated" href="http://www.ibcn.intec.UGent.be">www.ibcn.intec.UGent.be</a>
</pre>
</body>
</html>