Bug 536895

Summary: netcf ncftool fails to run if kernel bridge module not loaded
Product: [Fedora] Fedora Reporter: Dale Bewley <dale>
Component: netcfAssignee: David Lutterkort <lutter>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: hbrock, laine, lutter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: netcf-0.1.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-22 16:00:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dale Bewley 2009-11-11 18:01:22 UTC
Description of problem:
When the kernel bridge module is not loaded the ncftool fails to run. Tool runs after 'modprobe bridge'. 

Guests will not normally have bridge module loaded, but I would expect ncftool to simply drop bridge support and continue to run in the case where kernel bridging is not available.

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

Linux f12-beta 2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

netcf-0.1.4-1.fc12.x86_64

How reproducible:

Every time

Steps to Reproduce:
1. install f12 guest
2. yum install netcf
3. ncftool
  
Actual results:

[root@f12-beta ~]# ncftool
Failed to initialize netcf
error: File operation failed
error: can not open /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory

Expected results:
[root@f12-beta ~]# modprobe bridge
[root@f12-beta ~]# ncftool
ncftool> quit

Additional info:

Comment 1 Laine Stump 2010-04-22 16:00:03 UTC
The problem described in this bug was resovled in netcf-0.1.5, but the bz was not updated.