1
0
Fork 0
Commit graph

203 commits

Author SHA1 Message Date
Jaroslav Škarvada
670541d273
new release (2.21.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-08-29 13:54:01 +02:00
Jaroslav Škarvada
e01ff5db2a
new release (2.21.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-08-20 23:27:36 +02:00
Nils Koenig
ac02137019 Added sap-hana-kvm-guest profile
- Corresponding BZ https://bugzilla.redhat.com/show_bug.cgi?id=2173740
    - Updated man page
    - Updated spec file
2023-05-09 14:58:20 +02:00
Evgeni Golov
7238f72928 install dbus policy in /usr/share/dbus-1
/etc is for local overrides, not for package-shipped policies
2023-02-18 19:56:34 +01:00
Jaroslav Škarvada
ce3d092628
new release (2.20.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-02-17 21:56:58 +01:00
Jaroslav Škarvada
a02af920a2
Merge pull request #506 from yarda/man-fix
man: updated manual pages to be more consistent
2023-02-17 21:44:15 +01:00
Jaroslav Škarvada
207ae6f84b
man: updated manual pages to be more consistent
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-02-15 18:14:30 +01:00
Jaroslav Škarvada
0d5ca5a93a
spec: dropped unneeded ncat dependency
Fixes #503

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-02-14 12:40:29 +01:00
Jaroslav Škarvada
dcda73403d new release (2.20.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-02-08 17:43:58 +01:00
Christophe Fontaine
3bdc7ab381 Add new cpu-partitioning-powersave profile
The new profile sets the intel_acpi driver to passive mode to
be able to set the standard acpi governors (ondemand/userspace)
and provides more flexibility on the C-states, as it is exposed
as a new variable.

Signed-off-by: Christophe Fontaine <cfontain@redhat.com>
2022-11-22 17:50:30 +01:00
Jaroslav Škarvada
1a999589d3
new release (2.19.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-08-19 20:28:45 +02:00
Jaroslav Škarvada
81fdc53ab6
new release (2.19.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-08-09 17:52:00 +02:00
Jaroslav Škarvada
ed5d58e051
spec: dropped weak deps where not needed
Resolves: rhbz#2093841

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-06-30 16:18:36 +02:00
Jaroslav Škarvada
7b25e5a679
tests: enable unit tests on EPEL-7
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-03-16 13:43:14 +01:00
Jaroslav Škarvada
682c47c0a9
new release (2.18.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-02-09 12:13:57 +01:00
Jaroslav Škarvada
6660bfce1d
new release (2.18.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-02-02 23:19:46 +01:00
Jaroslav Škarvada
d1a87d5fd4
Merge branch 'master' into syspurpose-optional 2022-02-02 22:43:43 +01:00
Jaroslav Škarvada
5caeb5b236
Merge pull request #391 from yarda/centos-no-subscription-manager
spec: do not require subscription-manager on CentOS
2022-02-02 22:39:31 +01:00
Jaroslav Škarvada
b50356a64b
Merge pull request #400 from yarda/spec-cleanup
spec: drop obsoleted defattr and use autosetup macro
2022-02-02 22:36:23 +01:00
Jaroslav Škarvada
67d8747971
spec: drop obsoleted defattr and use autosetup macro
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-02-02 13:14:18 +01:00
Jan Zerdik
ef056efabd Adding option "txqueuelen" to net_plugin
Resolves: rhbz#2015044

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2022-02-02 11:48:25 +01:00
Jaroslav Škarvada
37614bfce8
new release (2.17.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-01-16 23:33:38 +01:00
Jaroslav Škarvada
bc71399a97
new release (2.17.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-01-02 22:38:56 +01:00
Jaroslav Škarvada
ebb8096e71 spec: do not require subscription-manager on CentOS
Resolves: rhbz#2028865

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-12-06 12:43:42 +01:00
Jaroslav Škarvada
c16cabfa92
spec: made syspurpose requirement optional
Related: #339

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-09-30 20:37:38 +02:00
Jaroslav Škarvada
bcbf2a5489
Merge pull request #375 from CZerta/configobj_removal
Removing dependency on python-configobj.
2021-08-19 00:47:56 +02:00
Jan Zerdik
063277a05b Removing dependency on python-configobj.
Resolves: rhbz#1936386

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2021-08-18 10:28:27 +02:00
Jiri Mencak
ee3773c62d Add OpenShift profiles.
Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2021-08-02 16:53:53 +02:00
Jaroslav Škarvada
e4733cdb63
new release (2.16.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-07-21 20:41:55 +02:00
Jaroslav Škarvada
bc3f737a00
new release (2.16.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-07-07 23:46:06 +02:00
Jan Zerdik
28a4149685 Removing depedency on python-decorator package.
Resolves: rhbz#1936421

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2021-07-07 10:40:41 +02:00
Jaroslav Škarvada
8782533b17
syspurpose is provides by subscription-manager on RHEL-9
Resolves: rhbz#1948764

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-04-12 23:07:48 +02:00
Jaroslav Škarvada
16f50af056
Merge pull request #323 from CZerta/scheduler_os_interface
Changes to scheduler plugin to support os interface instead of schedutils in newer python versions.
2021-03-01 13:00:40 +01:00
Jan Zerdik
a9b1d66dc8 Changes to scheduler plugin to support os interface instead
of schedutils in newer python versions.

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2021-03-01 11:09:50 +01:00
Jan Zerdik
8d45b78832 Add make as BuildRequires for new fedora and rhel (bz#1900006)
Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2021-02-22 10:21:37 +01:00
Jaroslav Škarvada
5397166de5
new release (2.15.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-12-17 18:27:53 +01:00
Jaroslav Škarvada
28afbb28f8
new release (2.15.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-12-01 19:59:42 +01:00
Bryn M. Reeves
84b125a6b8 Don't modify boom managed BLS snippets
Currently the 92-tuned.install kernel-install plugin modifies all
BLS snippets that match the KERNEL_INSTALL_MACHINE_ID passed to
the script.

This makes sense for the system managed entries but it conflicts
with entries that are managed by the boom boot manager: boom will
propagate these options if they are present when the entry is set
up, but the files should not be modified outside boom's control
since this will cause the boom boot identifier to change.

Boom boot entries include the boot_id in the file name pattern:

  %{machine_id}-%{boot_id}-%{version}.conf

Compared to the system managed entries which use:

  %{machine_id}-%{version}.conf

Modify 92-tuned.install to skip this change for files that match
the boom naming convention.

Rather than rely on the presence of '-' (which may appear in some
kernel builds, especially custom or debug kernels), use a regular
expression to match the 7-character or greater SHA1 hash that
appears in boom BLS snippet file names and the remaining structure
of the file name.

A paired change is made to the tuned.spec %postun script to apply
the same scope to the logic that reverts these changes on removal.

This gives the correct behaviour for me of continuing to add the
$tuned_... references to the system managed entries where needed,
but without causing unexpected changes to the boom boot entries.
The spec file also correctly reverts the change for the same set
of entries when %postun is executed.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
2020-11-19 15:15:07 +00:00
Jaroslav Škarvada
6c448fcda1
spec: added weak dependency on kmod for modprobe
Fixes: #304

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-11-09 20:12:57 +01:00
Tigran Mkrtchyan
f7ecad0ae0 added postgresql server profile
A new tuned profile for PostgreSQL database server.

This profile is based of information collected from various
presentations about Linux tuning at PGConf.

See: https://www.socallinuxexpo.org/sites/default/files/presentations/scale_kosmodemiansky_linux_internals.pdf

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2020-07-31 20:49:11 +02:00
Jaroslav Škarvada
6e6f324885
spec: drop qemu-kvm-tools-rhev, tuned-profiles-nfv-host-bin requirements
Without LAPIC tuning we do not need qemu-kvm-tools-rhev and
tuned-profiles-nfv-host-bin requirements.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-07-22 15:23:44 +02:00
Jaroslav Škarvada
6dd13f7753
spec: make hdparm dependency weak, because it's not available on s390x
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-07-22 10:43:18 +02:00
Jaroslav Škarvada
b16493a5c5
Merge pull request #281 from yarda/rhel-7-build-fix
Fixed building on RHEL-7/CentOS 7
2020-07-22 10:09:29 +02:00
Jaroslav Škarvada
89e670c80a
Fixed building on RHEL-7/CentOS 7
Also fixed building with python-2.7.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-06-19 11:15:12 +02:00
Michal Bajer
d5825a51f4 Replaced python-dmidecode with reading sysfs dmi and dmidecode tool.
Fixes #232
sysfs exports virtual dmi device structs which provides chassis type in numeric form, it should be available in all RHEL6+, so I used it as primary source (not much overhead).
If for some reasons it couldn't be read, dmidecode output will be parsed instead. Removed any references to python-dmidecode module.
chassis type is gathered only once, and only one intance of ProfileRecommender will be created (in daemon).

Signed-off-by: Michal Bajer <outSH@users.noreply.github.com>

Fix whitespace and other minor issues in solution for #232

Signed-off-by: Michal Bajer <outSH@users.noreply.github.com>
2020-06-15 18:30:03 +02:00
Jaroslav Škarvada
1d0dd6e5ae
new release (2.14.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-06-15 11:26:48 +02:00
Jaroslav Škarvada
ccc4161f23
new release (2.14.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-06-08 23:05:49 +02:00
Ondřej Lysoněk
4f5f35830a Add support for a post-loaded profile
This is a minimal viable implementation of a post-loaded profile
feature. It was implemented to satisfy the needs of the
kernel_settings Ansible role.
https://github.com/linux-system-roles/kernel_settings

This feature allows us to apply a profile in a way that is
somewhat separate from the way profiles from the active_profile file
are applied. Namely, the post-loaded profile is always applied after
all the profiles from the active_profile (or more precisely, the
post-loaded profile is always put to the tail of the profile chain
when merging). Also, the post-loaded profile setting is not affected
by running 'tuned-adm profile <some profile>' - the post-loaded
profile remains applied.

The name of the post-loaded profile is stored in
/etc/tuned/post_loaded_profile.

The lack of support for multiple post-loaded profiles was more or less
an arbitrary decision. There are no problems with it, as far as I can
see. However, there is currently no use case for multiple post-loaded
profiles, so I decided to make things easier for our future selves -
it's one less thing to worry about if we need to make changes to the
profile loading logic. We can add support for multiple post-loaded
profiles anytime.

A number of other design decisions went into the
implementation. They are listed here:
https://github.com/redhat-performance/tuned/pull/272

Resolves: rhbz#1798183

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2020-06-01 19:11:29 +02:00
Jaroslav Škarvada
e33d9363d9
spectrumcale-ece: package the profile to own subpackage
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-05-19 17:09:19 +02:00
Miro Hrončok
2399aa3b2d Remove usage of unittest2, use unittest from the standard library
Fixes https://github.com/redhat-performance/tuned/issues/241

Fedora is removing the unittest2 package: https://bugzilla.redhat.com/show_bug.cgi?id=1794222

tuned is not targeting Python 2.6: https://github.com/redhat-performance/tuned/issues/241#issuecomment-588320175

One thing not present in Python 2.7 is assertItemsEqual() -- renamed to assertCountEqual().

Related, mock was also listed as a requirement in the spec file,
but all the imports are from unittest.mock, hence removed.
2020-02-25 20:04:51 +01:00