Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1087368

Summary: If CP is applied by user without sufficient permissions update process does not display error message
Product: [JBoss] JBoss Operations Network Reporter: Jan Bednarik <jbednari>
Component: UpgradeAssignee: Simeon Pinder <spinder>
Status: CLOSED DUPLICATE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2.1CC: ahovsepy, jshaughn, loleary, mkoci, myarboro
Target Milestone: ---Keywords: Triaged
Target Release: JON 3.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-13 23:21:05 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:
Attachments:
Description Flags
Console output while applying CP
none
update process log file
none
jon server version after unsuccessfully applying CP none

Description Jan Bednarik 2014-04-14 09:28:42 UTC
Created attachment 886072 [details]
Console output while applying CP

Description of problem:
If the CP is applied by the user from who does not belong to the same user group as the owner of the jon server installation directory and files, the update process fails because the user does not have permissions to overwrite files in jon installation directory. The update process does not show any error message though (see attachment applycp.out). The errors can only be found in patch.log (see attachment patch.log)

The server is not updated which can be seen when checking the version using GUI (see attachment version.png).

If the owner of the jon installation directory now tries to apply the patch, the update process responses that it was already done:

"Successfully detected server to update [C:\jon-server-3.2.0.GA\jon-server-3.2.0.GA]
Successfully detected that update [01] has already been applied to this server.
No need to apply update again. Exiting..."

Version-Release number of selected component (if applicable):
JON 3.2.0 GA 7

How reproducible:


Steps to Reproduce:
1. Log on as user A from groupA in Windows environment.
2. Install JON 3.2.0 GA 7
3. Log on as user B from groupB in Windows environment.
4. Apply CP
5. Log on as user A and start server -> check that CP was not applied
6. Try to apply CP

Actual results:
Update process fails but does not show any warning message. The CP cannot be applied again eventhough it was not applied correctly last time.

Expected results:
Update process does not event start and ends with the error message explaining the problem. CP can then be applied by authorized user.

Comment 1 Jan Bednarik 2014-04-14 09:29:26 UTC
Created attachment 886073 [details]
update process log file

Comment 2 Jan Bednarik 2014-04-14 09:30:33 UTC
Created attachment 886074 [details]
jon server version after unsuccessfully applying CP

Comment 4 Jay Shaughnessy 2014-09-05 22:00:19 UTC
This is a CP issue, setting to 3.3.1 as no more 3.2.x releases are planned.

Comment 6 Larry O'Leary 2015-01-13 23:21:05 UTC

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