Bug 1012144 - remove the %pre/%post hooks in Storage specfile
Summary: remove the %pre/%post hooks in Storage specfile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: redhat-access-plugin-rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHGS 2.1.2
Assignee: Spenser Shumaker
QA Contact: Prasanth
URL:
Whiteboard:
Depends On: 1012145
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-25 20:04 UTC by Jeffrey McGowan
Modified: 2015-05-15 18:17 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-25 07:40:35 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC

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


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