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

Traceback on autotune task

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • None
    • None
    • API
    • COST Sprint 47

    Description

      Description

      There is a traceback in the masu/processor/tasks.autovacuum_tune_schema function when comparing the table options against the scale.


      Traceback

      [2020-05-31 23:00:10,300: ERROR/ForkPoolWorker-1] Task failed: '<=' not supported between instances of 'str' and 'decimal.Decimal'
      Traceback (most recent call last):
        File "/opt/app-root/lib/python3.6/site-packages/celery/app/trace.py", line 385, in trace_task
          R = retval = fun(*args, **kwargs)
        File "/opt/app-root/lib/python3.6/site-packages/celery/app/trace.py", line 650, in __protected_call__
          return self.run(*args, **kwargs)
        File "/opt/app-root/src/koku/masu/processor/tasks.py", line 457, in autovacuum_tune_schema
          if scale_factor > zero and table_scale_option <= scale:
      TypeError: '<=' not supported between instances of 'str' and 'decimal.Decimal'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            hproctor HAP Proctor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: