Bug 1379577 - An error occurred while applying tuned configuration
Summary: An error occurred while applying tuned configuration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.6.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.10
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-27 07:36 UTC by cshao
Modified: 2017-01-23 14:11 UTC (History)
16 users (show)

Fixed In Version: rhev-hypervisor7-7.3-20161007.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-23 14:11:52 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tuned-error (5.53 KB, image/png)
2016-09-27 07:36 UTC, cshao
no flags Details
/var/log/*.*; /tmp/log; sosreport (8.49 MB, application/x-gzip)
2016-09-27 07:37 UTC, cshao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0185 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update for RHEV 3.6.10 2017-01-24 17:55:58 UTC
oVirt gerrit 64971 0 master MERGED tuned: Use the proper name when setting a new tune 2016-10-07 13:49:41 UTC
oVirt gerrit 65235 0 ovirt-3.6 MERGED tuned: Use the proper name when setting a new tune 2016-10-07 13:49:47 UTC

Description cshao 2016-09-27 07:36:15 UTC
Created attachment 1205078 [details]
tuned-error

Description of problem:
An error occurred while applying tuned configuration

============================================================
2016-09-27 06:10:40,245       INFO An exception during the transaction: Failed to set profile to desktop                     Optmize for the desktop use-case
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirt/node/ui/__init__.py", line 956, in __run_transaction
    self.plugin.dry_or(lambda: tx_element.commit())
  File "/usr/lib/python2.7/site-packages/ovirt/node/plugins.py", line 188, in dry_or
    return func()
  File "/usr/lib/python2.7/site-packages/ovirt/node/ui/__init__.py", line 956, in <lambda>
    self.plugin.dry_or(lambda: tx_element.commit())
  File "/usr/lib/python2.7/site-packages/ovirt/node/config/tuned.py", line 52, in commit
    tuned.set_active_profile(profile)
  File "/usr/lib/python2.7/site-packages/ovirt/node/utils/tuned.py", line 72, in set_active_profile
    raise RuntimeError("Failed to set profile to %s" % profile)
RuntimeError: Failed to set profile to desktop                     Optmize for the desktop use-case
2016-09-27 06:10:40,499       INFO Changes were merged successfully
2016-09-27 06:53:02,860       INFO Starting '<module 'ovirt.node.setup' from '/usr/lib/python2.7/site-packages/ovirt/node/setup/__init__.pyc'>' application with '<class 'ovirt.node.ui.urwid_builder.UrwidUIBuilder'>' UI
============================================================

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.3-20160923.2
ovirt-node-3.6.1-20.0.el7ev.noarch


How reproducible:
100%

Steps to Reproduce:
1. Install rhev-hypervisor7-7.3-20160923.2 via PXE.
2. Login RHEV-H. 
3. Switch to performance tab.
4. Choose the tuned profile you would like to apply to this system(e.g. desktop use-case).
5. Save and with a long time (> 10 mins)


Actual results:
1. After step 5, an error occurred while applying tuned configuration

Expected results:
1. Choose tuned profile can successful without error.

Additional info:

Comment 1 cshao 2016-09-27 07:37:46 UTC
Created attachment 1205081 [details]
/var/log/*.*; /tmp/log; sosreport

Comment 2 Fabian Deutsch 2016-09-27 07:49:33 UTC
This and the other bug related to the kbd layout - both require dbus to work propperly - maybe something is up there.

Comment 3 cshao 2016-10-10 03:05:24 UTC
Test version:
rhev-hypervisor7-7.3-20161007.0
ovirt-node-3.6.1-31.0.el7ev.noarch


Test steps:
1. Install rhev-hypervisor7-7.3-20161007.0.
2. Login RHEV-H. 
3. Switch to performance tab.
4. Choose the tuned profile you would like to apply to this system(e.g. desktop use-case).
5. Save.

Test results:
1. Choose tuned profile can successful without error.

So the bug is fixed, change bug status to VERIFIED.


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