[one-users] Problem with ebtables OpenNebula

marwen marwen marwen.ensi at gmail.com
Wed Apr 6 09:40:28 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110406/fe7a3a58/attachment-0002.htm>


More information about the Users mailing list