[one-users] can't get s information from the physical node
Liu, Zhentao
Zhentao.Liu at fokus.fraunhofer.de
Thu Oct 8 06:31:58 PDT 2009
Hi, Matheus
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:
oneadmin ALL= NOPASSWD:/usr/sbin/kvm
oneadmin ALL= NOPASSWD:/usr/sbin/kvmctl
oneadmin ALL= NOPASSWD:/usr/sbin/kvm-img
oneadmin ALL= NOPASSWD:/usr/sbin/kvm-nbd
oneadmin ALL= NOPASSWD:/usr/sbin/kvm-ok
oneadmin ALL= NOPASSWD:/usr/sbin/kvm_stat
oneadmin ALL= NOPASSWD:/usr/sbin/kvmtrace
oneadmin ALL= NOPASSWD:/usr/sbin/kvmtrace_format
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.
I think this is the reason that the remote node can't send the KVM information back to the front-end. Is right?
Any other ideas?
Regards
Zhentao
-----Original Message-----
From: Matheus Cunha [mailto:mathcunha at gmail.com]
Sent: Thu 10/8/2009 2:16 AM
To: Liu, Zhentao
Cc: users at lists.opennebula.org
Subject: Re: [one-users] can't get s information from the physical node
Hi,
I had this same problem, that was resolved when I gave some root access to
my oneadmin account. In my case I had to add two lines to the /etc/sudoers
file, as follow.
oneadmin ALL= NOPASSWD: /usr/sbin/xm
oneadmin ALL= NOPASSWD: /usr/sbin/xentop
Regards,
On Wed, Oct 7, 2009 at 11:01 AM, Liu, Zhentao <
Zhentao.Liu at fokus.fraunhofer.de> wrote:
> Hello,
>
> I have created a node using my remote host. But on the front-end I can't
> get the information of the node, i.e
>
>
> --------------------------------------------------------------------------------
> root at taresian:/var/log/one# onehost list
> HID NAME RVM TCPU FCPU ACPU TMEM FMEM
> STAT
> 4 193.175.134.144 0 0 100 7593960
> on
>
> --------------------------------------------------------------------------------
>
> The error in file oned.log is:
>
>
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Wed Oct 7 10:44:28 2009 [InM][I]: Monitoring host 193.175.134.144 (4)
> Wed Oct 7 10:46:07 2009 [InM][E]: Error monitoring host 4 : MONITOR
> FAILURE 4 Can not send script to remote machine: 193.175.134.144
>
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Any helps would be very appreciated?
>
> Thanks
>
> Zhentao Liu
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Matheus Cunha.
"Serenity now!" - Frank Costanza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20091008/dab6d721/attachment-0003.htm>
More information about the Users
mailing list