Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-2231 Upgrade to Django 4.x
  3. COST-4676

Redis failures in ephemeral due to change to Django RedisCache

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Blocker Blocker
    • February 2024, 2024Q1
    • None
    • None
    • None

      Django 4.0 added a RedisCache which we moved to when upgrading to Django 4. Previously we were using django-redis. This is causing 500 errors to be returned when the redis connection fails.

      django-redis had a IGNORE_EXCEPTIONS setting that we used. It's possible that redis was always having connectivity issues in ephemeral and it now only visible because we are no longer ignoring these exceptions.

      To unblock the Django 4 release, we are moing back to using django-redis.

              rh-ee-sdoran Sam Doran
              kholdawa@redhat.com Kevan Holdaway
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: