You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran ctr task metric <task-name>, the container runtime returns a rpc error, indicating that the metric collecting method doesn't work on cgroup v2. I think I know the issue lies in the collect_metric method. Will have a PR to fix it.
Reproduce
➜ rust-extensions-fork git:(main) sudo ctr run --net-host --rm --runtime=io.containerd.runc.v2-rs docker.io/library/py-flask-app:latest pyflask
* Serving Flask app 'app'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://10.0.0.4:8000
Press CTRL+C to quit
ctr: rpc error: code = Unknown desc = ttrpc: closed: unknown
➜ runwasi git:(issue64) ✗ sudo ctr task metric pyflask
ctr: not found
The text was updated successfully, but these errors were encountered:
When I ran
ctr task metric <task-name>
, the container runtime returns a rpc error, indicating that the metric collecting method doesn't work on cgroup v2. I think I know the issue lies in thecollect_metric
method. Will have a PR to fix it.Reproduce
The text was updated successfully, but these errors were encountered: