Bug 839163 - The gear DYN works wrong for scalable app when move within district
The gear DYN works wrong for scalable app when move within district
Status: CLOSED NOTABUG
Product: OpenShift Origin
Classification: Red Hat
Component: Kubernetes (Show other bugs)
2.x
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Dan McPherson
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-11 02:38 EDT by Rony Gong
Modified: 2015-05-14 22:00 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-07-11 02:49:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rony Gong 2012-07-11 02:38:04 EDT
Description of problem
the mysql gear hostname dns map didn't change after move.




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


How reproducible:


Steps to Reproduce:
1.Create scalable app(jbossas), embed mysql
2.before move the nslookup for the mysql gear hostname is:
[rony@localhost ~]$ nslookup 72fabd757b-qgong3.dev.rhcloud.com
Server:		10.66.127.10
Address:	10.66.127.10#53

Non-authoritative answer:
72fabd757b-qgong3.dev.rhcloud.com	canonical name = ec2-23-20-158-227.compute-1.amazonaws.com.
Name:	ec2-23-20-158-227.compute-1.amazonaws.com
Address: 23.20.158.227
3.them move mysql within district


  
Actual results:
after move
[rony@localhost ~]$ nslookup 72fabd757b-qgong3.dev.rhcloud.com
Server:		10.66.127.10
Address:	10.66.127.10#53

Non-authoritative answer:
72fabd757b-qgong3.dev.rhcloud.com	canonical name = ec2-23-20-158-227.compute-1.amazonaws.com.
Name:	ec2-23-20-158-227.compute-1.amazonaws.com
Address: 23.20.158.227



Expected results:
nslookup 72fabd757b-qgong3.dev.rhcloud.com  should map to the target instance.


Additional info:
******************
DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from /var/www/stickshift/broker/config/environment.rb:5)
MongoDataStore.find_by_gear_uuid(72fabd757b734c3ea017c9317a05bb7e)

DEBUG: Source district uuid: a3806d46673d4ead918208e1578278cf
DEBUG: Destination district uuid: a3806d46673d4ead918208e1578278cf
DEBUG: District unchanged keeping uid
DEBUG: Getting existing app 'jbosstest' status before moving
CURRENT SERVER: ip-10-29-134-6
DEBUG: find_one_impl: current_server: ip-10-29-134-6
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda6038f530>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"stickshift-node", :args=>{"--with-descriptors"=>true, "--porcelain"=>true}, :action=>"cartridge-list"}, @id, {'identity' => @id})
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda600712b8>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"embedded/mysql-5.1", :args=>"'72fabd757b' 'qgong3' '72fabd757b734c3ea017c9317a05bb7e'", :action=>"status"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7fda6004dde0 @results={:statusmsg=>"OK", :statuscode=>0, :data=>{:output=>"CLIENT_RESULT: MySQL is running\n", :exitcode=>0}, :sender=>"ip-10-29-134-6"}, @agent="stickshift", @action="cartridge_do">]
DEBUG: Cartridge command embedded/mysql-5.1::status exitcode = 0
DEBUG: Gear component 'mysql-5.1' was running
DEBUG: Stopping existing app cartridge 'mysql-5.1' before moving
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda60047e68>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"embedded/mysql-5.1", :args=>"'72fabd757b' 'qgong3' '72fabd757b734c3ea017c9317a05bb7e'", :action=>"stop"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7fda60016e80 @results={:statusmsg=>"OK", :statuscode=>0, :data=>{:output=>"", :exitcode=>0}, :sender=>"ip-10-29-134-6"}, @agent="stickshift", @action="cartridge_do">]
DEBUG: Cartridge command embedded/mysql-5.1::stop exitcode = 0
DEBUG: Creating new account for gear '72fabd757b' on ip-10-98-14-35
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda6000f040>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"stickshift-node", :args=>{"--with-app-name"=>"jbosstest", "--with-container-uuid"=>"72fabd757b734c3ea017c9317a05bb7e", "--with-namespace"=>"qgong3", "--with-uid"=>1006, "--with-app-uuid"=>"bb6a965599874ccfb501c2f2be3390e5", "--with-container-name"=>"72fabd757b"}, :action=>"app-create"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7fda5ffe6fc8 @results={:statusmsg=>"OK", :statuscode=>0, :data=>{:output=>"", :exitcode=>0}, :sender=>"ip-10-98-14-35"}, @agent="stickshift", @action="cartridge_do">]
DEBUG: Moving content for app 'jbosstest', gear '72fabd757b' to ip-10-98-14-35
Agent pid 14709
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 14709 killed;
DEBUG: Performing cartridge level move for embedded mysql-5.1 for 'jbosstest' on ip-10-98-14-35
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda6048af70>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"embedded/mysql-5.1", :args=>"'72fabd757b' 'qgong3' '72fabd757b734c3ea017c9317a05bb7e'", :action=>"move"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7fda60454178 @results={:statusmsg=>"OK", :statuscode=>0, :data=>{:output=>"", :exitcode=>0}, :sender=>"ip-10-98-14-35"}, @agent="stickshift", @action="cartridge_do">]
DEBUG: Cartridge command embedded/mysql-5.1::move exitcode = 0
DEBUG: Cartridge command embedded/mysql-5.1::move exitcode = 0
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda6044f0d8>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"mysql-5.1", :args=>"'72fabd757b' 'qgong3' '72fabd757b734c3ea017c9317a05bb7e'", :action=>"expose-port"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7fda6042a198 @results={:statusmsg=>"OK", :statuscode=>0, :data=>{:output=>"CART_DATA: PROXY_HOST=72fabd757b-qgong3.dev.rhcloud.com\nCART_DATA: PROXY_PORT=38061\nCART_DATA: HOST=127.1.247.1\nCART_DATA: PORT=3306\n", :exitcode=>0}, :sender=>"ip-10-98-14-35"}, @agent="stickshift", @action="cartridge_do">]
DEBUG: Cartridge command mysql-5.1::expose-port exitcode = 0
DEBUG: Starting cartridge 'mysql-5.1' in 'jbosstest' after move on ip-10-98-14-35
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda60424ab8>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"mysql-5.1", :args=>"'72fabd757b' 'qgong3' '72fabd757b734c3ea017c9317a05bb7e'", :action=>"start"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7fda603f9430 @results={:statusmsg=>"OK", :statuscode=>0, :data=>{:output=>"", :exitcode=>0}, :sender=>"ip-10-98-14-35"}, @agent="stickshift", @action="cartridge_do">]
DEBUG: Cartridge command mysql-5.1::start exitcode = 0
DEBUG: Fixing DNS and mongo for gear '72fabd757b' after move
DEBUG: Changing server identity of '72fabd757b' from 'ip-10-29-134-6' to 'ip-10-98-14-35'
DEBUG: DYNECT Login with path: /REST/Session/
DEBUG: DYNECT Response: {"status": "success", "data": {"token": "Axb0cPdJk4ObNevAPPqL++Kjmy3nouoS6UfC8IrFRn65OW3Jx9B0KiN6hOXj1NXXOrNqfQ9tKMoNt3QTnRcLuAQqKAemYjzN3lnlS64mV0ombO+ZI1GfmMrO+cInMsL1M2xqzmNckDBfeNIlrVzxD4WZ4bmqKlKX", "version": "3.3.4"}, "job_id": 135381526, "msgs": [{"INFO": "login: Login successful", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}
DEBUG: DYNECT Response data: tokenAxb0cPdJk4ObNevAPPqL++Kjmy3nouoS6UfC8IrFRn65OW3Jx9B0KiN6hOXj1NXXOrNqfQ9tKMoNt3QTnRcLuAQqKAemYjzN3lnlS64mV0ombO+ZI1GfmMrO+cInMsL1M2xqzmNckDBfeNIlrVzxD4WZ4bmqKlKXversion3.3.4
DEBUG: Public ip being modified 'ec2-184-72-77-16.compute-1.amazonaws.com' to app '72fabd757b'
DEBUG: DYNECT put/post with path: /REST/CNAMERecord/rhcloud.com/72fabd757b-qgong3.dev.rhcloud.com/ json data: {"ttl":"60","rdata":{"cname":"ec2-184-72-77-16.compute-1.amazonaws.com"}} and headers: {"Auth-Token"=>"[hidden]", "Content-Type"=>"application/json"}
DEBUG: DYNECT Response: {"status": "success", "data": {"zone": "rhcloud.com", "ttl": 60, "fqdn": "72fabd757b-qgong3.dev.rhcloud.com", "record_type": "CNAME", "rdata": {"cname": "ec2-184-72-77-16.compute-1.amazonaws.com."}, "record_id": 0}, "job_id": 135381533, "msgs": [{"INFO": "update: Record updated", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}
DEBUG: DYNECT Response data: record_typeCNAMEttl60zonerhcloud.comrdatacnameec2-184-72-77-16.compute-1.amazonaws.com.record_id0fqdn72fabd757b-qgong3.dev.rhcloud.com
DEBUG: DYNECT put/post with path: /REST/Zone/rhcloud.com/ json data: {"publish":"true"} and headers: {"Auth-Token"=>"[hidden]", "Content-Type"=>"application/json"}
DEBUG: DYNECT Response: {"status": "success", "data": {"zone_type": "Primary", "serial_style": "increment", "serial": 1311729, "zone": "rhcloud.com"}, "job_id": 135381537, "msgs": [{"INFO": "publish: rhcloud.com published", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}
DEBUG: DYNECT Response data: serial_styleincrementserial1311729zone_typePrimaryzonerhcloud.com
DEBUG: DYNECT delete with path: /REST/Session/ and headers: {"Auth-Token"=>"[hidden]", "Content-Type"=>"application/json"}
DEBUG: DYNECT Response: {"status": "success", "data": {}, "job_id": 135381549, "msgs": [{"INFO": "logout: Logout successful", "SOURCE": "BLL", "ERR_CD": null, "LVL": "INFO"}]}
DEBUG: DYNECT Response data: 
DEBUG: Output of parallel execute: result_stdout4d84e1e0dc-qgong3.dev.rhcloud.com:38047
jobcartridgestickshift-nodeargs--hook-namepublish_jboss_cluster--cart-namejbossas-7--input-args4d84e1e0dc qgong3 4d84e1e0dc874ad99e0963d9d77e8362--gear-uuid4d84e1e0dc874ad99e0963d9d77e8362actionconnector-executeresult_stderrresult_exit_code0gear4d84e1e0dc874ad99e0963d9d77e8362tag, status: 0
Output of publisher - ''4d84e1e0dc874ad99e0963d9d77e8362'='4d84e1e0dc-qgong3.dev.rhcloud.com:38047
''
DEBUG: Output of parallel execute: result_stdoutjobcartridgestickshift-nodeargs--hook-nameset_jboss_cluster--cart-namejbossas-7--input-args4d84e1e0dc qgong3 4d84e1e0dc874ad99e0963d9d77e8362 \'4d84e1e0dc874ad99e0963d9d77e8362\'\=\'4d84e1e0dc-qgong3.dev.rhcloud.com:38047'
'\'--gear-uuid4d84e1e0dc874ad99e0963d9d77e8362actionconnector-executeresult_stderrresult_exit_code0gear4d84e1e0dc874ad99e0963d9d77e8362tag, status: 0
DEBUG: Output of parallel execute: result_stdout4d84e1e0dc-qgong3.dev.rhcloud.com:38050
jobcartridgestickshift-nodeargs--hook-namepublish_jboss_remoting--cart-namejbossas-7--input-args4d84e1e0dc qgong3 4d84e1e0dc874ad99e0963d9d77e8362--gear-uuid4d84e1e0dc874ad99e0963d9d77e8362actionconnector-executeresult_stderrresult_exit_code0gear4d84e1e0dc874ad99e0963d9d77e8362tag, status: 0
Output of publisher - ''4d84e1e0dc874ad99e0963d9d77e8362'='4d84e1e0dc-qgong3.dev.rhcloud.com:38050
''
DEBUG: Output of parallel execute: result_stdoutjobcartridgestickshift-nodeargs--hook-nameset_jboss_remoting--cart-namejbossas-7--input-args4d84e1e0dc qgong3 4d84e1e0dc874ad99e0963d9d77e8362 \'4d84e1e0dc874ad99e0963d9d77e8362\'\=\'4d84e1e0dc-qgong3.dev.rhcloud.com:38050'
'\'--gear-uuid4d84e1e0dc874ad99e0963d9d77e8362actionconnector-executeresult_stderrresult_exit_code0gear4d84e1e0dc874ad99e0963d9d77e8362tag, status: 0
DEBUG: Output of parallel execute: result_stdoutjbosstest-qgong3.dev.rhcloud.com:38042
jobcartridgestickshift-nodeargs--hook-namepublish_jboss_cluster--cart-namejbossas-7--input-argsjbosstest qgong3 bb6a965599874ccfb501c2f2be3390e5--gear-uuidbb6a965599874ccfb501c2f2be3390e5actionconnector-executeresult_stderrresult_exit_code0gearbb6a965599874ccfb501c2f2be3390e5tag, status: 0
Output of publisher - ''bb6a965599874ccfb501c2f2be3390e5'='jbosstest-qgong3.dev.rhcloud.com:38042
''
DEBUG: Output of parallel execute: result_stdoutjobcartridgestickshift-nodeargs--hook-nameset_jboss_cluster--cart-namejbossas-7--input-argsjbosstest qgong3 bb6a965599874ccfb501c2f2be3390e5 \'bb6a965599874ccfb501c2f2be3390e5\'\=\'jbosstest-qgong3.dev.rhcloud.com:38042'
'\'--gear-uuidbb6a965599874ccfb501c2f2be3390e5actionconnector-executeresult_stderrresult_exit_code0gearbb6a965599874ccfb501c2f2be3390e5tag, status: 0
DEBUG: Output of parallel execute: result_stdoutjbosstest-qgong3.dev.rhcloud.com:38045
jobcartridgestickshift-nodeargs--hook-namepublish_jboss_remoting--cart-namejbossas-7--input-argsjbosstest qgong3 bb6a965599874ccfb501c2f2be3390e5--gear-uuidbb6a965599874ccfb501c2f2be3390e5actionconnector-executeresult_stderrresult_exit_code0gearbb6a965599874ccfb501c2f2be3390e5tag, status: 0
Output of publisher - ''bb6a965599874ccfb501c2f2be3390e5'='jbosstest-qgong3.dev.rhcloud.com:38045
''
DEBUG: Output of parallel execute: result_stdoutjobcartridgestickshift-nodeargs--hook-nameset_jboss_remoting--cart-namejbossas-7--input-argsjbosstest qgong3 bb6a965599874ccfb501c2f2be3390e5 \'bb6a965599874ccfb501c2f2be3390e5\'\=\'jbosstest-qgong3.dev.rhcloud.com:38045'
'\'--gear-uuidbb6a965599874ccfb501c2f2be3390e5actionconnector-executeresult_stderrresult_exit_code0gearbb6a965599874ccfb501c2f2be3390e5tag, status: 0
DEBUG: Output of parallel execute: result_stdoutOPENSHIFT_DB_GEAR_UUID=72fabd757b734c3ea017c9317a05bb7e; OPENSHIFT_DB_GEAR_DNS=72fabd757b-qgong3.dev.rhcloud.com; OPENSHIFT_DB_CTL_ONGEAR_SCRIPT=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/72fabd757b_mysql_ctl.sh; OPENSHIFT_DB_TYPE=mysql; OPENSHIFT_DB_USERNAME=admin; OPENSHIFT_DB_PASSWORD=jm8H8BwaT3uT; OPENSHIFT_DB_HOST=72fabd757b-qgong3.dev.rhcloud.com; OPENSHIFT_DB_PORT=38061; OPENSHIFT_DB_URL=mysql://admin:jm8H8BwaT3uT@72fabd757b-qgong3.dev.rhcloud.com:38061/; OPENSHIFT_DB_SOCKET=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/socket/mysql.sock; OPENSHIFT_DB_MYSQL_51_DUMP=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_dump.sh; OPENSHIFT_DB_MYSQL_51_DUMP_CLEANUP=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_cleanup.sh; OPENSHIFT_DB_MYSQL_51_EMBEDDED_TYPE=mysql-5.1; OPENSHIFT_DB_MYSQL_51_RESTORE=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_restore.sh; 
jobcartridgestickshift-nodeargs--hook-namepublish-db-connection-info--cart-namemysql-5.1--input-args72fabd757b qgong3 72fabd757b734c3ea017c9317a05bb7e--gear-uuid72fabd757b734c3ea017c9317a05bb7eactionconnector-executeresult_stderrresult_exit_code0gear72fabd757b734c3ea017c9317a05bb7etag, status: 0
Output of publisher - ''72fabd757b734c3ea017c9317a05bb7e'='OPENSHIFT_DB_GEAR_UUID=72fabd757b734c3ea017c9317a05bb7e; OPENSHIFT_DB_GEAR_DNS=72fabd757b-qgong3.dev.rhcloud.com; OPENSHIFT_DB_CTL_ONGEAR_SCRIPT=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/72fabd757b_mysql_ctl.sh; OPENSHIFT_DB_TYPE=mysql; OPENSHIFT_DB_USERNAME=admin; OPENSHIFT_DB_PASSWORD=jm8H8BwaT3uT; OPENSHIFT_DB_HOST=72fabd757b-qgong3.dev.rhcloud.com; OPENSHIFT_DB_PORT=38061; OPENSHIFT_DB_URL=mysql://admin:jm8H8BwaT3uT@72fabd757b-qgong3.dev.rhcloud.com:38061/; OPENSHIFT_DB_SOCKET=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/socket/mysql.sock; OPENSHIFT_DB_MYSQL_51_DUMP=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_dump.sh; OPENSHIFT_DB_MYSQL_51_DUMP_CLEANUP=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_cleanup.sh; OPENSHIFT_DB_MYSQL_51_EMBEDDED_TYPE=mysql-5.1; OPENSHIFT_DB_MYSQL_51_RESTORE=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_restore.sh; 
''
DEBUG: Output of parallel execute: result_stdoutjobcartridgestickshift-nodeargs--hook-nameset-db-connection-info--cart-namejbossas-7--input-argsjbosstest qgong3 bb6a965599874ccfb501c2f2be3390e5 \'72fabd757b734c3ea017c9317a05bb7e\'\=\'OPENSHIFT_DB_GEAR_UUID\=72fabd757b734c3ea017c9317a05bb7e\;\ OPENSHIFT_DB_GEAR_DNS\=72fabd757b-qgong3.dev.rhcloud.com\;\ OPENSHIFT_DB_CTL_ONGEAR_SCRIPT\=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/72fabd757b_mysql_ctl.sh\;\ OPENSHIFT_DB_TYPE\=mysql\;\ OPENSHIFT_DB_USERNAME\=admin\;\ OPENSHIFT_DB_PASSWORD\=jm8H8BwaT3uT\;\ OPENSHIFT_DB_HOST\=72fabd757b-qgong3.dev.rhcloud.com\;\ OPENSHIFT_DB_PORT\=38061\;\ OPENSHIFT_DB_URL\=mysql://admin:jm8H8BwaT3uT@72fabd757b-qgong3.dev.rhcloud.com:38061/\;\ OPENSHIFT_DB_SOCKET\=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/socket/mysql.sock\;\ OPENSHIFT_DB_MYSQL_51_DUMP\=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_dump.sh\;\ OPENSHIFT_DB_MYSQL_51_DUMP_CLEANUP\=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_cleanup.sh\;\ OPENSHIFT_DB_MYSQL_51_EMBEDDED_TYPE\=mysql-5.1\;\ OPENSHIFT_DB_MYSQL_51_RESTORE\=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_restore.sh\;\ '
'\'--gear-uuidbb6a965599874ccfb501c2f2be3390e5actionconnector-executeresult_stderrresult_exit_code0gearbb6a965599874ccfb501c2f2be3390e5tag, status: 0
DEBUG: Output of parallel execute: result_stdoutOPENSHIFT_DB_GEAR_UUID=72fabd757b734c3ea017c9317a05bb7e; OPENSHIFT_DB_GEAR_DNS=72fabd757b-qgong3.dev.rhcloud.com; OPENSHIFT_DB_CTL_ONGEAR_SCRIPT=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/72fabd757b_mysql_ctl.sh; OPENSHIFT_DB_TYPE=mysql; OPENSHIFT_DB_USERNAME=admin; OPENSHIFT_DB_PASSWORD=jm8H8BwaT3uT; OPENSHIFT_DB_HOST=72fabd757b-qgong3.dev.rhcloud.com; OPENSHIFT_DB_PORT=38061; OPENSHIFT_DB_URL=mysql://admin:jm8H8BwaT3uT@72fabd757b-qgong3.dev.rhcloud.com:38061/; OPENSHIFT_DB_SOCKET=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/socket/mysql.sock; OPENSHIFT_DB_MYSQL_51_DUMP=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_dump.sh; OPENSHIFT_DB_MYSQL_51_DUMP_CLEANUP=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_cleanup.sh; OPENSHIFT_DB_MYSQL_51_EMBEDDED_TYPE=mysql-5.1; OPENSHIFT_DB_MYSQL_51_RESTORE=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_restore.sh; 
jobcartridgestickshift-nodeargs--hook-namepublish-db-connection-info--cart-namemysql-5.1--input-args72fabd757b qgong3 72fabd757b734c3ea017c9317a05bb7e--gear-uuid72fabd757b734c3ea017c9317a05bb7eactionconnector-executeresult_stderrresult_exit_code0gear72fabd757b734c3ea017c9317a05bb7etag, status: 0
Output of publisher - ''72fabd757b734c3ea017c9317a05bb7e'='OPENSHIFT_DB_GEAR_UUID=72fabd757b734c3ea017c9317a05bb7e; OPENSHIFT_DB_GEAR_DNS=72fabd757b-qgong3.dev.rhcloud.com; OPENSHIFT_DB_CTL_ONGEAR_SCRIPT=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/72fabd757b_mysql_ctl.sh; OPENSHIFT_DB_TYPE=mysql; OPENSHIFT_DB_USERNAME=admin; OPENSHIFT_DB_PASSWORD=jm8H8BwaT3uT; OPENSHIFT_DB_HOST=72fabd757b-qgong3.dev.rhcloud.com; OPENSHIFT_DB_PORT=38061; OPENSHIFT_DB_URL=mysql://admin:jm8H8BwaT3uT@72fabd757b-qgong3.dev.rhcloud.com:38061/; OPENSHIFT_DB_SOCKET=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/socket/mysql.sock; OPENSHIFT_DB_MYSQL_51_DUMP=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_dump.sh; OPENSHIFT_DB_MYSQL_51_DUMP_CLEANUP=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_cleanup.sh; OPENSHIFT_DB_MYSQL_51_EMBEDDED_TYPE=mysql-5.1; OPENSHIFT_DB_MYSQL_51_RESTORE=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_restore.sh; 
''
DEBUG: Output of parallel execute: result_stdoutjobcartridgestickshift-nodeargs--hook-nameset-db-connection-info--cart-namejbossas-7--input-args4d84e1e0dc qgong3 4d84e1e0dc874ad99e0963d9d77e8362 \'72fabd757b734c3ea017c9317a05bb7e\'\=\'OPENSHIFT_DB_GEAR_UUID\=72fabd757b734c3ea017c9317a05bb7e\;\ OPENSHIFT_DB_GEAR_DNS\=72fabd757b-qgong3.dev.rhcloud.com\;\ OPENSHIFT_DB_CTL_ONGEAR_SCRIPT\=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/72fabd757b_mysql_ctl.sh\;\ OPENSHIFT_DB_TYPE\=mysql\;\ OPENSHIFT_DB_USERNAME\=admin\;\ OPENSHIFT_DB_PASSWORD\=jm8H8BwaT3uT\;\ OPENSHIFT_DB_HOST\=72fabd757b-qgong3.dev.rhcloud.com\;\ OPENSHIFT_DB_PORT\=38061\;\ OPENSHIFT_DB_URL\=mysql://admin:jm8H8BwaT3uT@72fabd757b-qgong3.dev.rhcloud.com:38061/\;\ OPENSHIFT_DB_SOCKET\=/var/lib/stickshift/72fabd757b734c3ea017c9317a05bb7e//mysql-5.1/socket/mysql.sock\;\ OPENSHIFT_DB_MYSQL_51_DUMP\=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_dump.sh\;\ OPENSHIFT_DB_MYSQL_51_DUMP_CLEANUP\=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_cleanup.sh\;\ OPENSHIFT_DB_MYSQL_51_EMBEDDED_TYPE\=mysql-5.1\;\ OPENSHIFT_DB_MYSQL_51_RESTORE\=/usr/libexec/stickshift/cartridges/embedded/mysql-5.1/info/bin/mysql_restore.sh\;\ '
'\'--gear-uuid4d84e1e0dc874ad99e0963d9d77e8362actionconnector-executeresult_stderrresult_exit_code0gear4d84e1e0dc874ad99e0963d9d77e8362tag, status: 0
DEBUG: Output of parallel execute: result_stdout4d84e1e0dc-qgong3.dev.rhcloud.com|10.29.134.6:38046
jobcartridgestickshift-nodeargs--hook-namepublish-http-url--cart-namejbossas-7--input-args4d84e1e0dc qgong3 4d84e1e0dc874ad99e0963d9d77e8362--gear-uuid4d84e1e0dc874ad99e0963d9d77e8362actionconnector-executeresult_stderrresult_exit_code0gear4d84e1e0dc874ad99e0963d9d77e8362tag, status: 0
Output of publisher - ''4d84e1e0dc874ad99e0963d9d77e8362'='4d84e1e0dc-qgong3.dev.rhcloud.com|10.29.134.6:38046
''
DEBUG: Output of parallel execute: result_stdoutWed Jul 11 02:27:45 EDT 2012: Reloading haproxy service 
jobcartridgestickshift-nodeargs--hook-nameset-proxy--cart-namehaproxy-1.4--input-argsjbosstest qgong3 bb6a965599874ccfb501c2f2be3390e5 \'4d84e1e0dc874ad99e0963d9d77e8362\'\=\'4d84e1e0dc-qgong3.dev.rhcloud.com\|10.29.134.6:38046'
'\'--gear-uuidbb6a965599874ccfb501c2f2be3390e5actionconnector-executeresult_stderrresult_exit_code0gearbb6a965599874ccfb501c2f2be3390e5tag, status: 0
DEBUG: Output of parallel execute: result_stdout4d84e1e0dc874ad99e0963d9d77e8362@10.29.134.6:4d84e1e0dc;4d84e1e0dc-qgong3.dev.rhcloud.com
jobcartridgestickshift-nodeargs--hook-namepublish-gear-endpoint--cart-namejbossas-7--input-args4d84e1e0dc qgong3 4d84e1e0dc874ad99e0963d9d77e8362--gear-uuid4d84e1e0dc874ad99e0963d9d77e8362actionconnector-executeresult_stderrresult_exit_code0gear4d84e1e0dc874ad99e0963d9d77e8362tag, status: 0
Output of publisher - ''4d84e1e0dc874ad99e0963d9d77e8362'='4d84e1e0dc874ad99e0963d9d77e8362@10.29.134.6:4d84e1e0dc;4d84e1e0dc-qgong3.dev.rhcloud.com
''
DEBUG: Output of parallel execute: result_stdoutWed Jul 11 02:27:52 EDT 2012: Reloading haproxy service 
jobcartridgestickshift-nodeargs--hook-nameset-gear-endpoints--cart-namehaproxy-1.4--input-argsjbosstest qgong3 bb6a965599874ccfb501c2f2be3390e5 \'4d84e1e0dc874ad99e0963d9d77e8362\'\=\'4d84e1e0dc874ad99e0963d9d77e8362@10.29.134.6:4d84e1e0dc\;4d84e1e0dc-qgong3.dev.rhcloud.com'
'\'--gear-uuidbb6a965599874ccfb501c2f2be3390e5actionconnector-executeresult_stderrresult_exit_code0gearbb6a965599874ccfb501c2f2be3390e5tag, status: 0
MongoDataStore.save(Application, qgong2@redhat.com, jbosstest, #hidden)

DEBUG: Deconfiguring old app 'jbosstest' on ip-10-29-134-6 after move
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda603855a8>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"mysql-5.1", :args=>"'72fabd757b' 'qgong3' '72fabd757b734c3ea017c9317a05bb7e'", :action=>"deconfigure"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7fda6035b168 @results={:statusmsg=>"OK", :statuscode=>0, :data=>{:output=>"MySQL already stopped\nMySQL already stopped\nMySQL already stopped\n", :exitcode=>0}, :sender=>"ip-10-29-134-6"}, @agent="stickshift", @action="cartridge_do">]
DEBUG: Cartridge command mysql-5.1::deconfigure exitcode = 0
DEBUG: rpc_exec_direct: rpc_client=#<MCollective::RPC::Client:0x7fda60355470>
DEBUG: rpc_client.custom_request('cartridge_do', {:cartridge=>"stickshift-node", :args=>{"--with-container-uuid"=>"72fabd757b734c3ea017c9317a05bb7e", "--with-app-uuid"=>"bb6a965599874ccfb501c2f2be3390e5"}, :action=>"app-destroy"}, @id, {'identity' => @id})
DEBUG: [#<MCollective::RPC::Result:0x7fda60327e58 @results={:statusmsg=>"OK", :statuscode=>0, :data=>{:output=>"", :exitcode=>0}, :sender=>"ip-10-29-134-6"}, @agent="stickshift", @action="cartridge_do">]
Successfully moved 'jbosstest' with gear uuid '72fabd757b734c3ea017c9317a05bb7e' from 'ip-10-29-134-6' to 'ip-10-98-14-35'
Comment 1 Rony Gong 2012-07-11 02:52:24 EDT
since the DNS is bad these days, wait some minutes, it works correctly.

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