Bug #72818 | The --daemonize option in "mysqlfabric manage start" is broken | ||
---|---|---|---|
Submitted: | 30 May 2014 15:16 | Modified: | 14 Jul 2014 23:20 |
Reporter: | Alfranio Junior | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Fabric | Severity: | S3 (Non-critical) |
Version: | 1.4.5, 1.5.2 | OS: | Linux |
Assigned to: | Alfranio Junior | CPU Architecture: | Any |
[30 May 2014 15:16]
Alfranio Junior
[30 May 2014 18:17]
Martin Arrieta
Maybe the problem is that the option --daemonize is not defined .. Here is another possible fix: $ bzr diff === modified file 'lib/mysql/fabric/services/manage.py' --- lib/mysql/fabric/services/manage.py 2014-05-12 14:36:08 +0000 +++ lib/mysql/fabric/services/manage.py 2014-05-30 18:10:33 +0000 @@ -116,6 +116,13 @@ """ group_name = "manage" command_name = "start" + + command_options =[{ + 'options': ["--daemonize"], + 'dest': 'daemonize', + 'default': False, + 'action': "store_true" + }] def dispatch(self, daemonize=False): """Start the Fabric server. Regards, Martin.
[30 May 2014 18:54]
Alfranio Junior
Posted by developer: Hi Martin, I agree with you. In this case, I think it is better to have the options explicitly defined in some cases rather than relying on this automatic solution. The suggested fix is good. I will use it. Thx.
[14 Jul 2014 23:20]
Philip Olson
Fixed as of the upcoming MySQL Utilities/Fabric 1.4.4 release, and here's the changelog entry: In fabric, the "--daemonize" parameter was not recognized when passed in with "manage start". Thank you for the bug report.