flux-framework / flux-core

core services for the Flux resource management framework
GNU Lesser General Public License v3.0
166 stars 49 forks source link

use case: one time housekeeping tasks #6143

Open grondo opened 1 month ago

grondo commented 1 month ago

One use case brought up by a sysadmin was scheduling work to be run on one or more nodes the next time they are free. One possibility would be to run the work itself as a job, however this is limited because Flux does not support running jobs as root.

Another idea would be a method to append one-time tasks to the housekeeping workload. This would have to be carefully designed to not break the intentional privilege separation of the flux user and root (e.g. we would not want to arbitrarily run scripts in housekeeping that are stored in the instance KVS, which is completely under the control of the flux user)

garlick commented 1 month ago

This would have to be carefully designed to not break the intentional privilege separation of the flux user and root

Sign the request with munge?