Celery flower's Broker tab is blank

I'm running celery and celery flower with redis as a broker. Everything boots up correctly, the worker can find jobs from redis, and the celery worker completes the jobs successfully.

The issue I'm having is the Broker tab in the celery flower web UI doesn't show any of the information from Redis. I know the Redis url is correct, because it's the same URL that celeryd is using. I also know that the celery queue has information in it, because I can manually confirm that via redis-cli.

I'm wondering if celery flower is trying to monitor a different queue in the Broker tab? I don't see any settings in the flower documentation to override or confirm. I'm happy to provide additional information upon request, but I'm not certain what is relevant.

Answers


Turns out I needed to start Celery Flower with both the broker and broker_api command line arguments:

celery flower --broker=redis://localhost:6379/0 --broker_api=redis://localhost:6379/0

Hope this helps someone else.


For AMQP this is an example.

/usr/bin/celery -A app_name --broker=amqp://user:pw@host//vhost --broker_api=http://user:pw@host:host_port/api flower

The broker_api is the rabbitmq web ui endpoint with /api


rabbitmq-plugins enable rabbitmq_management

that was help me from http://flower.readthedocs.org/en/latest/config.html?highlight=broker_api#broker-api


Need Your Help

Posting to facebook fan page and to the user's wall in the same time. Android

facebook facebook-android-sdk

I have my android application allowing user to share interesting fragments of some texts on the Facebook.

Query with a “With” Clause inside a For Loop Cursor of DB2 PL SQL

for-loop cursor db2 with-clause sql-pl

I have a very complex query that includes a "With" clause. This query works fine when executed on the DB2 Client. But if the same query is used inside a For Loop Cursor of a PL SQL stored procedure...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.