Bug 1170405
| Summary: | JON 3.x.z update utility can corrupt agent and server installation due to failures when creating .old and .old-agent content | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> |
| Component: | Upgrade | Assignee: | Simeon Pinder <spinder> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Armine Hovsepyan <ahovsepy> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.2 | CC: | ahovsepy, fbrychta, loleary, mfoley |
| Target Milestone: | CR03 | 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-02-27 19:58:16 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
Larry O'Leary
2014-12-04 01:33:34 UTC
Moving into CR01 target milestone as missed ER01 cutoff. Moving to ON_QA as available to test with latest CP build: http://download.devel.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/16/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip *Note: jon-server-patch-3.3.0.GA.zip maps to CR01 build of jon-server-3.3.0.GA-update-01.zip. unable to upgrade and/or start JON after getting "no space left" while applying 3.3.1 patch on top of JON 3.2.0 GA log attached Created attachment 992729 [details]
apply_patch_no_space_left_3.2_3.3.1
Update should have failed at first sign of failure. However, I want to be clear that the expectation is: * apply updates... * failed due to insufficient space... * apply updates is aborted due to error... * clean up space so there is plenty of free space... * apply updates... * all is well and server/agent can now be started. This is compared to what I see in the attached log of: * apply updates... * failed due to insufficient space... * clean up space so there is plenty of free space... * all is well and server/agent can now be started. Created attachment 992798 [details]
apply_patch_no_space_left_3.3.0_3.3.1
This is fixed with the following commits(in order): 6a1c07a59e241bf33 9e493616fd5646c49 f458292a927cf565b The fix involved better checking of exit/return codes during file modification operations and early exit when possible. Additionally tightened up the JON server version checking. Moving to MODIFIED and CR02 for testing in the next build. Moving to ON_QA as available to test with latest CP build: http://download.devel.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/19/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip *Note: jon-server-patch-3.3.0.GA.zip maps to CR02 build of jon-server-3.3.0.GA-update-01.zip. Created attachment 993611 [details]
3.2_3.3.1_apply_patch.log
Created attachment 993613 [details]
3.3.0_3.3.1_apply_patch_no_permission
Created attachment 993614 [details]
3.3.0_3.3.1_apply_patch_no_space_left_correct.log
1. apply patch 3.3.1 to 3.2 is not possible - correct - log attached 2. apply patch 3.3.1 to 3.3.0 with no free space does not break existing 3.3.0 - correct - log attached 3. apply patch 3.3.1 to 3.3.0 without permissions - each and every try creates log without while .patched/3.3.0.GA-update-$date/update.log file is not actually created - lot attached Created attachment 993719 [details]
3.3.0_3.3.1_apply_patch_win_success
Created attachment 993888 [details]
3.3.0_3.3.1_apply_patch_win_no_permission
|