Bug 894976
| Summary: | Can't connect db from haproxy gear after move db gear of scalable application across district | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | Rony Gong 🔥 <qgong> | ||||
| Component: | Pod | Assignee: | Rajat Chopra <rchopra> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.x | CC: | bhatiam, dmcphers, rchopra | ||||
| 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-02-14 00:48:35 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: | |||||||
| Attachments: |
|
||||||
|
Description
Rony Gong 🔥
2013-01-14 08:00:33 UTC
Verified on devenv_2765.
1.In multi distct env, move the db gear across district.
[root@ip-10-114-222-187 openshift]# oo-admin-move --gear_uuid 510f42945a4a0f3f0a00002b -i ip-10-202-43-37 --allow_change_district
** Notice: The native BSON extension was not loaded. **
For optimal performance, use of the BSON extension is recommended.
To enable the extension make sure ENV['BSON_EXT_DISABLED'] is not set
and run the following command:
gem install bson_ext
If you continue to receive this message after installing, make sure that
the bson_ext gem is in your load path.
URL: http://qsjbosseap-qgong20.dev.rhcloud.com
Login: qgong
App UUID: 510f42405a4a0f3f0a000005
Gear UUID: 510f42945a4a0f3f0a00002b
DEBUG: Source district uuid: 510f41eb5a4a0fab16000001
DEBUG: Destination district uuid: 510f41fa5a4a0fc116000001
DEBUG: Getting existing app 'qsjbosseap' status before moving
DEBUG: Gear component 'jbossas-7' was running
DEBUG: Stopping existing app cartridge 'mongodb-2.2' before moving
DEBUG: Performing cartridge level pre-move for embedded mongodb-2.2 for 'qsjbosseap' on ip-10-114-222-187
DEBUG: Reserved uid '1000' on district: '510f41fa5a4a0fc116000001'
DEBUG: Creating new account for gear '510f42945a' on ip-10-202-43-37
DEBUG: Moving content for app 'qsjbosseap', gear '510f42945a' to ip-10-202-43-37
Identity added: /var/www/openshift/broker/config/keys/rsync_id_rsa (/var/www/openshift/broker/config/keys/rsync_id_rsa)
Warning: Permanently added '10.114.222.187' (RSA) to the list of known hosts.
Warning: Permanently added '10.202.43.37' (RSA) to the list of known hosts.
Agent pid 14076
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 14076 killed;
DEBUG: Performing cartridge level move for embedded mongodb-2.2 for 'qsjbosseap' on ip-10-202-43-37
DEBUG: Performing cartridge level post-move for embedded mongodb-2.2 for 'qsjbosseap' on ip-10-202-43-37
DEBUG: Starting cartridge 'mongodb-2.2' in 'qsjbosseap' after move on ip-10-202-43-37
DEBUG: Fixing DNS and mongo for gear '510f42945a' after move
DEBUG: Changing server identity of '510f42945a' from 'ip-10-114-222-187' to 'ip-10-202-43-37'
DEBUG: Deconfiguring old app 'qsjbosseap' on ip-10-114-222-187 after move
Successfully moved 'qsjbosseap' with gear uuid '510f42945a4a0f3f0a00002b' from 'ip-10-114-222-187' to 'ip-10-202-43-37'
2. Check the db connection:
[qsjbosseap-qgong20.dev.rhcloud.com ~]\> mongo
MongoDB shell version: 2.2.2
connecting to: 510f42945a-qgong20.dev.rhcloud.com:38031/admin
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
> show dbs;
admin 0.03125GB
local (empty)
qsjbosseap 0.03125GB
|