Bug 1012144

Summary: remove the %pre/%post hooks in Storage specfile
Product: Red Hat Gluster Storage Reporter: Jeffrey McGowan <jemcgowa>
Component: redhat-access-plugin-rhscAssignee: Spenser Shumaker <sshumake>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: barumuga, dpati, dtsang, jemcgowa, knarra, kroberts, mmahoney, pprakash, sdharane, ssampat, sshumake
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 07:40:35 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:
Bug Depends On: 1012145    
Bug Blocks:    

Description Jeffrey McGowan 2013-09-25 20:04:49 UTC

Comment 4 Prasanth 2013-12-18 14:05:19 UTC
Please provide the steps to verify this bug.

Comment 5 Prasanth 2013-12-20 18:21:30 UTC
Bala/Spencer,

Please provide the steps to verify this bug.

Comment 6 Bala.FA 2013-12-21 02:03:19 UTC
I have no clue about this bug.

Jeffrey/Spencer, please provide your inputs for comment#5

Comment 7 Spenser Shumaker 2013-12-23 19:50:29 UTC
Hi Prasanth and Bala,

The bug can be verified by checking that the "redhat-support-plugin-rhsc.spec" file no longer has statements that modify rhsc's application.xml.  More clearly, the statement below should no longer exist in the "redhat-support-plugin-rhsc.spec" file.

%posttrans
# Formerly %post, ensures that the redeploy isn't done until the very end of install/upgrade processes
if ! grep -q '<web-uri>redhat-support-plugin-rhev.war</web-uri>'  /usr/share/ovirt-engine/engine.ear/META-INF/application.xml; then
	sed -i '/<\/application>/i \
	<!-- START Red Hat Support Plug-in DO NOT REMOVE THIS COMMENT --> \
	<module> \
	<web> \
	<web-uri>redhat-support-plugin-rhev.war<\/web-uri> \
	<context-root>\/redhat-support-plugin-rhev<\/context-root> \
	<\/web> \
	<\/module> \
	<!-- END Red Hat Support Plug-in DO NOT REMOVE THIS COMMENT -->' /usr/share/ovirt-engine/engine.ear/META-INF/application.xml
fi

Comment 8 Prasanth 2014-01-02 11:42:37 UTC
Verified.

Comment 10 errata-xmlrpc 2014-02-25 07:40:35 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/RHEA-2014-0208.html