Bug #74595 MySQL fabric command problems
Submitted: 28 Oct 2014 2:02 Modified: 5 Nov 2014 4:11
Reporter: Mahesh Patil Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Fabric Severity:S2 (Serious)
Version:1.5.2 OS:Linux (Centos 6.3)
Assigned to: CPU Architecture:Any
Tags: mysqlfabric

[28 Oct 2014 2:02] Mahesh Patil
Description:
Commands does not work 

1. $ mysqlfabric group health HA

2. $  mysqlfabric group promote HA --slave_id='bf2225d7-58e7-11e4-8bea-0050569e5fd9'

How to repeat:
I have started mysqlfabric 

$ mysqlfabric manage start
[INFO] 1414460997.431672 - MainThread - Initializing persister: user (fabric), server (127.0.0.1:3301), database (fabric).
[INFO] 1414460997.441064 - MainThread - Loading Services.
[INFO] 1414460997.456146 - MainThread - MySQL-RPC protocol server started, listening on 127.0.0.1:32275
[INFO] 1414460997.466963 - MainThread - Fabric node starting.
[INFO] 1414460997.737485 - MainThread - Starting Executor.
[INFO] 1414460997.737655 - MainThread - Setting 5 executor(s).
[INFO] 1414460997.738316 - Executor-0 - Started.
[INFO] 1414460997.740609 - Executor-1 - Started.
[INFO] 1414460997.742662 - Executor-2 - Started.
[INFO] 1414460997.744485 - Executor-3 - Started.
[INFO] 1414460997.746152 - MainThread - Executor started.
[INFO] 1414460997.752931 - Executor-4 - Started.
[INFO] 1414460997.755967 - MainThread - Starting failure detector.
[INFO] 1414460997.757117 - XML-RPC-Server - XML-RPC protocol server ('127.0.0.1', 32274) started.
[INFO] 1414460997.757430 - XML-RPC-Server - Setting 1 XML-RPC session(s).
[INFO] 1414460997.757754 - XML-RPC-Session-0 - Started XML-RPC-Session.

and when I try to run above commands, it's in waiting state 

Suggested fix:
I think if commands are invalid or there is a problem then it should throw some relavant errors rather than just hanging.
[3 Nov 2014 15:04] Mats Kindahl
Hi Mahesh,

This looks like a duplicate of BUG#74555. Could you please turn on the debug level for the log and see what it says when you have the hang?
[5 Nov 2014 4:11] Mahesh Patil
I am observing this behavior and in past 2 days. I have not observed any hanging issue till now.

May be fixed for me.