Page MenuHomePhabricator

Fix celery flower
Closed, ResolvedPublic

Description

I get this in the logs when I ran service flower-ores restart on ores-web-01. ORES

Sep 14 15:05:09 ores-web-01 systemd[1]: Starting Celery Flower monitor...
Sep 14 15:05:09 ores-web-01 systemd[1]: Started Celery Flower monitor.
Sep 14 15:05:11 ores-web-01 celery[32543]: Usage: celery <command> [options]
Sep 14 15:05:11 ores-web-01 celery[32543]: Show help screen and exit.
Sep 14 15:05:11 ores-web-01 celery[32543]: Options:
Sep 14 15:05:11 ores-web-01 celery[32543]: -A APP, --app=APP     app instance to use (e.g. module.attr_name)
Sep 14 15:05:11 ores-web-01 celery[32543]: -b BROKER, --broker=BROKER
Sep 14 15:05:11 ores-web-01 celery[32543]: url to broker.  default is 'amqp://guest@localhost//'
Sep 14 15:05:11 ores-web-01 celery[32543]: --loader=LOADER       name of custom loader class to use.
Sep 14 15:05:11 ores-web-01 celery[32543]: --config=CONFIG       Name of the configuration module
Sep 14 15:05:11 ores-web-01 celery[32543]: --workdir=WORKING_DIRECTORY
Sep 14 15:05:11 ores-web-01 celery[32543]: Optional directory to change to after detaching.
Sep 14 15:05:11 ores-web-01 celery[32543]: -C, --no-color
Sep 14 15:05:11 ores-web-01 celery[32543]: -q, --quiet
Sep 14 15:05:11 ores-web-01 celery[32543]: --version             show program's version number and exit
Sep 14 15:05:11 ores-web-01 celery[32543]: -h, --help            show this help message and exit
Sep 14 15:05:11 ores-web-01 celery[32543]: ---- -- - - ---- Commands- -------------- --- ------------
Sep 14 15:05:11 ores-web-01 celery[32543]: + Main:
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery worker
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery events
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery beat
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery shell
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery multi
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery amqp
Sep 14 15:05:11 ores-web-01 celery[32543]: + Remote Control:
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery status
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect --help
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect active
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect active_queues
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect clock
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect conf None
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect memdump
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect memsample
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect objgraph None
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect ping
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect registered
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect report
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect reserved
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect revoked
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect scheduled
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery inspect stats
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control --help
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control add_consumer <queue> [exchange [type [routing_key]]]
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control autoscale [max] [min]
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control cancel_consumer <queue>
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control disable_events
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control enable_events
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control pool_grow [N=1]
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control pool_shrink [N=1]
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control rate_limit <task_name> <rate_limit> (e.g. 5/s | 5/m | 5/h)>
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery control time_limit <task_name> <soft_secs> [hard_secs]
Sep 14 15:05:11 ores-web-01 celery[32543]: + Utils:
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery purge
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery list
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery migrate
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery call
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery result
Sep 14 15:05:11 ores-web-01 celery[32543]: |    celery report
Sep 14 15:05:11 ores-web-01 celery[32543]: ---- -- - - --------- -- - -------------- --- ------------
Sep 14 15:05:11 ores-web-01 celery[32543]: Type 'celery <command> --help' for help using a specific command.
Sep 14 15:05:11 ores-web-01 systemd[1]: flower-ores.service: main process exited, code=exited, status=64/n/a
Sep 14 15:05:11 ores-web-01 systemd[1]: Unit flower-ores.service entered failed state.

Event Timeline

Halfak created this task.Sep 14 2015, 3:07 PM
Halfak assigned this task to yuvipanda.
Halfak raised the priority of this task from to Needs Triage.
Halfak updated the task description. (Show Details)
Halfak moved this task to Active on the Scoring-platform-team (Current) board.
Halfak added a subscriber: Halfak.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 14 2015, 3:07 PM
Halfak updated the task description. (Show Details)Sep 14 2015, 3:08 PM
Halfak set Security to None.
Halfak claimed this task.Sep 14 2015, 8:25 PM

Ran "fab setup_flower --host=ores-web-01.eqiad.wmflabs" and it works now.

Halfak closed this task as Resolved.Sep 21 2015, 1:28 PM