Bug 796395

Summary: error shows while select a bridge only network in virt-manager
Product: [Fedora] Fedora Reporter: Gabriel Ramirez <gabriello.ramirez>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: berrange, crobinso, dpierce, hbrock, jforbes, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-01 03:53:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
shows the error whiele the networks file is selected none

Description Gabriel Ramirez 2012-02-22 19:47:51 UTC
Created attachment 565084 [details]
shows the error whiele the networks file is selected

Description of problem:
I create a virtual network attached to a bridge device
xml file contents(builders.xml):

<network>
  <name>builders</name>
  <uuid>b1b9d7c6-f620-048f-71ee-ca3ba1ac3e98</uuid>
  <forward mode='bridge'/>
  <bridge name='br2' />
</network>

but if I select that network (builders) in virt-manager "Virtual Networks" tab:
the following error shows

Error selecting network: 'NoneType' object has not attribute split


Version-Release number of selected component (if applicable):
virt-manager-0.9.1-2.fc16.noarch
libvirt-0.9.6-4.fc16.x86_64
libvirt-client-0.9.6-4.fc16.x86_64
libvirt-python-0.9.6-4.fc16.x86_64


How reproducible:

always

Steps to Reproduce:
1. create a network description file as per http://libvirt.org/formatnetwork.html#examplesBridge

2. select the network in virt-manager "Virtual Networks" tab
  
thanks in advance, 

Gabriel

Comment 1 Cole Robinson 2012-02-28 21:35:54 UTC
Indeed! Thanks for the report, fixed upstream now:

http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=d37ec7c162f31eb20ff88e1e4cf3a53ab228f992

Comment 2 Gabriel Ramirez 2012-03-01 03:53:23 UTC
Thanks, with the patch it's working here.

Gabriel