<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [one-users] can't get s information from the physical node</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi, Matheus<BR>
<BR>
Thank you very much for your solution. I have followed with your method, it still didn't work for me. Otherwise I don't use Xen but KVM, so I add all the KVM related files to /etc/sudoers:<BR>
<BR>
oneadmin ALL= NOPASSWD:/usr/sbin/kvm<BR>
oneadmin ALL= NOPASSWD:/usr/sbin/kvmctl<BR>
oneadmin ALL= NOPASSWD:/usr/sbin/kvm-img<BR>
oneadmin ALL= NOPASSWD:/usr/sbin/kvm-nbd<BR>
oneadmin ALL= NOPASSWD:/usr/sbin/kvm-ok<BR>
oneadmin ALL= NOPASSWD:/usr/sbin/kvm_stat<BR>
oneadmin ALL= NOPASSWD:/usr/sbin/kvmtrace<BR>
oneadmin ALL= NOPASSWD:/usr/sbin/kvmtrace_format<BR>
<BR>
But there is another point that I can only ssh from front-end to my remote node without password, but I can't ssh from my remote to my front-end.<BR>
I think this is the reason that the remote node can't send the KVM information back to the front-end. Is right?<BR>
<BR>
Any other ideas?<BR>
<BR>
Regards<BR>
<BR>
Zhentao<BR>
-----Original Message-----<BR>
From: Matheus Cunha [<A HREF="mailto:mathcunha@gmail.com">mailto:mathcunha@gmail.com</A>]<BR>
Sent: Thu 10/8/2009 2:16 AM<BR>
To: Liu, Zhentao<BR>
Cc: users@lists.opennebula.org<BR>
Subject: Re: [one-users] can't get s information from the physical node<BR>
<BR>
Hi,<BR>
I had this same problem, that was resolved when I gave some root access to<BR>
my oneadmin account. In my case I had to add two lines to the /etc/sudoers<BR>
file, as follow.<BR>
<BR>
oneadmin ALL= NOPASSWD: /usr/sbin/xm<BR>
oneadmin ALL= NOPASSWD: /usr/sbin/xentop<BR>
<BR>
<BR>
Regards,<BR>
<BR>
On Wed, Oct 7, 2009 at 11:01 AM, Liu, Zhentao <<BR>
Zhentao.Liu@fokus.fraunhofer.de> wrote:<BR>
<BR>
> Hello,<BR>
><BR>
> I have created a node using my remote host. But on the front-end I can't<BR>
> get the information of the node, i.e<BR>
><BR>
><BR>
> --------------------------------------------------------------------------------<BR>
> root@taresian:/var/log/one# onehost list<BR>
> HID NAME RVM TCPU FCPU ACPU TMEM FMEM<BR>
> STAT<BR>
> 4 193.175.134.144 0 0 100 7593960<BR>
> on<BR>
><BR>
> --------------------------------------------------------------------------------<BR>
><BR>
> The error in file oned.log is:<BR>
><BR>
><BR>
> -----------------------------------------------------------------------------------------------------------------------------------------<BR>
><BR>
> Wed Oct 7 10:44:28 2009 [InM][I]: Monitoring host 193.175.134.144 (4)<BR>
> Wed Oct 7 10:46:07 2009 [InM][E]: Error monitoring host 4 : MONITOR<BR>
> FAILURE 4 Can not send script to remote machine: 193.175.134.144<BR>
><BR>
> -----------------------------------------------------------------------------------------------------------------------------------------<BR>
><BR>
> Any helps would be very appreciated?<BR>
><BR>
> Thanks<BR>
><BR>
> Zhentao Liu<BR>
><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Users mailing list<BR>
> Users@lists.opennebula.org<BR>
> <A HREF="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR>
><BR>
><BR>
<BR>
<BR>
--<BR>
Matheus Cunha.<BR>
"Serenity now!" - Frank Costanza<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>