Bug 1045079 - [RHEVM] user is not forced to unplug vNIC when switching to profile without port mirroring
Summary: [RHEVM] user is not forced to unplug vNIC when switching to profile without p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: ---
: 3.3.0
Assignee: Moti Asayag
QA Contact: Martin Pavlik
URL:
Whiteboard: network
Depends On:
Blocks: 3.3rc1
TreeView+ depends on / blocked
 
Reported: 2013-12-19 14:59 UTC by Martin Pavlik
Modified: 2016-02-10 19:54 UTC (History)
9 users (show)

Fixed In Version: is29
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log_collector (14.48 MB, application/x-xz)
2013-12-19 14:59 UTC, Martin Pavlik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 22660 0 None None None Never
oVirt gerrit 22666 0 None None None Never

Description Martin Pavlik 2013-12-19 14:59:13 UTC
Created attachment 839010 [details]
log_collector

Description of problem:
user is not forced to unplug vNIC when switching to profile without port mirroring, which causes that port mirroring works despite vNIC is not supposed to be able to mirror the traffic

Version-Release number of selected component (if applicable):
user is not forced to unplug vNIC when switching to profile without port mirroring

How reproducible:
100%

Steps to Reproduce:
1. create network with 2 profiles (one profile with port mirroring on, second with port mirroring off)
2. create 3 VMs, each with 1 vNIC (VM1 with port mirroring profile attached, VM2 and VM3 with profile without port mirroring
3. start VMs
4. send traffic between VM2 and VM3 (VM1 should be able to mirror it)
5. switch vNIC on VM1 to profile with port mirroring disabled

Actual results:
VM1 is mirroring the traffic

Expected results:
user should be forced to unplug the vNIC on change from port mirroring profile to non mirroring so the change of mirroring state gets applied properly

Additional info:
2013-12-19 15:23:52,451 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-6) [d844e] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Vnic Profile Network1 was renamed from Network1 to Network1_mirror.

Comment 1 Dan Kenigsberg 2013-12-23 13:24:29 UTC
This can be misleading to users, but I we agreed that changes to vNIC profiles take effect only on new VMs (or new vNICs), not on currently running ones.

We may need to reconsider this decisions, but this bug should not block 3.3.0.

Comment 2 Dan Kenigsberg 2013-12-23 14:22:27 UTC
Moti corrects me: this bug is about changing the content of vNIC profile, but about switching a specific vNIC from one profile to another. That operation should indeed either change the specific vNIC or be blocked.

Comment 3 Meni Yakove 2013-12-25 12:38:42 UTC
rhevm-3.3.0-0.42.el6ev.noarch

Comment 4 Itamar Heim 2014-01-21 22:21:05 UTC
Closing - RHEV 3.3 Released

Comment 5 Itamar Heim 2014-01-21 22:26:31 UTC
Closing - RHEV 3.3 Released


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