Bug 1175460
| Summary: | AIO packstack fails - bridge module not installed | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Richard W.M. Jones <rjones> |
| Component: | openstack-packstack | Assignee: | Lukas Bezdicka <lbezdick> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ami Jeain <ajeain> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | aortega, apevec, derekh, herrold, ichavero, lbezdick, lhh, rjones, sclewis, yeylon |
| Target Milestone: | --- | Keywords: | OtherQA |
| Target Release: | Juno | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-packstack-2014.2-0.13.dev1395.gaabe0a2.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1132129 | Environment: | |
| Last Closed: | 2015-02-05 22:11:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1132129 | ||
| Bug Blocks: | 1175340 | ||
|
Description
Richard W.M. Jones
2014-12-17 19:04:51 UTC
I was able to work around this by hand-applying the patch (see gerrit) to this file: /usr/share/openstack-puppet/modules/packstack/manifests/neutron/bridge.pp i've tested for this bug on fedora 21 and couldn't reproduce. i'll test in rawhide to see if it presents Ivan, Wouldn't it be easier to compare the manifests/neutron/bridge.pp file from the two different RPMs? the patch was removed in this commit: https://github.com/stackforge/packstack/commit/1151170f534b2e44d9dd3549befa0021e01a1b74 because the cause of this problem does not present anymore neither in Fedora 21 or Fedora rawhide: # sysctl -p /etc/sysctl.conf > /dev/null; echo $? 0 Did the your environment was tampered a little before running packstack? It's a virtual machine that starts off freshly created with only @Core packages installed, so there is no "tampering" going on. However I've no idea who/what installs the rules in the sysctl.conf file (not me, obviously), nor how to find out. It could be packstack itself? The entire contents of /etc/sysctl.conf (after running packstack) are: $ cat /etc/sysctl.conf # HEADER: This file was autogenerated at 2014-12-17 18:52:35 +0000 # HEADER: by puppet. While it can still be managed manually, it # HEADER: is definitely not recommended. # sysctl settings are defined through files in # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/. # # Vendors settings live in /usr/lib/sysctl.d/. # To override a whole file, create a new file with the same in # /etc/sysctl.d/ and put new settings there. To override # only specific settings, add a file with a lexically later # name in /etc/sysctl.d/ and put new settings there. # # For more information, see sysctl.conf(5) and sysctl.d(5). net.ipv4.tcp_keepalive_intvl=1 net.ipv4.tcp_keepalive_time=5 net.ipv4.tcp_keepalive_probes=5 net.ipv4.ip_forward=1 net.bridge.bridge-nf-call-ip6tables=1 net.bridge.bridge-nf-call-iptables=1 net.bridge.bridge-nf-call-arptables=1 # sysctl -p /etc/sysctl.conf > /dev/null; echo $? sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-arptables: No such file or directory 255 It looks like packstack itself is making this change.
See:
/usr/share/openstack-puppet/modules/packstack/manifests/neutron/bridge.pp
which contains:
} -> file_line { '/etc/sysctl.conf bridge-nf-call-ip6tables':
path => '/etc/sysctl.conf',
line => 'net.bridge.bridge-nf-call-ip6tables=1',
match => 'net.bridge.bridge-nf-call-ip6tables\s*=',
} -> file_line { '/etc/sysctl.conf bridge-nf-call-iptables':
path => '/etc/sysctl.conf',
line => 'net.bridge.bridge-nf-call-iptables=1',
match => 'net.bridge.bridge-nf-call-iptables\s*=',
} -> file_line { '/etc/sysctl.conf bridge-nf-call-arptables':
path => '/etc/sysctl.conf',
line => 'net.bridge.bridge-nf-call-arptables=1',
match => 'net.bridge.bridge-nf-call-arptables\s*=',
OK I see what's going on. The /proc/sys/net/bridge/* files are only created after br_netfilter (kernel module) is loaded: [root@packstack packstack]# modprobe br_netfilter [root@packstack packstack]# ls /proc/sys/net/bridge/ bridge-nf-call-arptables bridge-nf-filter-pppoe-tagged bridge-nf-call-ip6tables bridge-nf-filter-vlan-tagged bridge-nf-call-iptables bridge-nf-pass-vlan-input-dev [root@packstack packstack]# sysctl -p /etc/sysctl.conf > /dev/null; echo $? 0 So I'm guessing that packstack or something else needs to load that module. F22+ check fails after recent kernel update on F21, followup proposed in dup bz. *** This bug has been marked as a duplicate of bug 1189681 *** |