Skip to content

add new status file to signal daemons startup - #913

Merged
tariq1890 merged 1 commit into
mainfrom
add-driver-daemons-status-file
Aug 11, 2026
Merged

add new status file to signal daemons startup#913
tariq1890 merged 1 commit into
mainfrom
add-driver-daemons-status-file

Conversation

@tariq1890

@tariq1890 tariq1890 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

This PR introduces a new status file called /run/nvidia/validations/.driver-daemons-status. This file can be leveraged by components downstream who need to ensure that the driver daemons like persistenced, fabricmanager, vgpu-topologyd have come up before performing any other operations

@tariq1890
tariq1890 requested a review from shivamerla August 10, 2026 20:46
@tariq1890
tariq1890 force-pushed the add-driver-daemons-status-file branch 2 times, most recently from 54e0dbc to 0a021f8 Compare August 10, 2026 21:54
@tariq1890

Copy link
Copy Markdown
Contributor Author

Related gpu-operator PR - https://github.com/NVIDIA/gpu-operator/pull/2727/changes

@tariq1890 tariq1890 self-assigned this Aug 10, 2026
Comment thread ubuntu24.04/nvidia-driver Outdated
Comment thread ubuntu26.04/nvidia-driver
Comment thread rhel10/nvidia-driver Outdated
@shivamerla

Copy link
Copy Markdown
Contributor

@tariq1890 in the PR description add details about why a sentinel file is not enough in this case and how that causes backward compatibility issue.

Comment thread rhel10/nvidia-driver Outdated
echo "Starting NVIDIA fabric manager daemon..."
nv-fabricmanager -c /usr/share/nvidia/nvswitch/fabricmanager.cfg || return 1
fi
echo "Ready" > /run/nvidia/validations/.driver-daemons-status

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a method for this too, set_daemon_status "Ready"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done

Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
@tariq1890
tariq1890 force-pushed the add-driver-daemons-status-file branch from 07c7f18 to 78094f7 Compare August 11, 2026 01:34
@tariq1890
tariq1890 requested a review from shivamerla August 11, 2026 01:50
@shivamerla

Copy link
Copy Markdown
Contributor

These changes look good to me.

@tariq1890
tariq1890 merged commit a891f5f into main Aug 11, 2026
48 of 58 checks passed
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

Successfully merging this pull request may close these issues.

3 participants