<div dir="ltr"><div dir="ltr">Hi Marco,<br><br>I'm a bit lost about your current configuration, can you do grep -vE '^($|#)' on these files and pastebin them to this list?<br>- /etc/libvirt/libvirtd.conf<br>- /etc/libvirt/qemu.conf<br>
- /etc/apparmor.d/libvirt-qemu<br><br>Also, what happens when you do (as oneadmin):<br>$ virsh -c qemu:///system nodeinfo<br><br>cheers,<br>Jaime<div style><span style="font-family:monospace;font-size:10px"><br></span></div>
</div><div class="gmail_extra">On Mon, Jan 14, 2013 at 4:16 PM, Marco Jagodzinska <span dir="ltr"><<a href="mailto:jagodzinska@fh-aachen.de" target="_blank">jagodzinska@fh-aachen.de</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
I'm working as oneadmin :)<br>
sudo su oneadmin<br>
<br>
<br>
<div>Am 14.01.2013 16:09, schrieb Duverne,
Cyrille:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div><font face="arial">Marco,<br>
<br>
Just to be 100% sure, are you launching and using ONE as
oneadmin ?<br>
<br>
Cheers<br>
Cyrille<br>
<br>
Lundi 14/01/2013 à 15:51 Marco Jagodzinska a écrit:<br>
<blockquote style="border:0;border-left:2px solid #22437f;padding:0px;margin:0px;padding-left:5px;margin-left:5px">Hello again,<br>
<br>
so you mean changing the two following two parts in <br>
|/etc/libvirt/libvirtd.conf| ?/<br>
<br>
unix_sock_group = "libvirt" -> unix_sock_group =
"oneadmin"///<br>
<br>
and<br>
/<br>
//unix_sock_rw_perms = "0770" -> unix_sock_rw_perms =
"0777"<br>
<br>
I tried it and it still isn't working.<br>
<br>
<br>
But that strangest thing is: when I don't change anything at
all "onehost create" is working.<br>
I thought because of later errors with "onevm create" (see
mail: [one-users] "Could not create domain" while trying to
start a vm, 9.1.), I have to follow the steps for KVM
configuration from the official site.<br>
<br>
I dont want to believe that following the official tutorial
leads to errors you doesn't would have when you do nothing <img alt=";)"><br>
<br>
Cheers,<br>
Marco<br>
/<br>
<br>
<br>
<br>
Am 14.01.2013 14:54, schrieb Duverne, Cyrille:<br>
> Hello again,<br>
><br>
> As mentionned here as well : <br>
> <a href="http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/014614.html" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/014614.html</a><br>
><br>
> You have to run libvirt as oneadmin.<br>
><br>
> Could you try again ?<br>
><br>
> Cheers<br>
> Cyrille<br>
><br>
> Lundi 14/01/2013 à 14:50 Marco Jagodzinska a écrit:<br>
><br>
> Hello Cyrille,<br>
><br>
> thanks for your answer!<br>
><br>
> I tried both.<br>
><br>
> With "-l" the command "service libvirt-bin restart"
isn't longer<br>
> working properly:<br>
> root@Arbeitsrechner:/# service libvirt-bin restart<br>
> stop: Unknown instance:<br>
> libvirt-bin start/running, process 25471<br>
><br>
> Without "-l" the restart is working fine:<br>
> root@Arbeitsrechner:/# service libvirt-bin restart<br>
> libvirt-bin stop/waiting<br>
> libvirt-bin start/running, process 25673<br>
><br>
> And "onehost create" fails in both cases...<br>
><br>
> Cheers,<br>
> Marco<br>
><br>
><br>
><br>
> Am 14.01.2013 14:38, schrieb Duverne, Cyrille:<br>
>> Hello Marco,<br>
>><br>
>> Did you launch livirt with the -l option ?<br>
>> As described in the tutorial :<br>
>> "<br>
>><br>
>> *<br>
>> |/etc/libvirt/libvirtd.conf| : Uncomment
“listen_tcp = 1”.<br>
>> Security configuration is left to the
admin's choice, file is<br>
>> full of useful comments to achieve a
correct configuration.<br>
>> As a tip, if you don't want to use TLS for
connections set<br>
>> |listen_tls = 0|.<br>
>><br>
>> *<br>
>> |/etc/default/libvirt-bin| : add *-l*
option to |libvirtd_opts|<br>
>><br>
>> "<br>
>><br>
>> Just my 2 cents.<br>
>><br>
>> Kind regards<br>
>> CyD<br>
>><br>
>><br>
>> Lundi 14/01/2013 à 14:20 Marco Jagodzinska a
écrit:<br>
>><br>
>> Hello again,<br>
>><br>
>> next try, hoping for an answer <img alt=";)"><br>
>><br>
>> (I'm using Xubuntu 12.04 and the latest
OpenNebula 3.8.3)<br>
>><br>
>> If I follow the tutorial for configuring
KVM<br>
>> (<a href="http://opennebula.org/documentation:rel3.8:kvmg" target="_blank">http://opennebula.org/documentation:rel3.8:kvmg</a>),
I receive<br>
>> an error<br>
>> message when I try to "onehost create
localhost -i im_kvm -v<br>
>> vmm_kvm -n<br>
>> dummy"<br>
>><br>
>> The error (onehost show):<br>
>><br>
>> ERROR=[<br>
>> MESSAGE="Error monitoring host 4 :
MONITOR FAILURE 4 Error<br>
>> executing<br>
>> kvm.rb<br>
>> ",<br>
>> TIMESTAMP="Mon Jan 14 14:10:11 2013" ]<br>
>><br>
>><br>
>><br>
>> It seems that the step leading to this
error is changing<br>
>> qemu.conf so<br>
>> that it reads as follows:<br>
>><br>
>> $ grep -vE '^($|#)' /etc/libvirt/qemu.conf<br>
>> user = "oneadmin"<br>
>> group = "oneadmin"<br>
>> dynamic_ownership = 0<br>
>><br>
>><br>
>> Anybody able to help me?<br>
>><br>
>> Cheers,<br>
>> Marco<br>
>><br>
>><br>
>>
_______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="mailto:Users@lists.opennebula.org" target="_blank"><mailto: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>
</font></div>
</blockquote>
<br>
</div></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></div><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>
</div>