Josh Soref
c35ee6c593
spelling: previous
2018-03-11 18:38:23 +00:00
Josh Soref
0e555825f8
spelling: alloc
2018-03-11 17:36:34 +00:00
Michael Schurter
a010d4baa8
chown dirs when migrating ephemeral_disk data
...
Fixes #3702
Added missing chown call and made it conditional on running as root and
not on Windows as we do with files.
2018-01-08 15:31:12 -08:00
Michael Schurter
ad5a3f0699
Lookup euid outside of loop
2017-12-13 11:50:12 -08:00
Michael Schurter
0c2c3568a6
Skip tests that require root when not root
...
Also skip Chown on allocdir migration on Windows and when non-root.
Windows doesn't support it, and it will always fail as a non-root user.
2017-12-12 16:58:27 -08:00
Michael Schurter
e3256ec4ee
Check for error file when receiving snapshots
2017-11-29 17:26:11 -08:00
Michael Schurter
5317c17e93
Alloc watcher must send Node.SecretID as AuthToken
...
An auth token is required if ACLs are enabled
2017-10-12 16:38:02 -07:00
Michael Schurter
fae8e7f699
SecretID -> AuthToken
2017-10-12 15:16:33 -07:00
Chelsea Holland Komlo
fba1653057
Add functionality for authenticated volumes
2017-10-11 17:09:20 -07:00
Michael Schurter
44b69882a1
Fix formatting
2017-08-15 10:37:02 -07:00
Michael Schurter
d55b4c1a2b
Cleanup comments and return val
2017-08-14 16:59:03 -07:00
Michael Schurter
ce4b919de5
Return move errors from local Migrate like remote
...
Since alloc runner just logs these errors and continues there's no
reason not to return it.
2017-08-14 16:48:56 -07:00
Michael Schurter
85b9dd9cce
Move migrating state into prevAllocWatcher
2017-08-14 16:02:28 -07:00
Michael Schurter
4f7c5e6ed1
Exit if alloc listener closes
...
Add test for that case, add comments, remove debug logging
2017-08-11 16:22:02 -07:00
Michael Schurter
8253439de2
Update tests for new blocking/migrating code
2017-08-11 16:21:57 -07:00
Michael Schurter
8c1811911e
switch from alloc blocker to new interface
...
interface has 3 implementations:
1. local for blocking and moving data locally
2. remote for blocking and moving data from another node
3. noop for allocs that don't need to block
2017-08-11 16:21:35 -07:00