open-nomad/nomad/volumewatcher
Tim Gross 60874ebe25
csi: Postrun hook should not change mode (#9323)
The unpublish workflow requires that we know the mode (RW vs RO) if we want to
unpublish the node. Update the hook and the Unpublish RPC so that we mark the
claim for release in a new state but leave the mode alone. This fixes a bug
where RO claims were failing node unpublish.

The core job GC doesn't know the mode, but we don't need it for that workflow,
so add a mode specifically for GC; the volumewatcher uses this as a sentinel
to check whether claims (with their specific RW vs RO modes) need to be claimed.
2020-11-11 13:06:30 -05:00
..
interfaces.go
interfaces_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
volume_watcher.go csi: volumewatcher only needs one pass to collect past claims 2020-10-09 11:03:51 -04:00
volume_watcher_test.go csi: Postrun hook should not change mode (#9323) 2020-11-11 13:06:30 -05:00
volumes_watcher.go
volumes_watcher_test.go csi: Postrun hook should not change mode (#9323) 2020-11-11 13:06:30 -05:00