Thumbor: AttributeError: REDIS_STORAGE_IGNORE_ERRORS when using smart
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- helm, kubernetes
- Domain
- devops, infrastructure
Research direction
Inspect the Thumbor Helm chart's Redis and storage configuration, then trace how the chart-generated settings reach Thumbor when /smart is requested. Reproduce the request and verify that the missing REDIS_STORAGE_IGNORE_ERRORS error no longer occurs.
Written by the indexing model from the issue text.
Description
i tried the thumbor chart. While the it works good for resizing, i get an error when using /smart in the route. The thumbor pod then logs:
focal_points = yield gen.maybe_future(self.context.modules.storage.get_detector_data(self.smart_storage_key))
File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
value = future.result()
File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 307, in wrapper
yielded = next(result)
File "/usr/local/lib/python2.7/site-packages/thumbor/storages/mixed_storage.py", line 74, in get_detector_data
result = yield gen.maybe_future(self.detector_storage.get_detector_data(path))
File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 483, in wrapper
future.result()
File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 471, in wrapper
result = f(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/tc_redis/storages/redis_storage.py", line 129, in get_detector_data
callback(self._get_detector_data(path))
File "/usr/local/lib/python2.7/site-packages/tc_redis/utils.py", line 23, in wrapper
exc_value
File "/usr/local/lib/python2.7/site-packages/tc_redis/storages/redis_storage.py", line 69, in on_redis_error
if self.context.config.REDIS_STORAGE_IGNORE_ERRORS is True:
File "/usr/local/lib/python2.7/site-packages/derpconf/config.py", line 211, in __getattr__
raise AttributeError(name)
AttributeError: REDIS_STORAGE_IGNORE_ERRORS
it seems like REDIS_STORAGE_IGNORE_ERRORS is not defined (?)
- Dominant language
- Mustache
- Stars
- 160
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudposse/charts
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cloudposse/charts#282 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
cloudposse/charts#280 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
cloudposse/charts#277 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
cloudposse/charts#269 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
cloudposse/charts#266 · 1 comment ·
All issues in cloudposse/charts
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ehmpathy/declapract-typescript-ehmpathy#960 ·
Maintainers usually reply within 1 day
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPossibly taken @weirong-ui claimed this today. Openkind/bug needs-priority needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/karpenter#3728 · 1 comment ·
Maintainers usually reply within 1 day
-
ci: migrate pinned macos-15 runners to macos-26 and macos-26-intelPossibly taken @hawkingrei claimed this today. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
nowledge-co/hawdb#2224 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hexlet-volunteers/hexlet-sicp#2092 ·
Maintainers usually reply within 1 day
-
cvss-severity:high devguard l3montree-cybersecurity/.../devguard-documentation pkg:oci/devguard-documen...ch=amd64&tag=main-amd64 risk:low state:open
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
l3montree-dev/devguard-documentation#396 · 1 comment ·