Bug 830415

Summary: powertop2tuned doesnt work
Product: [Fedora] Fedora Reporter: fred <fredoche>
Component: powertopAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jskarvad, metherid
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-12 14:00:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description fred 2012-06-09 11:13:03 UTC
Description of problem:
powertop2tuned doesnt work

How reproducible:
always

Steps to Reproduce:
1. go to https://fedorahosted.org/tuned/ to see how you can use powertop with tuned
2. Run  powertop2tuned my-profile as root
  
Actual results:
THe program fails due to a file not found error

Expected results:
Program should not fail, partitularly because it's a procedure documented on the main documentation page of the tuned project.

Additional info:
stack trace:
[~] powertop2tuned my-profile                                                                        13:06:17 
Loaded 5 prior measurements
Preparing to take measurements
Measuring 1 time(s) for 20 seconds each
PowerTOP outputing using base filename /tmp/tmpygw8RA-20120609-130620.html
Traceback (most recent call last):
  File "/usr/bin/powertop2tuned", line 234, in <module>
    sys.exit(p.generate(args['new_profile'], args['enable']))
  File "/usr/bin/powertop2tuned", line 183, in generate
    data = self.parseHTML(enable_tunings)
  File "/usr/bin/powertop2tuned", line 147, in parseHTML
    f = open(self.name)
IOError: [Errno 2] No such file or directory: u'/tmp/tmpygw8RA'

Comment 1 Jaroslav Škarvada 2012-06-10 22:00:30 UTC
Thanks, it was caused by latest powertop rebase, we will release update soon.

Comment 2 Jaroslav Škarvada 2012-06-12 14:00:59 UTC
We fixed this upstream thus closing as upstream. Fedora update is on the way:
https://admin.fedoraproject.org/updates/tuned-2.0.1-2.fc17

Comment 3 Fedora Update System 2012-06-12 15:39:02 UTC
tuned-2.0.1-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/tuned-2.0.1-3.fc17

Comment 4 Fedora Update System 2012-06-26 00:37:30 UTC
tuned-2.0.1-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.