Hi all, I'm not able to setup the ebtables too. I'm running both node and frontend on the same machine. I have this line in /etc/sudoers file. > oneadmin ALL=(ALL) NOPASSWD: /sbin/ebtables * This doesn't work on my case either. Can anybody help plz. :)
Some time I have this log in oned.log, does this help? Fri Apr 8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command Leong Marco [email protected] On Apr 7, 2011, at 9:46 PM, marwen marwen wrote: > > Hi Zaina > > Yes I added oneadmin in the sudoers file of the physical host where the VM is > allocated. > And when I create the VM I specify the host where the VM will be allocated. > But the problem is not resolved. > Do you think that we must add this command in sudoers file of all cluster > nodes. > oneadmin ALL=(ALL) NOPASSWD: /sbin/ebtables * > > Best regards > Marwen > > > From: Zaina AFOULKI <[email protected]> > To: [email protected] > Subject: Re: [one-users] Problem with ebtables OpenNebula > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Marwen, > > Did you make sure that oneadmin is added in the /etc/sudoers file with > oneadmin ALL=(ALL) NOPASSWD: /sbin/ebtables * ? > > http://opennebula.org/documentation:archives:rel2.0:nm > > -- > Zaina > > > On 04/06/2011 06:40 PM, marwen marwen wrote: > > Hi, > > > > I'm using ebtables to isolate virtual network in OpenNebula. > > I have a problem when OpenNebula execute ebtables-kvm script. > > In fact, the log file mention no error "Wed Apr 6 18:22:02 2011 [HKM][D]: > > Message received: EXECUTE SUCCESS 146 ebtables-start". > > But there are no rule added to the list rules of ebtables in the physical > > host where the VM is allocated. > > > > ############################################### > > sudo ebtables -L > > > > Bridge table: filter > > > > Bridge chain: INPUT, entries: 0, policy: ACCEPT > > > > Bridge chain: FORWARD, entries: 0, policy: ACCEPT > > > > Bridge chain: OUTPUT, entries: 0, policy: ACCEPT > > ############################################### > > > > And when I execute manually the script on the worker node, the rules are > > added. > > In the oned.conf we put this configuration > > > > ############################################### > > VM_HOOK = [ > > name = "ebtables-start", > > on = "running", > > command = "ebtables-kvm", # or ebtables-xen > > arguments = "one-$VMID", > > remote = "yes" ] > > > > VM_HOOK = [ > > name = "ebtables-flush", > > on = "done", > > command = "ebtables-flush", > > arguments = "", > > remote = "yes" ] > > ############################################### > > > > can you help me to fix this problem > > > > Best Regards > > Marwen > > > > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
