Bug 1102557 - Failed to repair the HA app with the head gear located on the unresponsive node
Summary: Failed to repair the HA app with the head gear located on the unresponsive node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 1218049
TreeView+ depends on / blocked
 
Reported: 2014-05-29 08:18 UTC by Meng Bo
Modified: 2019-07-11 07:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1218049 (view as bug list)
Environment:
Last Closed: 2015-09-08 20:14:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Meng Bo 2014-05-29 08:18:33 UTC
Description of problem:
Will meet the following error when trying to repair the app with HA enabled and the head gear located on the down node.
Failed to recover application with id: 53871de77a95a8e11d0000e4, error: undefined method `_id' for #<Array:0x00000007654ad0>

Version-Release number of selected component (if applicable):
devenv_4824

How reproducible:
always

Steps to Reproduce:
1. Setup multi-node env and district
2. Create scalable app and make the app HA enabled
3. Move the head gear of the HA app to the node which will be shutdown
4. Stop the mcollective service on the specified node
5. Try to repair the app with oo-admin-repair

Actual results:
bash-4.1# oo-admin-repair --removed-node
Started at: 2014-05-29 12:04:58 UTC
Total gears found in mongo: 4
Servers that are unresponsive:
        Server: ip-10-150-42-138 (district: dist1), Confirm [yes/no]: y

Some servers are unresponsive: ip-10-150-42-138

Found 1 unresponsive scalable apps that are recoverable.
haapp (id: 53871de77a95a8e11d0000e4)


Do you want to delete unresponsive servers from their respective districts [yes/no]: yes

Finished at: 2014-05-29 12:06:03 UTC
Total time: 65.397s
Failed to recover application with id: 53871de77a95a8e11d0000e4, error: undefined method `_id' for #<Array:0x00000007654ad0>
FAILED


Expected results:
Should fix the HA app with head gear down.

Additional info:

Comment 3 Evgheni Dereveanchin 2015-05-04 06:33:07 UTC
Cloned to bz#1218049 against Enterprise product to give proper attention to this.

Comment 4 Meng Bo 2015-05-20 05:44:06 UTC
This issue should be fixed by https://github.com/openshift/origin-server/pull/6139

Comment 5 Meng Bo 2015-08-05 02:27:18 UTC
Close the bug according to comment#4.


Note You need to log in before you can comment on or make changes to this bug.