Skip to content

Error for rule dataproc/warn_2022_002_job_throttling_rate_limit #57

Description

@abhigupta1207

Traceback (most recent call last):
File "/opt/gcpdiag/bin/gcpdiag", line 70, in
main(sys.argv)
File "/opt/gcpdiag/bin/gcpdiag", line 43, in main
lint_command.run(argv)
File "/opt/gcpdiag/gcpdiag/lint/command.py", line 290, in run
repo.run_rules(context)
File "/opt/gcpdiag/gcpdiag/lint/init.py", line 495, in run_rules
self.execution_strategy.run_rules(context, self.result, rules_to_run)
File "/opt/gcpdiag/gcpdiag/lint/init.py", line 575, in run_rules
rule.run_rule_f(context, rule_report)
File "/opt/gcpdiag/gcpdiag/lint/dataproc/warn_2022_002_job_throttling_rate_limit.py", line 73, in run_rule
clusters_with_throttling = get_clusters_having_relevant_log_entries(context)
File "/opt/gcpdiag/gcpdiag/lint/dataproc/warn_2022_002_job_throttling_rate_limit.py", line 61, in get_clusters_having_relevant_log_entries
return {
File "/opt/gcpdiag/gcpdiag/lint/dataproc/warn_2022_002_job_throttling_rate_limit.py", line 62, in
e.cluster_name
AttributeError: 'dict' object has no attribute 'cluster_name'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions