Uploaded image for project: 'Automation Analytics'
  1. Automation Analytics
  2. AA-1894

[Rollups] Killed 'NoneType' object has no attribute 'processed_cnt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • aa-latest
    • rollups
    • None
    • Sprint ending Nov 9, 2023

      2023-10-19 12:44:53,014|tower_analytics_report.rollups.controller.rollups_one_time_worker|ERROR: [Rollups] Killed 'NoneType' object has no attribute 'processed_cnt'
      Traceback (most recent call last):
        File "/opt/app-root/src/tower_analytics_report/worker.py", line 52, in start
          self._main_loop()
        File "/opt/app-root/src/tower_analytics_report/rollups/controller/rollups_one_time_worker.py", line 11, in _main_loop
          self.process()
        File "/opt/app-root/src/tower_analytics_report/worker_with_db_queue.py", line 58, in process
          if not self._process_tenant(tenant):
        File "/opt/app-root/src/tower_analytics_report/worker_with_db_queue.py", line 89, in _process_tenant
          self._post_processing(processing_state, tenant_id, tenant_name)
        File "/opt/app-root/src/tower_analytics_report/worker_with_db_queue.py", line 126, in _post_processing
          self.metrics.processed_cnt.inc()
      AttributeError: 'NoneType' object has no attribute 'processed_cnt' 

       

              mslemr Martin Šlemr (Inactive)
              daoneill@redhat.com David O Neill
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: