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

AssertionError: Status must be a string #35

Open
gotohx opened this issue Nov 9, 2022 · 0 comments
Open

AssertionError: Status must be a string #35

gotohx opened this issue Nov 9, 2022 · 0 comments

Comments

@gotohx
Copy link

gotohx commented Nov 9, 2022

I use the image (https://hub.docker.com/r/blemmenes/radosgw_usage_exporter), when I call the interface, some errors occur:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/wsgiref/handlers.py", line 85, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/lib/python2.7/site-packages/prometheus_client/exposition.py", line 125, in prometheus_app
    start_response(status, [header])
  File "/usr/local/lib/python2.7/wsgiref/handlers.py", line 173, in start_response
    assert type(status) is StringType,"Status must be a string"
AssertionError: Status must be a string

My Ceph version is 15.2.17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant