Bug 1339604
Summary: | Modify a VM network when it is used not working | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Michael Burman <mburman> | ||||
Component: | BLL.Network | Assignee: | Edward Haas <edwardh> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 4.0.0 | CC: | bugs, danken, stirabos | ||||
Target Milestone: | ovirt-4.0.0-rc | Keywords: | Regression | ||||
Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: blocker+ rule-engine: planning_ack+ rule-engine: devel_ack+ rule-engine: 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:41:07 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
Michael Burman
2016-05-25 12:36:49 UTC
See also BZ 1055454 vdsm version - vdsm-4.18.0-43.git6f7fc83.el7.centos.x86_64 When trying to sync the network we are failing with - Error while executing action SyncAllHostNetworks: Network is currently being used. 2016-05-25 15:46:49,671 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] (default task-12) [751bd27f] Failed in 'HostSetupNetworksVDS' method 2016-05-25 15:46:49,676 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-12) [751bd27f] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM puma22.s cl.lab.tlv.redhat.com command failed: Bridge n-2 has interfaces set(['vnet0']) connected 2016-05-25 15:46:49,676 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] (default task-12) [751bd27f] Error: VDSGenericException: VDSErrorException: Failed to HostSetupNetworksVDS, err or = Bridge n-2 has interfaces set(['vnet0']) connected, code = 28 2016-05-25 15:46:49,676 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] (default task-12) [751bd27f] Exception: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGeneric Exception: VDSErrorException: Failed to HostSetupNetworksVDS, error = Bridge n-2 has interfaces set(['vnet0']) connected, code = 28 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. MainProcess|jsonrpc.Executor/7::INFO::2016-05-25 12:04:56,453::netconfpersistence::56::root::(setNetwork) Adding network n-2({'vlan': 164, 'nic': 'enp4s0f1', 'dhcpv6': False, 'mtu': 1500, 'switch': 'legacy', 'bootproto': 'none', 'stp': False, 'bridged': True, 'defaultRoute': False}) MainProcess|jsonrpc.Executor/7::INFO::2016-05-25 12:04:56,454::netconfpersistence::67::root::(setBonding) Adding bond0({'nics': [], 'switch': 'legacy', 'options': 'mode=0'}) MainProcess|jsonrpc.Executor/7::DEBUG::2016-05-25 12:04:56,454::legacy_switch::375::root::(remove_networks) Removing network 'n-2' MainProcess|jsonrpc.Executor/7::DEBUG::2016-05-25 12:04:56,454::legacy_switch::450::root::(_should_keep_bridge) the bridge is being reconfigured MainProcess|jsonrpc.Executor/7::INFO::2016-05-25 12:04:56,454::netconfpersistence::61::root::(removeNetwork) Removing network n-2 MainProcess|jsonrpc.Executor/7::INFO::2016-05-25 12:04:56,455::legacy_switch::308::root::(_del_network) Removing network n-2 with vlan=enp4s0f1.164, bonding=None, nics=['enp4s0f1'],keep_bridge=False options={} MainProcess|jsonrpc.Executor/7::ERROR::2016-05-25 12:04:56,455::supervdsmServer::96::SuperVdsm.ServerCallback::(wrapper) Error in setupNetworks Traceback (most recent call last): File "/usr/share/vdsm/supervdsmServer", line 94, in wrapper res = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 228, in setupNetworks _setup_networks(networks, bondings, options) File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 255, in _setup_networks netswitch.setup(networks, bondings, options, in_rollback) File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 109, in setup _setup_legacy(legacy_nets, legacy_bonds, options, in_rollback) File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch.py", line 124, in _setup_legacy _netinfo, _libvirt_nets) File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 384, in remove_networks keep_bridge=keep_bridge) File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 180, in wrapped return func(network, configurator, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 312, in _del_network bridged and not keep_bridge, _netinfo) File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 360, in _validateDelNetwork _assert_bridge_clean(network, vlan, bonding, nics) File "/usr/lib/python2.7/site-packages/vdsm/network/legacy_switch.py", line 292, in _assert_bridge_clean ' %s connected' % (bridge, brifs)) ConfigNetworkError: (28, "Bridge n-2 has interfaces set(['vnet0']) connected") This seems to be the same issue seen in https://bugzilla.redhat.com/show_bug.cgi?id=1332076 Please verify this is indeed the case. Hi Edi, I don't know if it is the same case. You said it is, but i'm not sure. You said once BZ 1332076 will be fixed this bug will be resolved, but i'm really not sure it is the same issue. I will be able to verify this only when it will be ON_QA. Thanks, Edi, the fix is not in our latest qe build, moving back to MODIFIED. Tested on 4.0.0.4-0.1.el7ev and vdsm-4.18.2-0.el7ev.x86_64 Verified on - 4.0.0.6-0.1.el7ev and vdsm-4.18.4-2.el7ev.x86_64 Note that modifying a Host QoS on a VM network while it is being used never was part of this RFE BZ 1055454(after reviewing the code with Edward and our test plan from 3.6) It is only covering the change of vlan and MTU properties. oVirt 4.0.0 has been released, closing current release. |