Bug 1445171 - MultiHost command is not sent when updating network with default route role
Summary: MultiHost command is not sent when updating network with default route role
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: future
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Martin Mucha
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On: 1443292
Blocks: 1200963
TreeView+ depends on / blocked
 
Reported: 2017-04-25 07:45 UTC by Michael Burman
Modified: 2017-12-20 11:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: when using UI to alter defaultroute network role it only passes request to update network gaining role, but does not pass request to update network losing role. Consequence: engine does not pass request to vdsm to remove role from network, which to this moment had defaultrote role passing only new netwrok acquiring this role, and vdsm fails, because only one network can have this role. Fix: issue was fixed in HostSetupNetworksCommand by examining current host setting. If role removal is missing among commands, given request is added.
Clone Of:
Environment:
Last Closed: 2017-12-20 11:41:44 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 76927 0 master MERGED core: code simplificatons, to simplify extensibility 2017-06-01 13:48:13 UTC
oVirt gerrit 76928 0 master MERGED core: setupnetworks for old and new network when updating default route 2017-07-16 15:23:52 UTC
oVirt gerrit 80102 0 master POST core: method rename 2017-08-16 14:47:30 UTC
oVirt gerrit 81652 0 master ABANDONED core: fix default route issues in HostSetupNetworksCommand 2017-09-27 08:09:51 UTC
oVirt gerrit 81703 0 master POST core: fix default route issues in HostSetupNetworksCommand 2017-09-13 14:14:54 UTC

Description Michael Burman 2017-04-25 07:45:22 UTC
Description of problem:
MultiHost command is not sent when updating network with default route role. 

When updating a network with a Default Route role via 'Networks'>'Clusters'>manage network - It should invoke a setup network command, but nothing happens. 

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170424080141.git6c29d86.el7.centos

How reproducible:
100% 

Steps to Reproduce:
1. Attach network to host and set bootproto
2. Via 'Netwokrs'>'Clusters' flow, set this network with 'Default Route' role and press OK

Actual results:
Nothing happens.

Expected results:
MultiHost command should be send on all the servers in the cluster to which this network is attached to.

Comment 1 Michael Burman 2017-07-23 12:17:35 UTC
FailedQA.

Tested on 4.2.0-0.0.master.20170721095131.git9f5e90c.el7.centos
and vdsm-4.20.1-218.git1b7671f.el7.centos.x86_64

Can't attach non-mgmt network to host with default route role. 
This bug depends on BZ 1443292, with out it this can't be tested at all.

Comment 2 Michael Burman 2017-09-18 06:26:49 UTC
Verified on - 4.2.0-0.0.master.20170917124606.gita804ef7.el7.centos

Comment 3 Sandro Bonazzola 2017-12-20 11:41:44 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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