Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-5557

AttributeError when no provider exists

XMLWordPrintable

    • 5
    • False
    • None
    • False

      Need to account for cases where no provider matches the query.

      https://glitchtip.devshift.net/insights/issues/237897?project=82

      AttributeError:'NoneType' object has no attribute 'type'
      File "celery/app/trace.py" , line 734 , in __protected_call__
           return self.run(*args, **kwargs)
      File "masu/processor/tasks.py" , line 1274 , in validate_daily_data
           data_validator.check_data_integrity()
      File "masu/processor/_tasks/data_validation.py" , line 211 , in check_data_integrity
           provider_type = provider.type.strip("-local")
      

              rhn-support-lcouzens Luke Couzens
              rh-ee-sdoran Sam Doran
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: