| Summary: | app will be stopped when moving this app | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Johnny Liu <jialiu> |
| Component: | Pod | Assignee: | Jhon Honce <jhonce> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.x | ||
| 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: | 2012-03-02 21:56:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Johnny Liu
2012-02-29 10:39:41 UTC
commit 1b89626291279683cb8294b88e76fb711064e5d0 lib/util suffered a copy&paste accident. send_stopped_status() returned 'ALREADY_STOPPED' for any existing application without a .state file. Re-test this bug with devenv_stage_139, and FAIL. Before move: $ rhc-ctl-app -a phptest -c status -p xx RESULT: Total Accesses: 2 Total kBytes: 0 Uptime: 2083 ReqPerSec: .000960154 BytesPerSec: 0 BytesPerReq: 0 BusyWorkers: 1 IdleWorkers: 0 Scoreboard: W.... Moving: # rhc-admin-move --app_uuid 0c12471b26b54f6396ed40fd88dd7944 URL: http://phptest-jialiu.dev.rhcloud.com Login: jialiu App UUID: 0c12471b26b54f6396ed40fd88dd7944 DEBUG: Destination container: domU-12-31-39-0F-8A-52 DEBUG: Source district uuid: 22f87c9801a4456e89f831a6d84b5ff2 DEBUG: Destination district uuid: 22f87c9801a4456e89f831a6d84b5ff2 DEBUG: District unchanged keeping uid DEBUG: Moving app 'phptest' with uuid 0c12471b26b54f6396ed40fd88dd7944 from ip-10-111-5-15 to domU-12-31-39-0F-8A-52 DEBUG: Getting existing app 'phptest' status before moving DEBUG: App 'phptest' was stopped DEBUG: Not accessing url since application was stopped DEBUG: Force stopping existing app 'phptest' before moving DEBUG: Creating new account for app 'phptest' on domU-12-31-39-0F-8A-52 DEBUG: Moving content for app 'phptest' to domU-12-31-39-0F-8A-52 Identity added: /var/www/libra/broker/config/keys/rsync_id_rsa (/var/www/libra/broker/config/keys/rsync_id_rsa) Warning: Permanently added '10.111.5.15' (RSA) to the list of known hosts. Agent pid 8218 DEBUG: Performing cartridge level move for 'phptest' on domU-12-31-39-0F-8A-52 DEBUG: Fixing DNS and s3 for app 'phptest' after move DEBUG: Changing server identity of 'phptest' from 'ip-10-111-5-15' to 'domU-12-31-39-0F-8A-52' URL: http://phptest-jialiu.dev.rhcloud.com DEBUG: Deconfiguring old app 'phptest' on ip-10-111-5-15 after move Successfully moved 'phptest' with uuid '0c12471b26b54f6396ed40fd88dd7944' from 'ip-10-111-5-15' to 'domU-12-31-39-0F-8A-52' After moving: $ rhc-ctl-app -a phptest -c status -p xx RESULT: Application 'phptest' is either stopped or inaccessible Verified this bug with devenv_stage_141, and PASS. |