Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CheckContainers fails on a Raspbian Bullseye 64 bit #3

Open
riklempens opened this issue May 21, 2023 · 0 comments
Open

CheckContainers fails on a Raspbian Bullseye 64 bit #3

riklempens opened this issue May 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@riklempens
Copy link
Contributor

CheckContainers fails while running the Docker agent on Raspbian version Bullseye 64 bit.

The following error is logged:

[E 230521 06:48:36 base:43] 
Traceback (most recent call last):
  File "/code/lib/check/base.py", line 33, in run
    data = await asyncio.wait_for(
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
    return fut.result()
  File "/code/lib/check/checkContainers.py", line 116, in get_data
    cls.apply_stats(state_data['containers'], stats)
  File "/code/lib/check/checkContainers.py", line 181, in apply_stats
    memory = cls.calculate_memory_percentage(istats)
  File "/code/lib/check/checkContainers.py", line 40, in calculate_memory_percentage
    used_memory = memory_stats['usage'] - stats.get(
KeyError: 'usage'
[E 230521 06:48:36 agent:228] check error (containers): 'usage'
@riklempens riklempens added the bug Something isn't working label May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant