
Dne 24.7.2013 15:14, Dan Kenigsberg napsal(a):
On Wed, Jul 24, 2013 at 01:03:44PM +0200, Jakub Bittner wrote:
Hello,
I am trying to setup fedora 19 server as ovirt node, but it still failing with network. Here is the log:
2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge bridge._rhel_getInterfaceConfigParameters:406 Readig interface parameters of em1 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge plugin.executeRaw:347 execute: ('/bin/nmcli', 'dev', 'list', 'iface', u'em1'), executable='None', cwd='None', env=None 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge plugin.executeRaw:364 execute-result: ('/bin/nmcli', 'dev', 'list', 'iface', u'em1'), rc=0 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge plugin.execute:412 execute-output: ('/bin/nmcli', 'dev', 'list', 'iface', u'em1') I believe that this is another case of Bug 987813 - failed to add ovirtmgmt bridge when the host has no ifcfg file
Vdsm's networking is known to have glitches when NetworkManager is on. You may be better off disabling it until your host networking is configured.
Current mitigation of this would be to manually create /etc/sysconfig/network-scripts/ifcfg-em1 with some sane defaults.
Quoting from ovirt-host-deploy
# *EXPERIMENTAL* # # Try to handle network manager controlled # interface.
stdout: 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.DEVICE: em1 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.TYPE: 802-3-ethernet 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.VENDOR: Broadcom Corporation 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.PRODUCT: -- 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.DRIVER: bnx2 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.DRIVER-VERSION: 2.2.3 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.FIRMWARE-VERSION: 6.2.12 bc 5.2.3 NCSI 2.0.11 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.HWADDR: E8:9A:8F:13:AF:51 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.STATE: 100 (connected) 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.REASON: 0 (No reason given) 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.UDI: /sys/devices/pci0000:00/0000:00:09.0/0000:07:00.0/net/em1 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.IP-IFACE: em1 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.NM-MANAGED: yes 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.AUTOCONNECT: yes 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.FIRMWARE-MISSING: no 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND GENERAL.CONNECTION: /org/freedesktop/NetworkManager/ActiveConnection/0 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND CAPABILITIES.CARRIER-DETECT: yes 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND CAPABILITIES.SPEED: 1000 Mb/s 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{7} 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 4fa38552-a2e6-41f7-abf9-5257f5e80847 | eno1 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND WIRED-PROPERTIES.CARRIER: on 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND IP4.ADDRESS[1]: ip = 192.168.3.212/24, gw = 192.168.3.1 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND IP4.DNS[1]: 192.168.3.214 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge plugin.execute:417 execute-output: ('/bin/nmcli', 'dev', 'list', 'iface', u'em1') stderr: 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.context context._executeMethod:130 method exception 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND Traceback (most recent call last): 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND File "/tmp/ovirt-lKUu6m5wHT/pythonlib/otopi/context.py", line 120, in _executeMethod 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND method['method']() 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND File "/tmp/ovirt-lKUu6m5wHT/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py", line 751, in _misc 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND parameters = self._rhel_getInterfaceConfigParameters(name=interface) 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND File "/tmp/ovirt-lKUu6m5wHT/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py", line 465, in _rhel_getInterfaceConfigParameters 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND ''.ljust(prefix, '1') + 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND TypeError: an integer is required 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 ERROR otopi.context context._executeMethod:139 Failed to execute stage 'Misc configuration': an integer is required 2013-07-24 12:54:55 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:215 DIALOG:SEND 2013-07-24 12:54:55 DEBUG otopi.transaction transaction.abort:131 aborting 'Yum Transaction' _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Thanks for reply. I went thru code and found it too. I created ifcfg file, but it stucked on another error. I am trying centos right now