flux-core icon indicating copy to clipboard operation
flux-core copied to clipboard

`flux resource list` reports `ERROR: ENOENT: No such file or directory` when inventory not available

Open grondo opened this issue 10 months ago • 1 comments

The resource module returns an errno only when the inventory isn't available. This can be confusing to admins, so perhaps a human readable error should be added for this case. Other error returns for the status RPCs should be audited as well.

grondo avatar Apr 12 '24 18:04 grondo

Hm, it seems like we should have gotten a slightly more descriptive error message here:

https://github.com/flux-framework/flux-core/blob/7d61efd0096f80dad82a61f64dcf7ebdf8257f48/src/modules/resource/status.c#L82-L85

Maybe the issue is on the Python side. More investigation required.

grondo avatar Apr 13 '24 02:04 grondo