Hi Harsha,<br><br>comments inline,<br clear="all"><br><div class="gmail_quote">On Mon, Aug 10, 2009 at 2:39 PM, Harsha Buggi <span dir="ltr"><<a href="mailto:Harsha_Buggi@mindtree.com" target="_blank">Harsha_Buggi@mindtree.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I tried creating a new user on the system and also created the same user using 'oneuser create' command. I did not set the ONE_AUTH variable.I then logged into the system with the new user credentials and I am able to start and stop one server.Shoudnt one server be checking for ONE_AUTH variable and thus not allow the new user to perform any action?<br>
<br>
My sudoers file entry is:<br>
%cloud ALL=NOPASSWD: ALL</blockquote><div><br>The new created user shouldn't be able to stop the one server. This is not OpenNebula's domain, here we are talking kernel permissions on operations. Could you check:<br>
<br>1) Which user is running the one server<br><br>2) If, after stopping the one server with the new user, the one server process has indeed stopped (pgrep oned). It may be the case that the process is still running.<br>
</div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
________________________________<br>
From: Harsha Buggi<br>
Sent: Monday, August 10, 2009 5:54 PM<br>
To: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
Subject: Cannot shutdown VM<br>
<br>
Hi,<br>
<br>
I have installed Nebula on an fc8 machine with NIS and NFS support. Using Oneadmin login to create VM's<br>
<br>
I have couple of issues:<br>
<br>
1) I am not able to shutdown VM's. By default fc8 installs 'qemu-kvm' and I have created the symbolic link 'kvm' for this file. But after I create the VM's I am not able to perform a shutdown. I tried changing the 'emulator' to 'qemu-kvm' in libvirtdriver.cc file and reinstalling but I am still not able to shutdown the VM. I am able to do this if I install v1.2. I am using the following versions of hypervisor and libvirt<br>
kvm-60<br>
qemu-0.9.0-7<br>
libvirt-0.4.4<br>
libvirt-python-0.4.4<br>
<br>
2) I found that libvirt v 0.4.4 does not support user logins apart from root. This seems to have been fixed in the released recently v0.7.0. This could be the solution to the issue described in<br>
<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/2009-August/000626.html" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/2009-August/000626.html</a><br>
In my case I have modified the one_vmm_kvm.rb file to reflect<br>
create => "sudo virsh create" instead of 'create => "virsh -c qemu:///session<UrlBlockedError.aspx> create"'<br>
<br>
3) After creating a new user using 'oneuser create' command and setting the ONE_AUTH variable how do I set VM permissions for this user?
<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Should this user be created on the system too?</blockquote>
<div><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Regards,<br>
Harsha</blockquote><div><br>Best,<br><br>-T <br></div><div><br><br>--<br>Constantino Vázquez, Grid Technology Engineer/Researcher: <a href="http://www.dsa-research.org/tinova" target="_blank">http://www.dsa-research.org/tinova</a><br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a> <br>OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a> <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
<br>
________________________________<br>
<a href="http://www.mindtree.com/email/disclaimer.html" target="_blank">http://www.mindtree.com/email/disclaimer.html</a><br>
_______________________________________________<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>
</blockquote></div><br>