Bug 1435630 - sysstat doesn't collect data for upgraded RHVH
Summary: sysstat doesn't collect data for upgraded RHVH
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: imgbased
Version: 4.0.6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.1.2
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: Huijuan Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-24 12:23 UTC by Olimp Bockowski
Modified: 2020-06-11 13:28 UTC (History)
16 users (show)

Fixed In Version: imgbased-0.9.23-0.1.el7ev
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-24 11:27:35 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1425502 0 high CLOSED ovirt-imageio-daemon not running after 3.6 NGN to 4.1 NGN upgrade: /var/log/ovirt-imageio-daemon not created 2021-08-30 13:36:48 UTC
Red Hat Product Errata RHBA-2017:1291 0 normal SHIPPED_LIVE redhat-virtualization-host security, bug fix, and enhancement update 2017-05-24 15:20:14 UTC
oVirt gerrit 73293 0 None MERGED osupdater: resync var on updates 2021-01-19 08:51:50 UTC

Internal Links: 1425502

Description Olimp Bockowski 2017-03-24 12:23:03 UTC
Description of problem:
sysstat doesn't collect data due to non existing /var/log/sa/ directory. 
It is a consequence of Bug 1382843 "RHV-H 4.0 does not have 'sysstat' installed"
The problem is that upgrade provides installed sysstat package, however this package isn't configured properly, e.g. doesn't create /var/log/sa
Only fresh installation setup everything what is needed for package

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. install for example rhvh-4.0-0.20160817
2. upgrade to rhvh-4.0-0.20170201
3. wait some time to see there is no data collected

Actual results:

Cannot open /var/log/sa/sa22: No such file or directory
no /var/log/sa/ directory

Expected results:
/var/log/sa/ is created, data is collected

Additional info:
Actually there is easy workaround, just create directory, however I am opening this bug to attract your attention, we could be affected more often by this.
Most of customers doesn't realized sysstat data isn't collected. They realize when open a ticket and performance data is needed.

Comment 3 Huijuan Zhao 2017-04-24 03:28:31 UTC
Test version:
From: rhvh-4.0-0.20160817.0
To:   rhvh-4.1-0.20170421.0
      imgbased-0.9.23-0.1.el7ev.noarch

Steps to Reproduce:
1. Install rhvh-4.0-0.20160817
2. Login rhvh-4.0 and setup local repos, upgrade to rhvh-4.1-0.20170421.0
3. Reboot and login rhvh-4.1-0.20170421.0, wait some time to check /var/log/sa

Test results:
/var/log/sa/ is created, data is collected.

[root@ibm-x3650m5-04 sa]# pwd
/var/log/sa
[root@ibm-x3650m5-04 sa]# ls -lh
total 32K
-rw-r--r--. 1 root root 29K Apr 24 03:40 sa24

So this bug is fixed in imgbased-0.9.23-0.1.el7ev.noarch, change the status to VERIFIED.

Comment 5 errata-xmlrpc 2017-05-24 11:27:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1291


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