Bug 1365065 - ovirt-hosted-engine-setup master fails on Fedora 24
Summary: ovirt-hosted-engine-setup master fails on Fedora 24
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.0-alpha
: 2.1.0
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks: oVirt_Fedora24_Support
TreeView+ depends on / blocked
 
Reported: 2016-08-08 12:09 UTC by Sandro Bonazzola
Modified: 2017-05-11 09:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-05 10:25:52 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: blocker+
rule-engine: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 58931 0 master MERGED network: avoid using interface cfg entries 2016-09-12 16:27:13 UTC

Description Sandro Bonazzola 2016-08-08 12:09:19 UTC
hosted-engine --deploy fails at validation stage with following trace:


2016-08-08 13:38:51 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.gr_he_common.network.bridge.Plugin._get_hostname_additional_hosts
2016-08-08 13:38:51 DEBUG otopi.context context._executeMethod:134 condition False
2016-08-08 13:38:51 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.gr_he_common.network.bridge.Plugin._get_hostname_from_bridge_if
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: Dispatcher.pending is deprecated. Use Dispatcher.socket.pending instead.
  pending = getattr(dispatcher, 'pending', lambda: 0)
2016-08-08 13:38:52 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/network/bridge.py", line 271, in _get_hostname_from_bridge_if
    ohostedcons.NetworkEnv.BRIDGE_IF
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/vds_info.py", line 92, in network
    if 'BOOTPROTO' in port_info['cfg']:
KeyError: 'cfg'
2016-08-08 13:38:52 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': 'cfg'
2016-08-08 13:38:52 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN
2016-08-08 13:38:52 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:'True'
2016-08-08 13:38:52 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.KeyError'>, KeyError('cfg',), <traceback object at 0x7f276c463290>)]'
2016-08-08 13:38:52 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END

corresponding supervdsm logs:
MainProcess|jsonrpc.Executor/2::DEBUG::2016-08-08 13:38:52,024::supervdsmServer::99::SuperVdsm.ServerCallback::(wrapper) return network_caps with {'bridges': {'virbr0': {'ipv6autoconf': False, 'addr': '192.168.1
22.1', 'ipv6addrs': [], 'gateway': '', 'dhcpv4': False, 'netmask': '255.255.255.0', 'dhcpv6': False, 'stp': 'on', 'ipv4addrs': ['192.168.122.1/24'], 'mtu': '1500', 'ipv6gateway': '::', 'ports': [], 'opts': {'mul
ticast_last_member_count': '2', 'vlan_protocol': '0x8100', 'hash_elasticity': '4', 'multicast_query_response_interval': '1000', 'group_fwd_mask': '0x0', 'multicast_snooping': '1', 'multicast_startup_query_interv
al': '3125', 'hello_timer': '18', 'multicast_querier_interval': '25500', 'max_age': '2000', 'hash_max': '512', 'stp_state': '1', 'topology_change_detected': '0', 'priority': '32768', 'multicast_membership_interv
al': '26000', 'root_path_cost': '0', 'root_port': '0', 'multicast_querier': '0', 'multicast_startup_query_count': '2', 'nf_call_iptables': '0', 'topology_change': '0', 'hello_time': '200', 'root_id': '8000.00000
0000000', 'bridge_id': '8000.000000000000', 'topology_change_timer': '0', 'ageing_time': '30000', 'nf_call_ip6tables': '0', 'gc_timer': '13880', 'nf_call_arptables': '0', 'group_addr': '1:80:c2:0:0:0', 'multicas
t_last_member_interval': '100', 'default_pvid': '1', 'multicast_query_interval': '12500', 'multicast_query_use_ifaddr': '0', 'tcn_timer': '0', 'multicast_router': '1', 'vlan_filtering': '0', 'forward_delay': '20
0'}}}, 'bondings': {}, 'nameservers': ['64.6.64.6', '64.6.65.6', '8.8.8.8', '85.37.17.15'], 'nics': {'enp2s0': {'ipv6autoconf': False, 'addr': '', 'ipv6gateway': '::', 'ipv6addrs': [], 'mtu': '1500', 'dhcpv4': F
alse, 'netmask': '', 'dhcpv6': False, 'ipv4addrs': [], 'hwaddr': 'e8:de:27:03:1f:d3', 'speed': 0, 'gateway': ''}, 'eno1': {'ipv6autoconf': True, 'addr': '192.168.1.105', 'ipv6gateway': '::', 'ipv6addrs': [], 'mt
u': '1500', 'dhcpv4': True, 'netmask': '255.255.255.0', 'dhcpv6': False, 'ipv4addrs': ['192.168.1.105/24'], 'hwaddr': 'b8:ca:3a:76:9a:43', 'speed': 1000, 'gateway': '192.168.1.1'}}, 'supportsIPv6': True, 'vlans'
: {}, 'networks': {}}

Host is a Fedora 24 Server with Headless Virtualization flavor.

Comment 1 Red Hat Bugzilla Rules Engine 2016-08-08 12:09:25 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Sandro Bonazzola 2016-08-08 12:10:33 UTC
otopi-1.6.0-0.0.master.20160805120739.git083ac7b.fc24.noarch
ovirt-engine-sdk-python-3.6.8.1-0.1.20160715.git6adf259.fc24.noarch
ovirt-host-deploy-1.5.2-0.0.master.20160805053438.git6cd75db.fc24.noarch
ovirt-hosted-engine-ha-2.1.0-0.0.master.20160725101106.20160725101055.git4afe677.fc24.noarch
ovirt-hosted-engine-setup-2.1.0-0.0.master.20160805142412.git7b41f0b.fc24.noarch
ovirt-imageio-common-0.3.0-0.201608011553.git5e829bc.fc24.noarch
ovirt-imageio-daemon-0.3.0-0.201608011553.git5e829bc.fc24.noarch
ovirt-release-master-4.1.0-0.0.master.20160808000119.git73a3447.noarch
ovirt-setup-lib-1.0.2-1.fc24.noarch
ovirt-vmconsole-1.0.4-0.0.master.20160805075548.git6c59386.fc24.noarch
ovirt-vmconsole-host-1.0.4-0.0.master.20160805075548.git6c59386.fc24.noarch
vdsm-4.18.999-374.git6f033fe.fc24.x86_64
vdsm-api-4.18.999-374.git6f033fe.fc24.noarch
vdsm-cli-4.18.999-374.git6f033fe.fc24.noarch
vdsm-hook-vmfex-dev-4.18.999-374.git6f033fe.fc24.noarch
vdsm-jsonrpc-4.18.999-374.git6f033fe.fc24.noarch
vdsm-python-4.18.999-374.git6f033fe.fc24.noarch
vdsm-xmlrpc-4.18.999-374.git6f033fe.fc24.noarch
vdsm-yajsonrpc-4.18.999-374.git6f033fe.fc24.noarch

Comment 3 Nikolai Sednev 2016-08-15 10:50:58 UTC
Please provide reproduction steps and version numbers of the components.

Comment 4 Nikolai Sednev 2016-08-17 09:59:28 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1365065#c3

Comment 5 Sandro Bonazzola 2016-08-23 14:02:13 UTC
(In reply to Nikolai Sednev from comment #3)
(In reply to Nikolai Sednev from comment #4)

Reproduction steps:
On a Fedora 24 host try to deploy hosted engine running: hosted-engine --deploy
Test passes if hosted engine is successfully deployed.


Note You need to log in before you can comment on or make changes to this bug.