Bug 1040232

Summary: Non-fatal POSTUN scriptlet failure in rpm package vdsm
Product: Red Hat Enterprise Virtualization Manager Reporter: Stephen Gordon <sgordon>
Component: vdsmAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.3.0CC: aberezin, bazulay, danken, iheim, jbelka, lpeer, nsoffer, pstehlik, ybronhei, yeylon
Target Milestone: ---Keywords: Reopened
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: is28 Doc Type: Bug Fix
Doc Text:
This update fixes syntax error in vdsm.spec which caused a non-fatal POSTUN scriptlet failure.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 16:25:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1027349, 1049022    

Description Stephen Gordon 2013-12-11 01:45:39 UTC
Description of problem:

Upgrading from vdsm-4.13.0-0.10.beta1.el6ev.x86_64 to vdsm-4.13.2-0.1.rc.el6ev.x86_64 received:

Non-fatal POSTUN scriptlet failure in rpm package vdsm
  Cleanup    : vdsm-xmlrpc-4.13.0-0.10.beta1.el6ev.noarch                                                                                                           7/8 
/var/tmp/rpm-tmp.ogXuTm: line 22: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.ogXuTm: line 22: `fi'
warning: %postun(vdsm-4.13.0-0.10.beta1.el6ev.x86_64) scriptlet failed, exit status 2

Unfortunately the contents of that temp file are cleared so I can't see the exact scriptlet being run.

Version-Release number of selected component (if applicable):

vdsm-4.13.0-0.10.beta1.el6ev.x86_64

Comment 1 Itamar Heim 2013-12-11 07:21:27 UTC
if this is from beta to rc, not a blocker probably, or maybe not critical to fix, but need to make sure doesn't happen from 3.2.
flagging urgent till investigated.

Comment 2 Yaniv Bronhaim 2013-12-11 23:53:04 UTC

*** This bug has been marked as a duplicate of bug 1040139 ***

Comment 3 Yaniv Bronhaim 2013-12-12 00:02:11 UTC
it doesn't. my fault

Comment 4 Yaniv Bronhaim 2013-12-12 00:03:50 UTC
*** Bug 1040139 has been marked as a duplicate of this bug. ***

Comment 6 Yaniv Bronhaim 2013-12-12 17:30:14 UTC
*** Bug 1040359 has been marked as a duplicate of this bug. ***

Comment 8 Jiri Belka 2013-12-13 11:19:27 UTC
Does not apply to latest 3.2 vdsm:

$ rpm --scripts -qp vdsm-4.10.2-28.0.el6ev.x86_64.rpm | sed -n '/postun/,$p' | tail -n +2 | cat -nvte
     1  if [ "$1" -ge 1 ]; then$
     2      /sbin/service vdsmd condrestart > /dev/null 2>&1$
     3  fi$
     4  exit 0$

Comment 9 Dan Kenigsberg 2014-01-09 01:06:57 UTC
This bug is a regression introduced during the rhev-3.3 development cycle. The bug was not visible to any user, and as such, it should not be documented.

Comment 10 Jiri Belka 2014-01-10 13:32:57 UTC
ok, is31 vdsm-4.13.2-0.6.el6ev.x86_64.rpm

Comment 11 errata-xmlrpc 2014-01-21 16:25:34 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-0040.html