Bug ID | 1026093 |
---|---|
Summary | tuned: activating throughput-performance profile exposes python syntax error |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 42.2 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | hguo@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The following python syntax error was captured when attempting to activate throughput-performance profile: 2017-02-20 10:50:47,277 INFO tuned.profiles.loader: loading profile: throughput-performance 2017-02-20 10:50:47,280 INFO tuned.daemon.daemon: starting tuning 2017-02-20 10:50:47,283 INFO tuned.plugins.base: instance disk: assigning devices sda, sdb 2017-02-20 10:50:47,285 ERROR tuned.units.manager: failed to initialize plugin cpu 2017-02-20 10:50:47,285 ERROR tuned.units.manager: invalid syntax (plugin_cpu.py, line 235) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tuned/units/manager.py", line 45, in create plugin = self._plugins_repository.create(plugin_name) File "/usr/lib/python2.7/site-packages/tuned/plugins/repository.py", line 32, in create plugin_cls = self.load_plugin(plugin_name) File "/usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.py", line 28, in load_plugin return self._get_class(module_name) File "/usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.py", line 32, in _get_class module = __import__(module_name) File "/usr/lib/python2.7/site-packages/tuned/plugins/plugin_cpu.py", line 235 else: ^ SyntaxError: invalid syntax Please investigate.