Try uncommenting these in qemu.conf:<br><br>user = “root”<br>group = “root”<br>dynamic_ownership = 0<br>and then issuing:<br>sudo service libvirt-bin restart<br><br>also check for these in libvirtd.conf<br><br><br>unix_sock_group = "oneadmin"<br>
and also uncomment unix_sock and set it to user oneadmin as well.<br><br>You will have more detailed info in wiki about disabling apparmor i believe. Other than that, I would recommedn you again to check the fs permissions.<br>
<br>Regards<br><br><div class="gmail_quote">On Sun, Sep 30, 2012 at 3:05 PM, Duverne, Cyrille <span dir="ltr"><<a href="mailto:cyrille.duverne@euranova.eu" target="_blank">cyrille.duverne@euranova.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">Hello, </span></font><br><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">Thanks for this quick feedback.</span></font><br>
<br><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">here below my environment :</span></font><br><br><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">OS : Ubuntu Server 12.04 - 64bits</span></font><br>
<font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">OpenNebula 3.6</span></font><br><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">Installed via opennebula official .deb package</span></font><br>
<br><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">let's take a concreat example : Working template, working image, working network etc :</span></font><br><br><div><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">Host 1 : SUCCESS deployment :</span></font><br>
<font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">#id oneadmin</span></font><br><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">uid=107(oneadmin) gid=114(oneadmin) groups=114(oneadmin),115(kvm),116(libvirtd)</span></font><br>
<br><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">qemu.conf is filled of commented lines (no specific change)</span><br><br><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">Apparmor : nothing special</span><font><br>
</font><br><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">Host 2 : FAILED deployment</span><br><br><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">#id oneadmin</span></font><br>
<font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">uid=107(oneadmin) gid=114(oneadmin) groups=114(oneadmin),115(kvm),116(libvirtd)</span></font><br><br><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px">qemu.conf is filled of commented lines (no specific change)</span><br>
<br><font face="Arial, Helvetica, sans-serif"><span style="font-size:12px">Apparmor : nothing special</span></font><br><br><font>The hosts are looking identical...</font><br><br><font>Thanks in advance</font><br><br></div>
<font style="font-size:12px;font-family:Arial,Helvetica,sans-serif" face=""><div class="im"><div>Cyrille<br>
Blog : <a href="http://blog.cduverne.com" target="_blank">http://blog.cduverne.com</a><br>
Twitter : @CydsWorld<br>
<br>
"Imagination is more important than Knowledge"<br>
Albert Einstein</div><br><br><br></div>Dimanche 30/09/2012 à 19:54 Rodolfo Conte Brufatto a écrit:<div><div class="h5"><br><blockquote style="border:0;border-left:2px solid #22437f;padding:0px;margin:0px;padding-left:5px;margin-left:5px">
Ah, btw don know which distro or OS you're using, but if you have upgraded from a binary package... be aware that the oneadmin group has changed (from cloud to oneadmin as well). So again, re-check the permissions and then give it another shot.<br>

<br>Regards,<br><br><div class="gmail_quote">On Sun, Sep 30, 2012 at 2:51 PM, Rodolfo Conte Brufatto <span dir="ltr"><<a href="mailto:rcbrufatto@gmail.com" target="_blank">rcbrufatto@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you checked the permissions on datastores dir?<br>Also since by default it uses shared fs. I don't know how was your set up before the upgrade... <br>

But it is worth to check the dynamic_ownership option in qemu configuration file and also apparmor settings.<br>
I did the same upgrade but i had an issue with the databases (mysql backend), so I ended up reinstalling the new database again.<br>I haven't tried to instantiate any VMs since i need to configure all my old images and i am between a dilema in my environment in which datastore to use since i was using file based disks.<br>


I will perform deep checkings in my environment tho and see if I face the same problema as yours.<br><br>Regards,<br><br><br><div class="gmail_quote"><div><div>On Sun, Sep 30, 2012 at 2:04 PM, Duverne, Cyrille <span dir="ltr"><<a href="mailto:cyrille.duverne@euranova.eu" target="_blank">cyrille.duverne@euranova.eu</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><div>Hello,<br><br>Following the 3.2 to 3.6 upgrade, I have the following issues :<br>
<br>1/ the one.db still contains a template indicating to be used by 4 VMs, except that no VMs are using this one. How could I fix it ?<br>
<br>2/ One of my hosts refuses to create new VMs (which was working before the upgrade), I didn't change anything on this one and here below the error message :<br><pre style="color:rgb(34,34,34);font-size:13px">Sun Sep 30 18:57:09 2012 [DiM][I]: New VM state is ACTIVE.
Sun Sep 30 18:57:11 2012 [LCM][I]: New VM state is PROLOG.
Sun Sep 30 19:00:33 2012 [TM][I]: clone: Cloning ../../1/14617469c72d931764fc6cba4d3b97c1 in asgaror.local:/var/lib/one//datastores/0/162/disk.0
Sun Sep 30 19:00:33 2012 [TM][I]: ExitCode: 0
Sun Sep 30 19:00:40 2012 [TM][I]: context: Generating context block device at asgaror.local:/var/lib/one//datastores/0/162/disk.1
Sun Sep 30 19:00:40 2012 [TM][I]: ExitCode: 0
Sun Sep 30 19:00:40 2012 [LCM][I]: New VM state is BOOT
Sun Sep 30 19:00:40 2012 [VMM][I]: Generating deployment file: /var/lib/one/162/deployment.0
Sun Sep 30 19:00:41 2012 [VMM][I]: ExitCode: 0
Sun Sep 30 19:00:41 2012 [VMM][I]: Successfully execute network driver operation: pre.
Sun Sep 30 19:00:46 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/162/deployment.0 asgaror.local 162 asgaror.local
Sun Sep 30 19:00:46 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/162/deployment.0
Sun Sep 30 19:00:46 2012 [VMM][I]: error: internal error process exited while connecting to monitor: kvm: -drive file=/var/lib/one//datastores/0/162/disk.0,if=none,id=drive-virtio-disk0,format=raw: could not open disk image /var/lib/one//datastores/0/162/disk.0: Permission denied
Sun Sep 30 19:00:46 2012 [VMM][I]: 
<span>Sun Sep 30 19:00:46 2012 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/162/deployment.0</span>
Sun Sep 30 19:00:46 2012 [VMM][I]: ExitCode: 255
Sun Sep 30 19:00:46 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
<span>Sun Sep 30 19:00:46 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/162/deployment.0</span>
Sun Sep 30 19:00:52 2012 [DiM][I]: New VM state is FAILED</pre><br>3/ Is there any tutorial explaining how to manage permissions on items in Sunstone with the quotas etc... ?<br><br>Thanks in advance for your feedback.<br>


Kind regards<br><br><span style="font-family:arial">Cyrille</span><br><font face="arial"><div>Blog : <a href="http://blog.cduverne.com" target="_blank">http://blog.cduverne.com</a><br>
Twitter : @CydsWorld<br>
<br>
"Imagination is more important than Knowledge"<br>
Albert Einstein</div></font></div></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a 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><span><font color="#888888"><br><br clear="all"><br>-- <br>Have you tried turning it off and on again?<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Have you tried turning it off and on again?<br></blockquote></div></div></font></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a 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><br clear="all"><br>-- <br>Have you tried turning it off and on again?<br>