| Summary: | [origin_broker_98]Only can remove one cartridge one time by 'oo-admin-repair --unresponsive-apps' for scalable app with multi DB cartridge while the node is down. | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | zhaozhanqi <zzhao> |
| Component: | Pod | Assignee: | Ravi Sankar <rpenta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | rpenta, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-17 13:31:29 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: | |
|
Description
zhaozhanqi
2013-09-26 06:46:11 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/4037d2fadb7ef3c3d84f748bb67ba9588be12158 Bug 1012264 - Pretty print usage duration in oo-admin-ctl-usage script Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/f8edd3fec7afa8268615973aa21b82365c5d29d4 Bug 1012264 - Remove all unresponsive db features + misc bug fixes Tested this bug on devenv_3844 when deleting multi DB gears on node which is down, it did have not give a prompt. 1. create one scalable app with mongo mysql and postgresql db 2. make mysql and postgresql db gear down 3. run oo-admin-repair --removed-nodes [root@ip-10-204-113-68 ~]# oo-admin-repair --removed-nodes Started at: 2013-09-28 23:33:19 -0400 Time to fetch mongo data: 0.091s Total gears found in mongo: 7 Servers that are unresponsive: Server: ip-10-100-211-42 (district: dist1), Confirm [yes/no]: yes Check failed. Some servers are unresponsive: ip-10-100-211-42 Do you want to delete unresponsive servers from their respective districts [yes/no]: no Total time: 78.569s Finished at: 2013-09-28 23:34:38 -0400 4. [zqzhao@dhcp-13-222 ~]$ rhc app show zqpy33s -g ID State Cartridges Size SSH URL ------------------------ ------- ---------------------- ----- --------------------------------------------------------------------- 52479b542d19cf5001000127 started python-3.3 haproxy-1.4 small 52479b542d19cf5001000127.rhcloud.com 52479ddf2d19cf0ab500002f started mongodb-2.2 small 52479ddf2d19cf0ab500002f.rhcloud.com And show this app by 'rhc app show $app', it also can show mysql and postgresql, the gears show 0 [zqzhao@dhcp-13-222 ~]$ rhc app show phps2 phps2 @ http://phps2-zqd.dev.rhcloud.com/ (uuid: 5247fff62d19cf900200070c) -------------------------------------------------------------------------- Domain: zqd Created: 6:24 AM Gears: 2 (defaults to small) Git URL: ssh://5247fff62d19cf900200070c.rhcloud.com/~/git/phps2.git/ SSH: 5247fff62d19cf900200070c.rhcloud.com php-5.3 (PHP 5.3) ----------------- Scaling: x1 (minimum: 1, maximum: available) on small gears haproxy-1.4 (Web Load Balancer) ------------------------------- Scaling: x1 (minimum: 1, maximum: 9) on small gears mysql-5.1 (MySQL 5.1) --------------------- Gears: 0 small ---------------------------------- Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/ Database Name: phps2 Password: 77NAgSsWfXmd Username: adminEwbX6WF mongodb-2.2 (MongoDB 2.2) ------------------------- Gears: 1 small Connection URL: mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/ Database Name: phps2 Password: CbCBFMJK-K_P Username: admin postgresql-8.4 (PostgreSQL 8.4) ------------------------------- Gears: 0 small ----------------------------------- Connection URL: postgresql://$OPENSHIFT_POSTGRESQL_DB_HOST:$OPENSHIFT_POSTGRESQL_DB_PORT Database Name: phps2 Password: NZ6wq8nMX7Sw Username: adminrg4nl8y Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/61f244099c9909879b3d13cde4a8f66131b56fbb Bug 1012264 : oo-admin-repair --removed-nodes fixes Tested this issue on devenv_stage_488, it has been fixed. |