Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 986763 - Unload RHEV-H package failed
Summary: Unload RHEV-H package failed
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rhev-hypervisor6
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-22 03:30 UTC by haiyang,dong
Modified: 2013-08-02 08:15 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-22 13:36:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description haiyang,dong 2013-07-22 03:30:05 UTC
Description of problem:
Unload RHEV-H  package failed with the follow error info:
[root@dhcp-11-127 ~]# rpm -qa |grep rhev-h
rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch
[root@dhcp-11-127 ~]# rpm -e rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch
/var/tmp/rpm-tmp.mWkV08: line 41: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.mWkV08: line 41: `fi'
error: %preun(rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch) scriptlet failed, exit status 2
[root@dhcp-11-127 ~]# rpm -qa |grep rhev-h
rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20130222.0.auto1744.el6
ovirt-node-3.0.0-999.0.20130719134242gitb6ab8be.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. rpm -ivh rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch.rpm
2. rpm -e rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch

Actual results:
After step1, it will print follow error info, but install success:
[root@dhcp-11-127 ~]# rpm -ivh rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch.rpm 
Preparing...                ########################################### [100%]
   1:rhev-hypervisor6       ########################################### [100%]
/var/tmp/rpm-tmp.ueKePf: line 29: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.ueKePf: line 29: `fi'
warning: %post(rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch) scriptlet failed, exit status 2
[root@dhcp-11-127 ~]# rpm -qa |grep rhev-h
rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch

After step 2, it will print the follow error info and also unload rhev-h package failed.
[root@dhcp-11-127 ~]# rpm -e rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch
/var/tmp/rpm-tmp.mWkV08: line 41: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.mWkV08: line 41: `fi'
error: %preun(rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch) scriptlet failed, exit status 2
[root@dhcp-11-127 ~]# rpm -qa |grep rhev-h
rhev-hypervisor6-6.5-20130222.0.auto1744.el6.noarch

Expected results:
Install and unload rhev-h package success, no error info to print.

Additional info:

Comment 2 Mike Burns 2013-07-22 13:36:58 UTC
rhev-hypervisor6 packages will only be distributed in the RHEV product going forward, and not in RHEL.  

That being said, this is fixed in all future jenkins builds

Comment 3 haiyang,dong 2013-08-02 08:15:44 UTC
Test version:
rhev-hypervisor6-6.5-20130725.0.el6.noarch.rpm

Tested as follows:
1. [root@agent2 6.5-20130725.0]# rpm -ivh rhev-hypervisor6-6.5-20130725.0.el6.noarch.rpm 
Preparing...                ########################################### [100%]
   1:rhev-hypervisor6       ########################################### [100%]
[root@agent2 rhev-hypervisor]# rpm -qa |grep rhev
rhev-hypervisor6-6.5-20130725.0.el6.noarch
[root@agent2 rhev-hypervisor]# rpm -e rhev-hypervisor6-6.5-20130725.0.el6.noarch
[root@agent2 rhev-hypervisor]# rpm -qa |grep rhev

so this bug has been fixed.


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