Bug 1189681
Summary: | F20/F21 RDO packstack error: Error: sysctl -p /etc/sysctl.conf returned 255 instead of one of [0] | |||
---|---|---|---|---|
Product: | [Community] RDO | Reporter: | wes hayutin <whayutin> | |
Component: | openstack-packstack | Assignee: | Gaƫl Chamoulaud <gchamoul> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ami Jeain <ajeain> | |
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | Juno | CC: | aortega, apevec, apevec, derekh, gchamoul, lars, lbezdick, ltoscano, rjones, yeylon | |
Target Milestone: | --- | |||
Target Release: | Juno | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | openstack-packstack-2014.2-0.15.dev1446.gc669c34.fc22 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1199082 1199085 (view as bug list) | Environment: | ||
Last Closed: | 2015-02-16 09:50:58 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: | ||||
Bug Blocks: | 1199082, 1199085 |
Description
wes hayutin
2015-02-05 14:27:43 UTC
The actual error is: Notice: /Stage[main]/Packstack::Neutron::Bridge/Exec[sysctl_refresh]/returns: sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory Notice: /Stage[main]/Packstack::Neutron::Bridge/Exec[sysctl_refresh]/returns: sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory Notice: /Stage[main]/Packstack::Neutron::Bridge/Exec[sysctl_refresh]/returns: sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-arptables: No such file or directory Error: sysctl -p /etc/sysctl.conf returned 255 instead of one of [0] Those sysctls are provided by the 'bridge' kernel module. We probably need to make sure that the 'bridge' module is loaded first. Calling "brctl show" is sufficient to do this. Weird, the neutron::bridge module explicitly loads the 'bridge' kernel module, and that was successful just a few lines before those errors: Debug: Exec[load-bridge](provider=posix): Executing 'modprobe -b bridge' Debug: Executing 'modprobe -b bridge' Notice: /Stage[main]/Packstack::Neutron::Bridge/Exec[load-bridge]/returns: executed successfully That seems to have started happening after kernel was updated from 3.17 to 3.18 in Fedora 21 (from internal job history: sorry, no public link!) [root@f21clean ~]# uname -r 3.18.3-201.fc21.x86_64 [root@f21clean ~]# modprobe -b bridge [root@f21clean ~]# lsmod|grep bridge bridge 107941 0 stp 12868 1 bridge llc 13941 2 stp,bridge [root@f21clean ~]# ls /proc/sys/net/bridge/ ls: cannot access /proc/sys/net/bridge/: No such file or directory It looks like in recent kernels the sysctls are provided by the 'br_netfilter' module. # modprobe bridge # ls /proc/sys/net core ipv4 ipv6 netfilter unix # modprobe br_netfilter # ls /proc/sys/net bridge core ipv4 ipv6 netfilter unix # 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 I proposed a fix for this: https://review.openstack.org/#/c/153393/ So that's a duplicate of bug 1175460 which was supposed to be fixed in openstack-packstack-2014.2-0.13.dev1395.gaabe0a2.fc22 but https://review.openstack.org/143088 checks for Fedora 22+ instead of kernel version! I'll reopen 1175460 *** Bug 1175460 has been marked as a duplicate of this bug. *** Actually vice-versa is better, proposed fix is better, thanks Lars! This update is now urgent, both F20 and F21 are now affected. |