Red Hat Bugzilla – Bug 838097
ovirtmgmt network issue when registering a host in 3.1
Last modified: 2014-01-12 19:52:55 EST
Created attachment 596652 [details]
logs from the host /tmp after failed registration
Description of problem:
when registering a f17 host from engine 3.1, vdsm bootstrap generate this issue : "Failed to install Host chergui. Step: SetNetworking; Details: addNetwork error trying to add management bridge"
Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-3.1.0-0.2.20120704git1df1ba.fc17.noarch on F17
vdsm 4.9.10-0-4 on F17 host
registering a new host from the webadmin
Steps to Reproduce:
"Failed to install Host chergui. Step: SetNetworking; Details: addNetwork error trying to add management bridge"
Fri, 06 Jul 2012 14:59:59 DEBUG makeBridge Failed to add ovirtmgmt bridge out=
err=Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/share/vdsm/configNetwork.py", line 1220, in <module>
File "/usr/share/vdsm/configNetwork.py", line 1189, in main
File "/usr/share/vdsm/configNetwork.py", line 594, in addNetwork
TypeError: _addNetworkValidation() got an unexpected keyword argument 'DNS1'
DNS1 is a good parameter in my /etc/sysconfig/network-scripts/ifcfg-em1.30, so as the script accepts it an creates the ovirtmgmt bridge correctly
I began again changing DNS1 into DNS and I registered the host an other time. now I have : TypeError: _addNetworkValidation() got an unexpected keyword argument 'VLAN'
I think it's not only about DNS1 issue, but with other good keywords that can be accepted in a ifcfg file.
this is my network ifcfg file :
This bug seems to be the same as when creating new logical network when the host is up (thanks to manually creating ovirtmgmt) : bridges are never operationnal beacause they are never created.
I belive we've solved it in master branch and forgot to backport. http://gerrit.ovirt.org/6017
This report should be fixed in vdsm-4.10.0-5.fc17.
Fell free to reopen this report in case this version doesn't resolve the problem.