Zun

Block I/O Values are coming 0 from zun stats

Bug #2013046 reported by Durga Malleswari Varanasi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Released
Undecided
Durga Malleswari Varanasi

Bug Description

The Bulk IO values are coming 0 in case we are fetching from zun.

openstack@zed:~/devstack$ openstack appcontainer stats 5af4d461-b216-4615-8da3-b5a5750b25a0
+----------------+------------------------+
| Field | Value |
+----------------+------------------------+
| CONTAINER | container |
| CPU % | 2.2699627891373658e-05 |
| MEM USAGE(MiB) | 0.9609375 |
| MEM LIMIT(MiB) | 16000.55859375 |
| MEM % | 0.006005649705100627 |
| BLOCK I/O(B) | 0/0 |
| NET I/O(B) | 150506/9406186 |
+----------------+------------------------+
However, docker stats is providing complete stats,

openstack@zed:~/devstack$ docker stats 01547ac35f1f --no-stream
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
01547ac35f1f zun-5af4d461-b216-4615-8da3-b5a5750b25a0 0.01% 356KiB / 15.63GiB 0.00% 144kB / 9MB 1.3MB / 0B 1

In this case the openstack cli should also return BLOCK I/O as 1302528/0

Changed in zun:
assignee: nobody → Durga Malleswari Varanasi (durga1)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/zun/+/879746

Changed in zun:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.opendev.org/c/openstack/zun/+/879746
Committed: https://opendev.org/openstack/zun/commit/4aba8e9a5bf5e7a207e7278b88357741cb292989
Submitter: "Zuul (22348)"
Branch: master

commit 4aba8e9a5bf5e7a207e7278b88357741cb292989
Author: Malleswari Varanasi <email address hidden>
Date: Thu Apr 6 08:33:50 2023 -0700

    Block I/O Values are coming 0 from zun stats

    The Bulk stats are coming 0 in case we are fetching from zun
    However, docker sdk is giving the stats properly in a different
    field

    Closes-Bug: #2013046
    Change-Id: Ia55262f33222f5ca2f041be0b34b96840a47b727

Changed in zun:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun 12.0.0.0rc1

This issue was fixed in the openstack/zun 12.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.