Bug 1228356 - [RFE] Add functionality for setting tuned profiles
Summary: [RFE] Add functionality for setting tuned profiles
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Stef Walter
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: node-cockpit ovirt-node-ng-platform
TreeView+ depends on / blocked
Reported: 2015-06-04 17:43 UTC by Ryan Barry
Modified: 2016-06-16 14:03 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1228354
Last Closed: 2016-06-16 14:03:21 UTC
Type: Bug

Attachments (Terms of Use)

Description Ryan Barry 2015-06-04 17:43:28 UTC
Description of problem:
Cockpit does not provide a way to set tuned profiles.

There should be a way to list the active profile, and to set it to a different profile

This should be a high level API which takes care to perform the necessary platform tasks (service restarts if needed).

Comment 2 Jaroslav Škarvada 2015-12-10 12:14:11 UTC

I am tuned upstream/downstream, there is cockpit support on our tracker for some time [1] and currently it's requested for RHEL-7.3. There is D-Bus tuned API. I can extend it if needed or otherwise help you with the integration.

[1] https://fedorahosted.org/tuned/ticket/46

Comment 3 Stef Walter 2015-12-10 12:19:01 UTC
Great. One of the things Cockpit likely needs is the ability to get descriptions about the various profiles via the DBus API. Andreas Nilsson could describe the use case.

Comment 4 Jeremy Eder 2015-12-10 12:23:03 UTC
Hey if it's OK, let's continue the discussion on the public github issue:

Comment 5 Jaroslav Škarvada 2015-12-10 12:48:45 UTC
NP, I will extend the API. I have just subscribed myself to the github thread.

Comment 6 Jaroslav Škarvada 2016-01-12 10:45:21 UTC
tuned-2.6.0 with extended DBus API is in Fedora updates-testing, more details in github ticket:

Comment 7 Fabian Deutsch 2016-06-14 19:30:34 UTC
Wasn't thhis feature merged and is already available?

Comment 8 Stef Walter 2016-06-16 14:03:21 UTC
It is indeed. I would say it's functional in version 0.104 and later. Various bugs were fixed. There's one bug  remaining: https://bugzilla.redhat.com/show_bug.cgi?id=1336684

This will be part of Fedora 24.

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