Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1390930

Summary: [UI] - "Port Mirroring' property is editable although the 'passthrough' property is marked on edit vNIC profile dialog
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: BLL.NetworkAssignee: Ales Musil <amusil>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: low Docs Contact:
Priority: low    
Version: 4.0.5.4CC: bugs, danken, mburman
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
rule-engine: ovirt-4.3+
Target Release: 4.2.0   
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: 2017-12-20 10:47:14 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 Flags
screenshot none

Description Michael Burman 2016-11-02 09:27:22 UTC
Created attachment 1216425 [details]
screenshot

Description of problem:
[UI] - "Port Mirroring' property is editable although the 'passthrough' property is marked on edit vNIC profile dialog. 

'Port Mirroring' cannot be set if the vNIC profile is 'passthrough' when creating new 'passthrough' vNIC profile and it's grayed out, but, when editing this vNIC profile, the 'Port Mirroring' checkbox is editable and we can set 'Port Mirroring' for the 'passthrough' profile.

Version-Release number of selected component (if applicable):
4.0.5.4-0.1.el7ev

How reproducible:
100%

Steps to Reproduce:
1. Create new vNIC profile and check the 'passthrough' checkbox('Port Mirroring' is grayed out), approve operation.
2. Edit the vNIC profile

Actual results:
It is possible to check the 'Port Mirroring' checkbox.

Expected results:
'Port Mirroring' checkbox should be grayed out.

Comment 1 Dan Kenigsberg 2016-11-02 10:23:27 UTC
What happens when you tick port mirroring and use the profile?

Comment 2 Michael Burman 2016-11-02 10:39:03 UTC
When i tick the port mirroring checkbox and press 'OK" i get:

Error while executing action: Cannot edit VM network interface profile. 'Port Mirroring' and 'Qos' are not supported on passthrough profiles.

Comment 3 Michael Burman 2017-06-05 08:06:55 UTC
Marcin,

I'm sorry, but this fix has nothing to do with the bug in the subject and it has nothing related to external networks.
The original report still doesn't fixed.

Comment 4 Marcin Mirecki 2017-06-05 14:53:00 UTC
Michael,

You are right!
I confused this with: 1394555
Sorry for that.

Comment 5 Michael Burman 2017-08-16 07:55:05 UTC
Verified on - 4.2.0-0.0.master.20170815155420.gitaed789a.el7.centos

Comment 6 Sandro Bonazzola 2017-12-20 10:47:14 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.