Bug 976113
Summary: | Timeout checking state of app during migration isn't being ignored by the migration | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Dan McPherson <dmcphers> |
Component: | Containers | Assignee: | Paul Morie <pmorie> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | bmeng |
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-06-24 14:58:23 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
Dan McPherson
2013-06-20 00:13:01 UTC
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/f730210e873e10afa05991d3f0972b10126da5ba Fix bug 976113: handle timeout in migration validate_gear Fixed in devenv 3397 Checked on devenv_3398, it will take more times to retry the timeout issue now. 1.Add sleep code to the post_start hook for my app. 2.Migrate the app and measure the time. # time rhc-admin-migrate --login 'bmeng' --migrate-gear '0471845cda5e11e2935f12313d04cca9' --app-name 'timeout' --version '2.0.29' --ignore-cartridge-version /usr/bin/rhc-admin-migrate:139:in `rescue in migrate_gear': Failed migrating gear. Rerun with: /usr/bin/rhc-admin-migrate --login 'bmeng' --migrate-gear '0471845cda5e11e2935f12313d04cca9' --app-name 'timeout' --version '2.0.29' --ignore-cartridge-version (RuntimeError) ["/usr/bin/rhc-admin-migrate:83:in `block in migrate_gear'", "/opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:in `timeout'", "/usr/bin/rhc-admin-migrate:51:in `migrate_gear'", "/usr/bin/rhc-admin-migrate:719:in `<main>'"] Output: Migrating gear on node with: /usr/bin/rhc-admin-migrate --login 'bmeng' --migrate-gear '0471845cda5e11e2935f12313d04cca9' --app-name 'timeout' --version '2.0.29' --ignore-cartridge-version Migrating on node... ***time_migrate_on_node_measured_from_broker=240489*** Migrate on node exit code: 1 from /usr/bin/rhc-admin-migrate:38:in `migrate_gear' from /usr/bin/rhc-admin-migrate:719:in `<main>' real 4m15.610s user 0m9.293s sys 0m1.161s Move bug to verified. |