Bug 2054766
| Summary: | [OSP16.2] SAR doesn't work post FFU | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | ggrimaux |
| Component: | openstack-tripleo-heat-templates | Assignee: | Lukas Bezdicka <lbezdick> |
| Status: | CLOSED DUPLICATE | QA Contact: | Joe H. Rahme <jhakimra> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16.2 (Train) | CC: | bshephar, bwelterl, cbesson, jpretori, lbezdick, mburns, ramishra |
| Target Milestone: | z4 | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-01-22 16:23:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
ggrimaux
2022-02-15 16:37:48 UTC
Hello,
The issue is that post install script are not executed (expected for a normal upgrade):
----
if [ $1 -eq 1 ] ; then
# Initial installation
systemctl --no-reload preset sysstat.service sysstat-collect.timer sysstat-summary.timer &>/dev/null || :
fi
----
But it is expected that this has been executed one time, from a previous rpm install. But the previous rpm was a RHEL7 one, with this:
---
if [ $1 -eq 1 ] ; then
# Initial installation
systemctl preset sysstat.service >/dev/null 2>&1 || :
fi
---
=> thus only sysstat service was managed in RHEL7 (of course, no timer, because based on crond).
Then we have only sysstat enabled, without required timer services to collect data...
Don't really know if this is really a sysstat rpm issue or should be managed by leapp.
Thank you !
Hmm, in my opinion and since this is a package provided by RHEL. I think this should be handled during the Leapp upgrade. If packages need to be re-installed to re-run the install scripts, I think that should happen during Leapp, rather than something that we implement a hack for in tripleo. I don't think this problem would be unique to OpenStack deployments, we should probably be seeing it in all environments that have been upgraded from 7 > 8 using Leapp. Note that a dedicated BZ for leapp has been created: https://bugzilla.redhat.com/show_bug.cgi?id=2055117 Quick workaround is to enable the two systemd timer: systemctl enable --now sysstat-collect.timer systemctl enable --now sysstat-summary.timer *** This bug has been marked as a duplicate of bug 2055117 *** |