Skip to content

Commit

Permalink
Adds blkinfo for use by stormond to instantiate UsbUtil object (#20053)
Browse files Browse the repository at this point in the history
Why I did it
This module is required in the pmon container for Storage Monitoring Daemon (stormond) to instantiate objects of type (UsbUtil)[sonic-net/sonic-platform-common#493].

Work item tracking
Microsoft ADO (number only): 29203991

How I did it
Added config to pmon Dockerfile.j2 to install blkinfo

How to verify it
On an image containing this change, verify following output:

root@str2-7050qx-32s-acs-03:/# pip3 list | grep -i blkinfo
blkinfo                       0.2.0
  • Loading branch information
assrinivasan authored Sep 19, 2024
1 parent e0e0c0c commit 82861b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockers/docker-platform-monitor/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ RUN pip3 install libpci
# Install psutil for process and system monitoring operations
RUN pip3 install psutil

# Install blkinfo for block device information gathering operations
RUN pip3 install blkinfo


{% if docker_platform_monitor_debs.strip() -%}
# Copy locally-built Debian package dependencies
{{ copy_files("debs/", docker_platform_monitor_debs.split(' '), "/debs/") }}
Expand Down

0 comments on commit 82861b1

Please sign in to comment.