Bug 1277483

Summary: Total RX/TX statistics are not cleared and reported when a VM is moved from a compatible cluster to an incompatible cluster
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: BLL.NetworkAssignee: Dan Kenigsberg <danken>
Status: CLOSED NOTABUG QA Contact: Michael Burman <mburman>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bugs, ylavi
Target Milestone: ---Flags: mburman: planning_ack?
mburman: devel_ack?
mburman: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-11 10:13:30 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:

Description Michael Burman 2015-11-03 12:49:18 UTC
Description of problem:
Total RX/TX statistics are not cleared and reported when a  VM is moved from a compatible cluster to an incompatible cluster.

- From http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics feature page:
"Total RX/TX statistics are cleared (not reported) when: 
 A VM is moved from a compatible cluster to an incompatible cluster. "

But currently when moving VM to cluster 3.5, the RX/TX statistics are not cleared as they should.

Version-Release number of selected component (if applicable):
3.6.0.2-0.1.el6

How reproducible:
100

Steps to Reproduce:
1. Run VM on cluster 3.6 (RX/TX statistics reported)
2. Stop VM 
3. Move VM to cluster 3.5
4. Verify that RX/TX statistics are cleared and not reported.

Actual results:
Total RX/TX statistics are not cleared and reported

Expected results:
Total RX/TX statistics are cleared (not reported).

Comment 1 Michael Burman 2015-11-03 13:48:39 UTC
Statistics will be cleared only when the VM will run on cluster 3.5

Comment 2 Yaniv Lavi 2015-11-11 10:13:30 UTC
This seems like more of a feature to me than a bug, since you can still keep the stats if you don't run the vm after move.

Comment 3 Michael Burman 2015-11-11 10:19:03 UTC
- From http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics feature page:
"Total RX/TX statistics are cleared (not reported) when: 
 A VM is moved from a compatible cluster to an incompatible cluster. "