FILTER_IP_SPOOFING not working on IPv6 interface

Hello,

I’m using OpenNebula 5.2 and VM template have a single NIC with IPv6 address only. When I create new VM then I got the error bellow. After remove “FILTER_IP_SPOOFING = YES” from Virtual network and create a new VM. VM was running without any error. I think this is a bug and I want to report to Dev team.

Mon Nov 28 11:09:36 2016 [Z0][VMM][I]: Successfully execute virtualization driver operation: deploy.
Mon Nov 28 11:09:36 2016 [Z0][VMM][I]: Command execution fail: /var/tmp/one/vnm/802.1Q/post PFZNPjxJRD4xMTU8L0lEPjxERVBMT1lfSUQvPjxURU1QTEFURT48U0VDVVJJVFlfR1JPVVBfUlVMRT48UFJPVE9DT0w+PCFbQ0RBVEFbQUxMXV0+PC9QUk9UT0NPTD48UlVMRV9UWVBFPjwhW0NEQVRBW09VVEJPVU5EXV0+PC9SVUxFX1RZUEU+PFNFQ1VSSVRZX0dST1VQX0lEPjwhW0NEQVRBWzBdXT48L1NFQ1VSSVRZX0dST1VQX0lEPjxTRUNVUklUWV9HUk9VUF9OQU1FPjwhW0NEQVRBW2RlZmF1bHRdXT48L1NFQ1VSSVRZX0dST1VQX05BTUU+PC9TRUNVUklUWV9HUk9VUF9SVUxFPjwvVEVNUExBVEU+PFRFTVBMQVRFPjxTRUNVUklUWV9HUk9VUF9SVUxFPjxQUk9UT0NPTD48IVtDREFUQVtBTExdXT48L1BST1RPQ09MPjxSVUxFX1RZUEU+PCFbQ0RBVEFbSU5CT1VORF1dPjwvUlVMRV9UWVBFPjxTRUNVUklUWV9HUk9VUF9JRD48IVtDREFUQVswXV0+PC9TRUNVUklUWV9HUk9VUF9JRD48U0VDVVJJVFlfR1JPVVBfTkFNRT48IVtDREFUQVtkZWZhdWx0XV0+PC9TRUNVUklUWV9HUk9VUF9OQU1FPjwvU0VDVVJJVFlfR1JPVVBfUlVMRT48L1RFTVBMQVRFPjxISVNUT1JZX1JFQ09SRFM+PEhJU1RPUlk+PEhPU1ROQU1FPmh2MDI8L0hPU1ROQU1FPjwvSElTVE9SWT48L0h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tZRVNdXT48L0ZJTFRFUl9JUF9TUE9PRklORz48RklMVEVSX01BQ19TUE9PRklORz48IVtDREFUQVtZRVNdXT48L0ZJTFRFUl9NQUNfU1BPT0ZJTkc+PElQPjwhW0NEQVRBWzEwLjIxMC4wLjRdXT48L0lQPjxNQUM+PCFbQ0RBVEFbMDI6MDA6MGE6ZDI6MDA6MDRdXT48L01BQz48TU9ERUw+PCFbQ0RBVEFbZTEwMDBdXT48L01PREVMPjxORVRXT1JLPjwhW0NEQVRBW1ByaXZhdGUgVkxBTiAyMTAwXV0+PC9ORVRXT1JLPjxORVRXT1JLX0lEPjwhW0NEQVRBWzhdXT48L05FVFdPUktfSUQ+PE5FVFdPUktfVU5BTUU+PCFbQ0RBVEFbb25lYWRtaW5dXT48L05FVFdPUktfVU5BTUU+PE5JQ19JRD48IVtDREFUQVsyXV0+PC9OSUNfSUQ+PFBIWURFVj48IVtDREFUQVt0ZWFtMV1dPjwvUEhZREVWPjxTRUNVUklUWV9HUk9VUFM+PCFbQ0RBVEFbMF1dPjwvU0VDVVJJVFlfR1JPVVBTPjxUQVJHRVQ+PCFbQ0RBVEFbb25lLTExNS0yXV0+PC9UQVJHRVQ+PFZMQU5fSUQ+PCFbQ0RBVEFbMjEwMF1dPjwvVkxBTl9JRD48Vk5fTUFEPjwhW0NEQVRBWzgwMi4xUV1dPjwvVk5fTUFEPjwvTklDPjwvVEVNUExBVEU+PC9WTT4= ‘one-115’
Mon Nov 28 11:09:36 2016 [Z0][VMM][I]: ipset v6.19: Missing second mandatory argument to command add
Mon Nov 28 11:09:36 2016 [Z0][VMM][I]: Try ipset help' for more information. Mon Nov 28 11:09:36 2016 [Z0][VMM][E]: post: Command Error: sudo ipset add -exist one-115-1-ip-spoofing Mon Nov 28 11:09:36 2016 [Z0][VMM][E]: post: ["/var/tmp/one/vnm/command.rb:61:inblock in run!’", “/var/tmp/one/vnm/command.rb:58:in each'", "/var/tmp/one/vnm/command.rb:58:inrun!’”, “/var/tmp/one/vnm/security_groups_iptables.rb:289:in nic_pre'", "/var/tmp/one/vnm/sg_driver.rb:92:inblock in activate’”, “/var/tmp/one/vnm/sg_driver.rb:84:in each'", "/var/tmp/one/vnm/sg_driver.rb:84:inactivate’”, “/var/tmp/one/vnm/802.1Q/post:32:in `
’”]
Mon Nov 28 11:09:36 2016 [Z0][VMM][I]: ExitCode: 1
Mon Nov 28 11:09:36 2016 [Z0][VMM][I]: ExitCode: 0
Mon Nov 28 11:09:36 2016 [Z0][VMM][I]: Successfully execute virtualization driver operation: cancel.
Mon Nov 28 11:09:36 2016 [Z0][VMM][I]: Failed to execute network driver operation: post.
Mon Nov 28 11:09:36 2016 [Z0][VMM][E]: Error deploying virtual machine: 802.1Q: -
Mon Nov 28 11:09:36 2016 [Z0][VM][I]: New LCM state is BOOT_FAILURE

Thank you, indeed. Full IPv6 support for filtering is planned for next
release, as contributed here: http://dev.opennebula.org/issues/4159