Bug 1740181
| Summary: | spausedd does not detect VMGuestLib [rhel-7.7.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | RAD team bot copy to z-stream <autobot-eus-copy> |
| Component: | corosync | Assignee: | Jan Friesse <jfriesse> |
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 7.7 | CC: | ccaulfie, cluster-maint, ctowsley, jfriesse, jruemker, mjuricek, mlisik, sbradley |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | corosync-2.4.3-6.el7_7.1 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, spausedd service was not compiled with support for VMGuestLib so steal time was not reported for VM running under VMWare hypervisor. This is now fixed and spausedd reports steal time for VM running under VMWare hypervisor.
|
Story Points: | --- |
| Clone Of: | 1737884 | Environment: | |
| Last Closed: | 2019-09-03 17:42:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1737884 | ||
| Bug Blocks: | |||
|
Description
RAD team bot copy to z-stream
2019-08-12 12:18:29 UTC
Change only in spec file, so distgit has no added patch. Also change of service file permissions (removal of exec flag) is handled too:
Proposed patch:
@@ -178,13 +178,14 @@ make %{_smp_mflags}
%if %{with spausedd}
cd spausedd-%{spausedd_version}
+CFLAGS="${CFLAGS:-%{optflags}}" ; export CFLAGS
make \
%if %{defined use_vmguestlib}
WITH_VMGUESTLIB=1 \
%else
WITH_VMGUESTLIB=0 \
%endif
- %{?_smp_mflags} CFLAGS="%{optflags}"
+ %{?_smp_mflags}
%endif
%install
@@ -236,7 +237,7 @@ make DESTDIR="%{buildroot}" PREFIX="%{_prefix}" install
%if %{with systemd}
mkdir -p %{buildroot}/%{_unitdir}
-install -m 755 -p init/spausedd.service %{buildroot}/%{_unitdir}
+install -m 644 -p init/spausedd.service %{buildroot}/%{_unitdir}
%else
mkdir -p %{buildroot}/%{_initrddir}
install -m 755 -p init/spausedd %{buildroot}/%{_initrddir}
@@ -627,6 +628,12 @@ fi
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-2019:2610 |