Bug 1016885 - log what is happening when undoing things after a failed install/upgrade
Summary: log what is happening when undoing things after a failed install/upgrade
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Installer
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER04
: JON 3.2.0
Assignee: John Mazzitelli
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 1012435
TreeView+ depends on / blocked
 
Reported: 2013-10-08 20:58 UTC by John Mazzitelli
Modified: 2014-01-02 20:37 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
install_db-error (238.64 KB, image/png)
2013-11-11 12:45 UTC, Armine Hovsepyan
no flags Details
storage-node-installed-error (257.24 KB, image/png)
2013-11-11 12:45 UTC, Armine Hovsepyan
no flags Details
upgrade-storageDataDir-permission-error (214.67 KB, image/png)
2013-11-11 12:46 UTC, Armine Hovsepyan
no flags Details

Description John Mazzitelli 2013-10-08 20:58:35 UTC
When an install or upgrade failed, we should log messages as the undo-tasks are executed so people can see what the installer is doing when it backs out any changes and removes remnants from the failed install/upgrade.

Comment 1 John Mazzitelli 2013-10-08 20:59:38 UTC
this should go in JON 3.2 since it will help debug install issues

Comment 2 John Mazzitelli 2013-10-08 21:15:48 UTC
git commit to master: 79402bc

Comment 3 John Mazzitelli 2013-10-18 15:26:47 UTC
fyi: this is going to be a hard one to cherry pick I think - because one of the classes looks to be drastically changed.

Comment 4 Simeon Pinder 2013-10-24 04:09:47 UTC
Moving to ON_QA for testing in the next build.

Comment 5 Armine Hovsepyan 2013-11-11 12:45:18 UTC
Created attachment 822385 [details]
install_db-error

Comment 6 Armine Hovsepyan 2013-11-11 12:45:43 UTC
Created attachment 822386 [details]
storage-node-installed-error

Comment 7 Armine Hovsepyan 2013-11-11 12:46:25 UTC
Created attachment 822387 [details]
upgrade-storageDataDir-permission-error

Comment 8 Armine Hovsepyan 2013-11-11 12:48:26 UTC
verified with the following cases:
* installing jon when no db exists
* upgrading jon with no access to storage root dir
* upgrading jon having already installed/upgraded same version

screen-shots attached

please assign back to me if risky scenario is missing


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