Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call NameLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore NameLoad TryExcept body Assign NameStore Dict Str Str Str Call AttributeLoad Call NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call NameLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return BoolOpAnd CompareIn NameLoad NameLoad CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse If CompareEq SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore BinOpBitAnd Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr Dict Str NameLoad keyword NameLoad Expr Call AttributeLoad Call NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad attr Assign NameStore Num While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Str SubscriptLoad NameLoad Index Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Break AugAssignAdd NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad CompareNotEq SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad CompareEq SubscriptLoad NameLoad Index Str NameLoad Assign NameStore BinOpBitAnd Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr Dict Str NameLoad keyword NameLoad Expr Call AttributeLoad Call NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad attr Assign NameStore Num Assign NameStore ListLoad Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Break AugAssignAdd NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body TryFinally body TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str TryExcept body While NameLoad body Expr Call AttributeLoad Call NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A logging N/A requests N/A six N/A time N/A urllib3 oslo_serialization jsonutils nailgun consts nailgun.db db nailgun.db.sqlalchemy models nailgun objects nailgun.settings settings nailgun.statistics.fuel_statistics.installation_info InstallationInfo nailgun.statistics.utils dithered nailgun.statistics.utils prepare_logger N/A logger N/A N/A logging getLogger statistics StatsSender N/A object N/A build_collector_url N/A N/A self url_template N/A N/A N/A N/A N/A N/A getattr settings url_template format collector_server N/A settings COLLECTOR_SERVER N/A ping_collector N/A N/A self N/A N/A N/A N/A N/A resp N/A N/A requests get N/A N/A self build_collector_url COLLECTOR_PING_URL timeout N/A settings COLLECTOR_RESP_TIMEOUT N/A N/A N/A resp raise_for_status N/A True N/A N/A N/A N/A N/A N/A urllib3 exceptions DecodeError N/A N/A urllib3 exceptions ProxyError N/A N/A requests exceptions ConnectionError N/A N/A requests exceptions Timeout N/A N/A requests exceptions TooManyRedirects N/A N/A requests exceptions HTTPError N/A e N/A N/A N/A N/A logger error Collector ping failed: %s N/A N/A type e __name__ N/A N/A Exception N/A e N/A N/A N/A N/A logger exception Collector ping failed: %s N/A N/A six text_type e N/A False N/A send_data_to_url N/A N/A self url data N/A N/A N/A resp None N/A N/A N/A headers N/A content-type master-node-uid application/json N/A N/A N/A InstallationInfo get_master_node_uid N/A resp N/A N/A requests post url headers headers data N/A N/A jsonutils dumps data timeout N/A settings COLLECTOR_RESP_TIMEOUT N/A N/A N/A N/A N/A N/A urllib3 exceptions DecodeError N/A N/A urllib3 exceptions ProxyError N/A N/A requests exceptions ConnectionError N/A N/A requests exceptions Timeout N/A N/A requests exceptions TooManyRedirects N/A e N/A N/A N/A N/A logger error Sending data to collector failed: %s N/A N/A type e __name__ N/A N/A Exception N/A e N/A N/A N/A N/A logger exception Sending data to collector failed: %s N/A N/A six text_type e N/A resp N/A is_status_acceptable N/A N/A self resp_status_code resp_status codes N/A N/A N/A N/A requests codes created N/A N/A requests codes ok N/A N/A N/A N/A resp_status_code codes N/A resp_status N/A N/A consts LOG_CHUNK_SEND_STATUS ok N/A send_log_serialized N/A N/A self records ids N/A N/A N/A records N/A N/A N/A N/A logger info Send %d action logs records N/A len records N/A resp N/A N/A self send_data_to_url url N/A N/A self build_collector_url COLLECTOR_ACTION_LOGS_URL data N/A action_logs records N/A resp_dict N/A N/A resp json N/A N/A N/A self is_status_acceptable N/A resp status_code N/A resp_dict N/A status N/A N/A records_resp N/A resp_dict N/A action_logs N/A saved_ids N/A set N/A failed_ids N/A set N/A skipped_ids N/A set N/A record records_resp N/A N/A N/A N/A record N/A status N/A N/A consts LOG_RECORD_SEND_STATUS failed N/A N/A N/A N/A failed_ids add N/A record N/A external_id N/A N/A N/A N/A record N/A status N/A N/A consts LOG_RECORD_SEND_STATUS skipped N/A N/A N/A N/A skipped_ids add N/A record N/A external_id N/A N/A N/A N/A saved_ids add N/A record N/A external_id N/A sent_saved_ids N/A N/A set saved_ids N/A set ids N/A N/A N/A logger info Action logs records saved: %s, failed: %s, skipped: %s N/A N/A six text_type N/A list sent_saved_ids N/A N/A six text_type N/A list failed_ids N/A N/A six text_type N/A list skipped_ids N/A sent_saved_ids N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models ActionLog filter N/A N/A N/A N/A models ActionLog id in_ sent_saved_ids update N/A is_sent True synchronize_session False N/A N/A N/A N/A db commit N/A N/A N/A N/A logger error Unexpected collector answer: %s N/A N/A six text_type N/A resp text N/A send_action_log N/A N/A self N/A N/A N/A action_log N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models ActionLog order_by N/A N/A models ActionLog id filter_by is_sent False limit N/A settings STATS_SEND_COUNT N/A N/A N/A logger info Action log has %d unsent records N/A N/A action_log count N/A uid N/A N/A N/A InstallationInfo get_master_node_uid N/A offset 0 N/A True N/A N/A log_chunk N/A N/A action_log offset offset N/A records N/A N/A ids N/A N/A N/A N/A logger info Send records: %s N/A N/A six text_type N/A N/A log_chunk count N/A log_record log_chunk N/A N/A body N/A N/A N/A objects ActionLog to_dict log_record N/A record N/A external_id master_node_uid body N/A body N/A id uid body N/A N/A N/A records append record N/A N/A N/A ids append N/A log_record id N/A N/A N/A self send_log_serialized records ids N/A N/A N/A N/A log_chunk count N/A settings STATS_SEND_COUNT N/A N/A N/A offset N/A settings STATS_SEND_COUNT N/A send_installation_info N/A N/A self N/A N/A N/A N/A N/A logger info Sending installation structure info N/A inst_info N/A N/A N/A InstallationInfo get_installation_info N/A resp N/A N/A self send_data_to_url url N/A N/A self build_collector_url COLLECTOR_INST_INFO_URL data N/A installation_structure inst_info N/A resp_dict N/A N/A resp json N/A N/A N/A self is_status_acceptable N/A resp status_code N/A resp_dict N/A status N/A N/A N/A N/A logger info Installation structure info saved in collector N/A N/A N/A N/A logger error Unexpected collector answer: %s N/A N/A six text_type N/A resp text N/A send_oswl_serialized N/A N/A self rec_data ids N/A N/A N/A rec_data N/A N/A resp N/A N/A self send_data_to_url url N/A N/A self build_collector_url COLLECTOR_OSWL_INFO_URL data N/A oswl_stats rec_data N/A resp_dict N/A N/A resp json N/A N/A N/A self is_status_acceptable N/A resp status_code N/A resp_dict N/A status N/A N/A records_resp N/A resp_dict N/A oswl_stats N/A status_failed N/A N/A consts LOG_RECORD_SEND_STATUS failed N/A saved_ids N/A set N/A N/A r N/A id N/A r records_resp N/A N/A r N/A status status_failed N/A failed_ids N/A set N/A N/A r N/A id N/A r records_resp N/A N/A r N/A status status_failed N/A sent_saved_ids N/A N/A set saved_ids N/A set ids N/A N/A N/A logger info OSWL info records saved: %s, failed: %s N/A N/A six text_type N/A list sent_saved_ids N/A N/A six text_type N/A list failed_ids N/A sent_saved_ids N/A N/A N/A N/A N/A N/A N/A N/A N/A db query N/A models OpenStackWorkloadStats filter N/A N/A N/A N/A models OpenStackWorkloadStats id in_ sent_saved_ids update N/A is_sent True synchronize_session False N/A N/A N/A N/A db commit N/A N/A N/A N/A logger error Unexpected collector answer: %s N/A N/A six text_type N/A resp text N/A send_oswl_info N/A N/A self N/A N/A N/A N/A N/A logger info Sending OpenStack workload info N/A oswl_data N/A N/A N/A N/A N/A objects OpenStackWorkloadStatsCollection get_ready_to_send limit N/A settings OSWL_SEND_COUNT N/A N/A N/A logger info Pending records count: %s N/A N/A six text_type N/A N/A oswl_data count N/A uid N/A N/A N/A InstallationInfo get_master_node_uid N/A offset 0 N/A records N/A N/A ids N/A N/A True N/A N/A data_chunk N/A N/A oswl_data offset offset N/A rec data_chunk N/A N/A rec_data N/A N/A N/A objects OpenStackWorkloadStats to_dict rec N/A N/A rec_data N/A master_node_uid uid N/A N/A rec_data N/A created_date N/A N/A N/A rec_data N/A created_date isoformat N/A N/A rec_data N/A updated_time N/A N/A N/A rec_data N/A updated_time isoformat N/A N/A N/A records append rec_data N/A N/A N/A ids append N/A rec_data N/A id N/A N/A N/A self send_oswl_serialized records ids N/A N/A N/A N/A data_chunk count N/A settings OSWL_SEND_COUNT N/A N/A N/A offset N/A settings OSWL_SEND_COUNT N/A N/A N/A logger info OpenStack workload info is sent N/A send_stats_once N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A objects MasterNodeSettings must_send_stats N/A N/A N/A N/A self ping_collector N/A N/A N/A N/A self send_action_log N/A N/A N/A self send_installation_info N/A N/A N/A self send_oswl_info N/A N/A N/A time sleep N/A dithered N/A settings STATS_SEND_INTERVAL N/A N/A N/A N/A time sleep N/A dithered N/A settings COLLECTOR_PING_INTERVAL N/A N/A N/A N/A time sleep N/A dithered N/A settings STATS_ENABLE_CHECK_INTERVAL N/A N/A N/A Exception N/A e N/A N/A N/A N/A logger error Stats sender exception: %s N/A N/A six text_type e N/A N/A N/A time sleep N/A dithered N/A settings COLLECTOR_PING_INTERVAL N/A N/A N/A N/A db remove N/A N/A run N/A N/A N/A N/A N/A N/A prepare_logger logger file_name statsenderd.log N/A N/A N/A logger info Starting standalone stats sender... N/A N/A N/A True N/A N/A N/A N/A N/A StatsSender send_stats_once N/A N/A N/A N/A KeyboardInterrupt SystemExit N/A N/A N/A N/A logger info Stopping standalone stats sender... N/A