Hide Forgot
Description of problem: Remove collection of @rxRate @txRate from vdsm and from db. Engine uses the raw rx and tx values.
For hosts and vms.
I believe that this is already done. Marcin, please correct me if I'm wrong.
This was removed in: vdsm: https://gerrit.ovirt.org/#/c/59544/ engine: https://gerrit.ovirt.org/#/c/59508/ We now calculate tx/rx rate on the engine using the raw rx/tx data received from vdsm.
I see this was not removed from the database.Does this require a new bug?
Do you see any content in these fields? I suspect that we're missing a sql script to remove these now-unused columns from db. If there are values inside, we have an even bigger cleanup to do
I believe there is no upgrade script that removes these columns. Not sure about the data. I just run the schema.sh script.
Rx/tx rate is not sent from vdsm anymore, but we still have a need for them. The rate is still shown to the user in the UI. rx/tx rate is now calculated in the engine (NetworkStatisticsBuilder computeRatePercentage) whenever HostMonitoring runs GetStatsVDSCommand. This data must then be stored in the db, in order to be available in the UI. We therefore need the rx/tx rate columns in the db.