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
Hi,
I found on the DCGM document: the Embedded Mode should be run as root. Some 3rd-party DCGM Agent like dcgm-exporter will raise runtime error: "FATA[0000] Failed to watch metrics: Error watching fields: Host engine is running as non-root." without SYS_ADMIN privilege. And the error might be raised by dcgmWatchFields interface.
I wonder what operation in dcgmWatchFields is checking the privilege, and Could there be a non-privilege solution for agents to just extract the metrics?
The text was updated successfully, but these errors were encountered:
I recently started exploring dcgm api and I might be wrong here but I believe it's because of the lock on the hardware when you read stats from it. Possible that needs elevated privileges to execute at low level.
Hi,
I found on the DCGM document: the Embedded Mode should be run as root. Some 3rd-party DCGM Agent like dcgm-exporter will raise runtime error: "FATA[0000] Failed to watch metrics: Error watching fields: Host engine is running as non-root." without SYS_ADMIN privilege. And the error might be raised by dcgmWatchFields interface.
I wonder what operation in dcgmWatchFields is checking the privilege, and Could there be a non-privilege solution for agents to just extract the metrics?
The text was updated successfully, but these errors were encountered: