Bug 987407
| Summary: | Fail to deploy changes in a scaled app | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Zhe Wang <zhewang> |
| Component: | Containers | Assignee: | Mrunal Patel <mpatel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.x | CC: | xtian |
| Target Milestone: | --- | Keywords: | TestBlocker |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-08-07 22:56:06 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: | |||
Should be fixed by - https://github.com/openshift/origin-server/pull/3147 Verified this bug in devenv_3546. Steps are identical to those in Description. Result: [rbtst-dev3546tst.dev.rhcloud.com b4e8d996f44b11e2a8a522000a9b9123]\> ctl_app deploy --trace Stopping Ruby cart Waiting for stop to finish CLIENT_RESULT: HAProxy instance is stopped Running build on Ruby cart CLIENT_RESULT: HAProxy instance is started Starting Ruby cart Moreover, no errors were reported when pushing changes to the app's repo. |
Description of problem: Given a scaling app with auto scaling disabled, it fails to deploy changes when executing "ctl_app deploy --trace" after scaling it up. As a consequence, it also fails to push and deploy changes to this app via Git. Version-Release number of selected component (if applicable): devenv_3540 How reproducible: always Steps to Reproduce: 1. create a scaling app 2. disable its auto scaling by creating a disable_auto_scaling marker 3. scale up the app via REST API 4. SSH into the app's local gear 5. execute "ctl_app deploy --trace" Actual results: In step 5, executing "ctl_app deploy --trace" fails with the errors below: Exit code: SSH_CMD: ssh 530e6032f38411e2b0cf22000a9b9114.145.20 ++ date + echo 'Syncing to gear: 530e6032f38411e2b0cf22000a9b9114.145.20:ruby @ ' Tue Jul 23 06:52:51 EDT 2013 Syncing to gear: 530e6032f38411e2b0cf22000a9b9114.145.20:ruby @ Tue Jul 23 06:52:51 EDT 2013 + for rpccall in '"${OPENSHIFT_SYNC_GEARS_PRE[@]}"' + ssh 530e6032f38411e2b0cf22000a9b9114.145.20 'gear stop' Exit code: An error occurred executing 'gear deploy' (exit code: 128) Error message: Failed to execute: 'control deploy' for /var/lib/openshift/51ee59824ccd820dd500004a/haproxy /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.12.1/lib/openshift-origin-node/model/v2_cart_model.rb:1125:in `block in do_control_with_directory' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.12.1/lib/openshift-origin-node/model/v2_cart_model.rb:935:in `process_cartridges' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.12.1/lib/openshift-origin-node/model/v2_cart_model.rb:1094:in `do_control_with_directory' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.12.1/lib/openshift-origin-node/model/v2_cart_model.rb:957:in `do_control' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.12.1/lib/openshift-origin-node/model/application_container_ext/cartridge_actions.rb:356:in `deploy' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.12.1/lib/openshift-origin-node/model/application_container_ext/cartridge_actions.rb:241:in `post_receive' /usr/bin/gear:174:in `block (3 levels) in <main>' /usr/bin/gear:64:in `do_command' /usr/bin/gear:172:in `block (2 levels) in <main>' /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:155:in `run' /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:385:in `run_active_command' /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:74:in `run!' /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/delegates.rb:11:in `run!' /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/import.rb:10:in `block in <top (required)>' Expected results: It should be successful to deploy changes in a scaled app. Additional info: