open-nomad/plugins
Tim Gross 0f1946d395
csi: improve plugin error messages and volume validation (#7984)
Some CSI plugins don't return much for errors over the gRPC socket
above and beyond the bare minimum error codes. This changeset improves
the operator experience by unpacking the error codes when available
and wrapping the error with some user-friendly direction.

Improving these errors also revealed a bad comparison with
`require.Error` when `require.EqualError` should be used in the test
code for plugin errors. This defect in turn was hiding a bug in volume
validation where we're being overly permissive in allowing mount
flags, which is now fixed.
2020-05-18 08:23:17 -04:00
..
base When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00
csi csi: improve plugin error messages and volume validation (#7984) 2020-05-18 08:23:17 -04:00
device update grpc 2020-03-03 08:39:54 -05:00
drivers fix spelling errors (#6985) 2020-04-20 09:28:19 -04:00
shared update grpc 2020-03-03 08:39:54 -05:00
serve.go plugins: Add support for serving driver plugins 2018-12-01 17:30:54 +01:00