Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1365021

Summary: [RFE] rebase on new jsonrpc Dispatcher API
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Sandro Bonazzola <sbonazzo>
Component: NetworkAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: high Docs Contact:
Priority: high    
Version: 2.0.0CC: bugs, mavital, pstehlik, stirabos, trichard, ylavi
Target Milestone: ovirt-4.1.0-alphaKeywords: CodeChange, FutureFeature, Rebase, Triaged
Target Release: 2.1.0Flags: rule-engine: ovirt-4.1+
alukiano: testing_plan_complete-
ylavi: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This enhancement is a rebase on the jsonrpc Dispatcher APIs to provide better performance and make the code more robust.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 15:02:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Bonazzola 2016-08-08 11:29:50 UTC
Description of problem:
2016-08-08 13:25:05 DEBUG otopi.context context._executeMethod:128 Stage validation METHOD otopi.plugins.gr_he_common.network.bridge.P
lugin._get_hostname_from_bridge_if
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352: DeprecationWarning: Dispatcher.pending is deprecated. Use Dispatcher.socket.p
ending instead.
  pending = getattr(dispatcher, 'pending', lambda: 0)
2016-08-08 13:25:05 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_bridg
e_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'


Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.1.0-0.0.master.20160805142412.git7b41f0b.fc24.noarch
otopi-1.6.0-0.0.master.20160805120739.git083ac7b.fc24.noarch
vdsm-yajsonrpc-4.18.999-374.git6f033fe.fc24.noarch

Comment 1 Pavel Stehlik 2016-08-18 08:21:07 UTC
CodeChange, thus nothing specific for QE.

Comment 2 Sandro Bonazzola 2016-10-05 12:45:55 UTC
Simone can you check if this is still an issue?

Comment 3 Yaniv Lavi 2016-11-02 13:15:38 UTC
Moving to MODIFIED after discussion.

Comment 4 Sandro Bonazzola 2016-12-12 14:01:15 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 5 Artyom 2016-12-13 15:03:42 UTC
Verified on ovirt-hosted-engine-setup-2.1.0-0.0.master.20161213081830.git504d790.el7.centos.noarch

Deploy on ISCSI and NFS pass without any failures