open-nomad/plugins/csi
Tim Gross cbae10333c
csi: check returned volume capability validation (#7831)
This changeset corrects handling of the `ValidationVolumeCapabilities`
response:

* The CSI spec for the `ValidationVolumeCapabilities` requires that
  plugins only set the `Confirmed` field if they've validated all
  capabilities. The Nomad client improperly assumes that the lack of a
  `Confirmed` field should be treated as a failure. This breaks the
  Azure and Linode block storage plugins, which don't set this
  optional field.

* The CSI spec also requires that the orchestrator check the validation
  responses to guard against older versions of a plugin reporting
  "valid" for newer fields it doesn't understand.
2020-04-30 17:12:32 -04:00
..
fake csi: add grpc retries to client controller RPCs (#7549) 2020-03-30 16:26:03 -04:00
testing csi: check returned volume capability validation (#7831) 2020-04-30 17:12:32 -04:00
client.go csi: check returned volume capability validation (#7831) 2020-04-30 17:12:32 -04:00
client_test.go csi: check returned volume capability validation (#7831) 2020-04-30 17:12:32 -04:00
plugin.go csi: add grpc retries to client controller RPCs (#7549) 2020-03-30 16:26:03 -04:00