Bug 1340454 - Fail to set ethtool_opts on BOND
Summary: Fail to set ethtool_opts on BOND
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.0.0
Hardware: x86_64
OS: Linux
Target Milestone: ovirt-4.0.0-rc
: 4.0.0
Assignee: Dan Kenigsberg
QA Contact: Michael Burman
Depends On:
TreeView+ depends on / blocked
Reported: 2016-05-27 12:50 UTC by Meni Yakove
Modified: 2016-07-05 07:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-07-05 07:39:38 UTC
oVirt Team: Network
rule-engine: ovirt-4.0.0+
rule-engine: blocker+
rule-engine: planning_ack+
danken: devel_ack+
myakove: testing_ack+

Attachments (Terms of Use)
vdsm, supervdsm and engine logs (1.66 MB, application/zip)
2016-05-27 12:55 UTC, Meni Yakove
no flags Details

System ID Private Priority Status Summary Last Updated
oVirt gerrit 58225 0 master MERGED ethtools hook: import bonding from netinfo package 2016-05-30 06:17:46 UTC

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>
  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):

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 -

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

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