Bug 1340454

Summary: Fail to set ethtool_opts on BOND
Product: [oVirt] ovirt-engine Reporter: Meni Yakove <myakove>
Component: BLL.NetworkAssignee: Dan Kenigsberg <danken>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.0CC: bugs, mburman
Target Milestone: ovirt-4.0.0-rcKeywords: Automation, Regression
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
rule-engine: blocker+
rule-engine: planning_ack+
danken: devel_ack+
myakove: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:39:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
vdsm, supervdsm and engine logs none

Description Meni Yakove 2016-05-27 12:50:12 UTC
Description of problem:
Set ethtool_opts on BOND fail with:
MainProcess|jsonrpc.Executor/3::INFO::2016-05-27 15:43:21,804::hooks::100::root::(_runHooksDir) ethtool_options hook: [unexpected error]: Traceback (most recent call last):
  File "/usr/libexec/vdsm/hooks/after_network_setup/30_ethtool_options", line 164, in <module>
    main()
  File "/usr/libexec/vdsm/hooks/after_network_setup/30_ethtool_options", line 98, in main
    _process_network(network, attrs)
  File "/usr/libexec/vdsm/hooks/after_network_setup/30_ethtool_options", line 105, in _process_network
    nics = _net_nics(attrs)
  File "/usr/libexec/vdsm/hooks/after_network_setup/30_ethtool_options", line 122, in _net_nics
    return netinfo.bonding.slaves(attrs['bonding'])
AttributeError: 'module' object has no attribute 'bonding'

Version-Release number of selected component (if applicable):
vdsm-4.18.0-58.git252fcad.el7.centos.x86_64
ovirt-engine-4.1.0-0.0.master.20160525231312.git1469b76.el7.centos.noarch


Steps to Reproduce:
1. create BOND with ethtool_opts in custom properties

Comment 1 Meni Yakove 2016-05-27 12:55:11 UTC
Created attachment 1162460 [details]
vdsm, supervdsm and engine logs

Comment 2 Red Hat Bugzilla Rules Engine 2016-05-29 15:17:33 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 3 Michael Burman 2016-06-14 05:38:20 UTC
Verified on - 4.0.0.4-0.1.el7ev

Comment 4 Sandro Bonazzola 2016-07-05 07:39:38 UTC
oVirt 4.0.0 has been released, closing current release.