[ARVADOS] updated: 1.3.0-855-gec96bfb7d
Git user
git at public.curoverse.com
Tue May 14 20:17:49 UTC 2019
Summary of changes:
sdk/python/arvados/commands/federation_migrate.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
via ec96bfb7ddad8d27862ace0c382f9bd33679f96c (commit)
from 81ca884e5ca26bec3bba79c94286e7923f3be82b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit ec96bfb7ddad8d27862ace0c382f9bd33679f96c
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Tue May 14 16:17:23 2019 -0400
15061: Add warning about clusters that are not in tokens file.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/sdk/python/arvados/commands/federation_migrate.py b/sdk/python/arvados/commands/federation_migrate.py
index 829d0d899..af29f3a64 100755
--- a/sdk/python/arvados/commands/federation_migrate.py
+++ b/sdk/python/arvados/commands/federation_migrate.py
@@ -39,8 +39,11 @@ def main():
for v in clusters.values():
for r in clusters:
if r != v._rootDesc["uuidPrefix"] and r not in v._rootDesc["remoteHosts"]:
- print("%s is missing from remoteHosts on %s" % (r, v._rootDesc["uuidPrefix"]))
+ print("ERROR: %s is missing from remoteHosts of %s" % (r, v._rootDesc["uuidPrefix"]))
fail = True
+ for r in v._rootDesc["remoteHosts"]:
+ if r != "*" and r not in clusters:
+ print("WARNING: %s is federated with %s but %s is not in the tokens file" % (v._rootDesc["uuidPrefix"], r, r))
if fail:
exit(1)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list