On Wed, Jul 24, 2013 at 11:13:47AM -0400, Alon Bar-Lev wrote:
>
> ----- Original Message -----
>> From: "Dan Kenigsberg" <danken(a)redhat.com>
>> To: "Jakub Bittner" <j.bittner(a)nbu.cz>, alonbl(a)redhat.com
>> Cc: users(a)ovirt.org
>> Sent: Wednesday, July 24, 2013 5:24:05 PM
>> Subject: Re: [Users] Node setup on Fedora 19
>>
>> 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')
>>> 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
>>
>> Even unbreaking the log lines, I fail to understand this exception - the
>>
>> IP4.ADDRESS[1]: ip = 192.168.3.212/24, gw = 192.168.3.1
>>
>> line is legible to bridge.py code when I try it our manually.
>> Alon may be able to help more.
> I think this is[1]
>
> [1]
http://gerrit.ovirt.org/#/c/16214/
Jakub, what is version of your ovirt-host-deploy? I assumed
that you are using a the 3.3beta's version that has this patch.