Bug 618661

Summary: libvirtd fails to insert needed iptables rules for NAT network due to missing CHECKSUM module
Product: Red Hat Enterprise Linux 6 Reporter: Mauricio Teixeira <mteixeira>
Component: iptablesAssignee: iptables-maint-list <iptables-maint-list>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: low    
Version: 6.0CC: pknirsch, twoerner
Target Milestone: rcKeywords: RHELNAK
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-27 15:44:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Mauricio Teixeira 2010-07-27 13:52:38 UTC
Description of problem:

libvirtd fails to insert needed iptables rules for NAT network due to missing CHECKSUM module, which prevents DHCP from working on virtual network interfaces.

Version-Release number of selected component (if applicable):

libvirt-0.8.1-15.el6.x86_64
iptables-1.4.7-2.el6.x86_64

How reproducible:

Always.

Steps to Reproduce:
1. service libvirtd restart
2. (watch /var/log/messages)

Actual results:

libvirtd: 10:42:46.110: error : virRunWithHook:933 : internal error '/sbin/iptables --table mangle --insert POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM --checksum-fill' exited with non-zero status 2 and signal 0: iptables v1.4.7: unknown option `--checksum-fill'#012Try `iptables -h' or 'iptables --help' for more information.#012
libvirtd: 10:42:46.110: warning : networkAddIptablesRules:851 : Could not add rule to fixup DHCP response checksums on network 'default'

Expected results:

Should not give error.

Additional info:

# /sbin/iptables --table mangle --insert POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM
iptables v1.4.7: Couldn't load target `CHECKSUM':/lib64/xtables/libipt_CHECKSUM.so: cannot open shared object file: No such file or directory
# rpm -V iptables
(nothing)

Comment 2 RHEL Product and Program Management 2010-07-27 14:18:11 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 3 Phil Knirsch 2010-07-27 14:43:11 UTC
What kernel version please?

Thanks & regards, Phil

Comment 4 Mauricio Teixeira 2010-07-27 15:00:31 UTC
2.6.32-52.el6.x86_64