-
Notifications
You must be signed in to change notification settings - Fork 162
Description
If you happen to be running the sysstat-collect service which collects data over time, the file format changes between 7 and 8. When leapp runs, it does not convert or move the old files out of the way so sar is broken until you do so manually. I'm looking for an opinion, should leapp be fixing this? Reference data: https://access.redhat.com/solutions/5240511.
Actual behavior
sysstat doesn't upgrade generated 7 data files correctly to 8.
To Reproduce
On CentOS 7
- install sysstat RPM
- enable the monitoring service:
systemctl enable sysstat; systemctl start sysstat - Wait time for data to generate on 7...
- use leapp to upgrade to 8.
- After upgrade
Run:sarand you'll see no data at all.
Expected behavior
sysstat data should be upgraded or set aside when upgrading to 8 so it will at the least begin collecting new data if not appending to the previous data from 7.
Additional context
Upgrade information on the data files is mentioned here: https://access.redhat.com/solutions/5240511.
You can also fix this by doing: rm /var/log/sa/sa* during the leapp upgrade though this leads to data loss.