Bug 1001004

Summary: Miss package hdparm which is used in tune function file
Product: Red Hat Enterprise Linux 6 Reporter: wanghui <huiwa>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: acathrow, bsarathy, cboyle, cshao, fdeutsch, gouyang, hadong, jboggs, leiwang, mburns, ovirt-maint, yaniwang, ycui
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-3.0.1-2.el6 Doc Type: Bug Fix
Doc Text:
--no tech note required
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 19:48: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 wanghui 2013-08-26 09:47:37 UTC
Description of problem:
Rhevh6.5 miss a package to provides "hdparm" which is used in tune function file. 

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20130725.0.auto1801.el6.iso
ovirt-node-3.0.0-999.0.20130814180047git64f2554.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Check in /etc/tune-profiles/functions.
2. Check the command 'hdparm' in shell.
3. #rpm -qa |grep hdparm

Actual results:
1. After step1, the hdparm is used in the following functions.
set_disk_apm() {
        level=$1
        for disk in $DISKS_DEV; do
                hdparm -B $level $disk &>/dev/null
        done
}
set_disk_spindown() {
        level=$1
        for disk in $DISKS_DEV; do
                hdparm -S $level $disk &>/dev/null
        done
}

2. After step2, it prompt hdparm command not found.
3. After step3, the package of hdparm is not installed.


Expected results:
1. The hdparm package should be installed in advance.

Additional info:

Comment 1 Mike Burns 2013-08-30 12:51:41 UTC
Upstream patch posted to fix this issue.

Comment 3 wanghui 2013-10-10 07:26:46 UTC
Test version:
rhev-hypervisor6-6.5-20130930.0.auto665.el6.iso
ovirt-node-3.0.1-3.el6.noarch

Test steps:
1. Check the command 'hdparm' in shell.
2. #rpm -qa |grep hdparm

Test results:
1. After step2, it will return hdparm-9.43-4.el6.x86_64.

So the bug is fixed in rhev-hypervisor6-6.5-20130930.0.auto665.el6.iso. I will wait the official build to recheck this issue.

Comment 4 wanghui 2013-10-18 10:46:55 UTC
Test version:
rhev-hypervisor6-6.5-20131017.0.iso
ovirt-node-3.0.1-4.el6.noarch

Test steps:
1. Check the command 'hdparm' in shell.
2. #rpm -qa |grep hdparm

Test results:
1. After step2, it will return hdparm-9.43-4.el6.x86_64.

The bug is fixed in rhev-hypervisor6-6.5-20131017.0.iso. So change the bug's status from ON_QA to VERIFIED.

Comment 7 Cheryn Tan 2013-11-08 00:35:34 UTC
This bug is currently attached to errata RHBA-2013:15277. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 9 errata-xmlrpc 2014-01-21 19:48:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0033.html