ComputeCanada / puppet-magic_castle

Puppet Environment repo for Magic Castle - https://github.com/ComputeCanada/magic_castle
MIT License
13 stars 21 forks source link

control if profiling is restricted only to admin users or not #396

Open mboisson opened 3 weeks ago

mboisson commented 3 weeks ago

This fixes https://github.com/ComputeCanada/puppet-magic_castle/issues/348

mboisson commented 3 weeks ago

This has been tested on passthrough GPU with MIG enabled. Setting the module option needs to be done before drivers are installed, otherwise modules are already loaded and the option won't take effect unless the node is rebooted or until all nvidia services are stopped and all nvidia kernel modules are reloaded

mboisson commented 3 weeks ago

Profiling is allowed by setting

profile::gpu::install::allow_profiling_for_all: true

in the hieradata.