-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Just brainstorming here a bit. The conversation in flux-framework/flux-docs#229 made me realize it sort of sucks that data has to be gathered from two locations sometimes. Seems to be the case from slurm days too.
It is sort of a historical side effect of the fact there is data for everyone to see (jobids, number of nodes, etc.) which eventually gets listed in tools like flux-jobs
and data that is not for everyone to see (full commandline of job, jobspec, etc.) that is only retrievable by individuals that specifically want that data.
Because of this historical split, some information simply has never been available in job-list
(flux jobs
), you have to go to job-info
to get it (flux job info
).
For example, jobspec
and R
are read / cached in job-list
, so it could conceptually be offered to callers if there was an access control mechanism. The same access controls that are done in job-info
could possibly be copied into job-list
, allowing users to access that not-for-everyone data.
I'm not sure what side effects there could be for this. Off the top of my head.
-
what to display / return when there's data that the user isn't allow to retrieve
-
we wouldn't want users to output data in
flux-jobs
and then cut and paste to some communication (i.e. slack) that they shouldn't, so maybe this isn't a wise idea. But this could be controlled by just not supporting this output influx-jobs
, it is only available via API or something.
alternately if the "everything goes into a database" that is someday done, everything could be redirected to the database with appropriate controls (see conversation #4914)