Bug 1263311
| Summary: | setupNetworks fails with a KeyError exception on 'bridged' | ||
|---|---|---|---|
| Product: | [oVirt] vdsm | Reporter: | Simone Tiraboschi <stirabos> |
| Component: | SuperVDSM | Assignee: | Ido Barkan <ibarkan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | --- | CC: | bugs, cshao, cwu, danken, ebenahar, gklein, huiwa, nsednev, stirabos, ycui |
| Target Milestone: | ovirt-3.6.0-rc3 | Keywords: | AutomationBlocker |
| Target Release: | 4.17.10 | Flags: | rule-engine:
ovirt-3.6.0+
rule-engine: blocker+ ylavi: planning_ack+ danken: devel_ack+ rule-engine: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | network | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-27 07:52:46 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: | |||
*** Bug 1270587 has been marked as a duplicate of this bug. *** Hi Simone What exactly failed? the deployment? or the deployment was successful, but some setup networks command failed after it? Sorry but your steps and descriptions are not clear ... " Steps to Reproduce: 1. deploy ovirt hosted-engine" On what/which point the setup networks command/s failed? Thanks, Hosted-engine deployment was failing Verified on - 3.6.0.3-0.1.el6 and: vdsm-4.17.10.1-0.el7ev.noarch ovirt-hosted-engine-ha-1.3.2.1-1.el7ev.noarch ovirt-hosted-engine-setup-1.3.0-1.el7ev.noarch Since oVirt 3.6.0 has been released, moving from verified to closed current release. |
Description of problem: often setupNetworks fails with a KeyError exception on 'bridged' In superVdsm logs we can find: MainProcess|Thread-17::DEBUG::2015-09-15 06:00:09,634::supervdsmServer::109::SuperVdsm.ServerCallback::(wrapper) call setupNetworks with ({'ovirtmgmt': {'nic': 'ens3', 'bootproto': 'dhcp', 'blockingdhcp': True, 'defaultRoute': True}}, {}, {'connectivityCheck': False}) {} MainProcess|Thread-17::DEBUG::2015-09-15 06:00:09,635::api::872::setupNetworks::(setupNetworks) Setting up network according to configuration: networks:{'ovirtmgmt': {'nic': 'ens3', 'bootproto': 'dhcp', 'blockingdhcp': True, 'defaultRoute': True}}, bondings:{}, options:{'connectivityCheck': False} ... MainProcess|Thread-17::ERROR::2015-09-15 06:01:12,681::supervdsmServer::113::SuperVdsm.ServerCallback::(wrapper) Error in setupNetworks Traceback (most recent call last): File "/usr/share/vdsm/supervdsmServer", line 111, in wrapper res = func(*args, **kwargs) File "/usr/share/vdsm/supervdsmServer", line 238, in setupNetworks return setupNetworks(networks, bondings, **options) File "/usr/share/vdsm/network/api.py", line 925, in setupNetworks logger, _netinfo) File "/usr/share/vdsm/network/api.py", line 760, in _add_missing_networks configurator) File "/usr/share/vdsm/network/api.py", line 724, in _emergencyNetworkCleanup if networkAttrs['bridged']: KeyError: 'bridged' Version-Release number of selected component (if applicable): How reproducible: often but not always Steps to Reproduce: 1. deploy ovirt hosted-engine 2. 3. Actual results: Traceback (most recent call last): File "/usr/share/vdsm/supervdsmServer", line 111, in wrapper res = func(*args, **kwargs) File "/usr/share/vdsm/supervdsmServer", line 238, in setupNetworks return setupNetworks(networks, bondings, **options) File "/usr/share/vdsm/network/api.py", line 925, in setupNetworks logger, _netinfo) File "/usr/share/vdsm/network/api.py", line 760, in _add_missing_networks configurator) File "/usr/share/vdsm/network/api.py", line 724, in _emergencyNetworkCleanup if networkAttrs['bridged']: KeyError: 'bridged' Expected results: It always work Additional info: