Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Print Str Expr Call AttributeLoad NameLoad attr Print Str If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num NameLoad If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr GeneratorExp NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print Str If CompareNotIn Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str AttributeLoad NameLoad attr Return NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str AttributeLoad NameLoad attr Return NameLoad TryExcept body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad NameLoad ImportFrom alias If BoolOpAnd CompareGt Call NameLoad AttributeLoad NameLoad attr Num CompareEq Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A Health Check module for Celery. N/A commands N/A os celery.task.control inspect compass.actions.health_check base compass.actions.health_check utils health_check_utils CeleryCheck N/A N/A base BaseCheck N/A N/A celery health check class. N/A NAME Celery Check. run N/A N/A self N/A N/A N/A do health check. N/A N/A N/A self check_compass_celery_setting N/A [Done] N/A N/A N/A self check_celery_backend N/A [Done] N/A N/A N/A self code 1 N/A N/A N/A N/A N/A self messages append N/A [%s]Info: Celery health check has completed. No problems found, all systems go. N/A self NAME N/A N/A N/A self code N/A self messages N/A check_compass_celery_setting N/A N/A self N/A N/A N/A Validates Celery settings. N/A Checking Celery setting...... N/A setting_map N/A logfile configdir configfile CELERY_LOGFILE CELERYCONFIG_DIR CELERYCONFIG_FILE N/A unset N/A N/A res N/A N/A health_check_utils validate_setting Celery N/A self config CELERY_LOGFILE N/A N/A res False N/A N/A N/A N/A unset append N/A setting_map N/A logfile N/A N/A N/A self _set_status 0 res N/A res N/A N/A health_check_utils validate_setting Celery N/A self config CELERYCONFIG_DIR N/A N/A res False N/A N/A N/A N/A unset append N/A setting_map N/A configdir N/A N/A N/A self _set_status 0 res N/A res N/A N/A health_check_utils validate_setting Celery N/A self config CELERYCONFIG_FILE N/A N/A res False N/A N/A N/A N/A unset append N/A setting_map N/A configdir N/A N/A N/A self _set_status 0 res N/A N/A N/A len unset 0 N/A N/A N/A N/A self _set_status 0 N/A [%s]Error: Unset celery settings: %s in /etc/compass/setting N/A N/A self NAME N/A N/A ,  join N/A item N/A item unset N/A True N/A check_celery_backend N/A N/A self N/A N/A N/A Checks if Celery backend is running and configured properly. N/A Checking Celery Backend...... N/A N/A celery worker N/A N/A commands getoutput ps -ef N/A N/A N/A N/A self _set_status 0 N/A [%s]Error: celery is not running N/A self NAME N/A True N/A N/A N/A N/A N/A os path exists /etc/compass/celeryconfig N/A N/A N/A N/A self _set_status 0 N/A [%s]Error: No celery config file found for Compass N/A self NAME N/A True N/A N/A N/A insp N/A inspect N/A celery_stats N/A N/A inspect stats insp N/A N/A celery_stats N/A N/A N/A N/A self _set_status 0 N/A [%s]Error: No running Celery workers were found. N/A self NAME N/A N/A N/A IOError N/A error N/A N/A N/A N/A self _set_status 0 N/A [%s]Error: Failed to connect to the backend: %s N/A N/A self NAME N/A str error errno errorcode N/A N/A N/A N/A len N/A error args 0 N/A N/A N/A errorcode get N/A N/A error args N/A 0 ECONNREFUSED N/A N/A N/A N/A N/A self messages append N/A [%s]Error: RabbitMQ server isn't running N/A self NAME N/A True N/A N/A