Bug 1007085
Summary: | oo-admin-move does not fail and rollback on rsync errors | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Matt Woodson <mwoodson> |
Component: | Pod | Assignee: | Dan McPherson <dmcphers> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | dmcphers, fweimer, lxia, zzhao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-19 16:50:59 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: |
Description
Matt Woodson
2013-09-11 21:36:31 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/3532e6b8b5b78af582e5046ba14711301188b532 Bug 1007085 Tested this bug on devenv_3780, it has been fixed 1) remove the directory on destination node 2) move the gear [root@ip-10-154-184-93 lib]# oo-admin-move --gear_uuid 523286b7bef23b6cea000007 -i ip-10-184-6-242 URL: http://zqphp-zqd.dev.rhcloud.com Login: zzhao App UUID: 523286b7bef23b6cea000007 Gear UUID: 523286b7bef23b6cea000007 DEBUG: Source district uuid: c0a525681c2411e3aad322000a9ab85d DEBUG: Destination district uuid: NONE DEBUG: Getting existing app 'zqphp' status before moving DEBUG: Gear component 'php-5.3' was running DEBUG: Stopping existing app cartridge 'php-5.3' before moving DEBUG: Force stopping existing app cartridge 'php-5.3' before moving DEBUG: Reserved uid '' on district: 'NONE' DEBUG: Creating new account for gear 'zqphp' on ip-10-184-6-242 DEBUG: Moving failed. Rolling back gear 'zqphp' in 'zqphp' with delete on 'ip-10-184-6-242' Node execution failure (invalid exit code from node). it quit directly when rsync error.do not show the log: "DEBUG: Moving system components for app" Tested this bug on devenv_3780, it has been fixed 1) remove the directory on destination node 2) move the gear [root@ip-10-154-184-93 lib]# oo-admin-move --gear_uuid 523286b7bef23b6cea000007 -i ip-10-184-6-242 URL: http://zqphp-zqd.dev.rhcloud.com Login: zzhao App UUID: 523286b7bef23b6cea000007 Gear UUID: 523286b7bef23b6cea000007 DEBUG: Source district uuid: c0a525681c2411e3aad322000a9ab85d DEBUG: Destination district uuid: NONE DEBUG: Getting existing app 'zqphp' status before moving DEBUG: Gear component 'php-5.3' was running DEBUG: Stopping existing app cartridge 'php-5.3' before moving DEBUG: Force stopping existing app cartridge 'php-5.3' before moving DEBUG: Reserved uid '' on district: 'NONE' DEBUG: Creating new account for gear 'zqphp' on ip-10-184-6-242 DEBUG: Moving failed. Rolling back gear 'zqphp' in 'zqphp' with delete on 'ip-10-184-6-242' Node execution failure (invalid exit code from node). it quit directly when rsync error.do not show the log: "DEBUG: Moving system components for app" |