[ARVADOS] updated: 2.1.0-2112-ge4aefa613
Git user
git at public.arvados.org
Tue Apr 5 20:58:56 UTC 2022
Summary of changes:
.../config_examples/multi_host/aws/pillars/arvados.sls | 7 +++++++
.../multi_host/aws/states/shell_cron_add_login_sync.sls | 2 ++
2 files changed, 9 insertions(+)
via e4aefa613bd4cc313f705560ae4fad25cd806a4b (commit)
from ad9dfa8583197097caf3d2fb41771e9f09e55252 (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 e4aefa613bd4cc313f705560ae4fad25cd806a4b
Author: Javier Bértoli <jbertoli at curii.com>
Date: Tue Apr 5 17:54:38 2022 -0300
18631: Add shell's vm uuid from the shell node state
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli at curii.com>
diff --git a/tools/salt-install/config_examples/multi_host/aws/pillars/arvados.sls b/tools/salt-install/config_examples/multi_host/aws/pillars/arvados.sls
index 8c14c56ed..b92c818b8 100644
--- a/tools/salt-install/config_examples/multi_host/aws/pillars/arvados.sls
+++ b/tools/salt-install/config_examples/multi_host/aws/pillars/arvados.sls
@@ -81,6 +81,13 @@ arvados:
# required to test with arvados-snakeoil certs
insecure: false
+ resources:
+ virtual_machines:
+ shell:
+ name: shell
+ backend: __SHELL_INT_IP__
+ port: 4200
+
### TOKENS
tokens:
system_root: __SYSTEM_ROOT_TOKEN__
diff --git a/tools/salt-install/config_examples/multi_host/aws/states/shell_cron_add_login_sync.sls b/tools/salt-install/config_examples/multi_host/aws/states/shell_cron_add_login_sync.sls
index 4b98d7b23..c3a113064 100644
--- a/tools/salt-install/config_examples/multi_host/aws/states/shell_cron_add_login_sync.sls
+++ b/tools/salt-install/config_examples/multi_host/aws/states/shell_cron_add_login_sync.sls
@@ -44,6 +44,8 @@ extra_shell_cron_add_login_sync_add_{{ vm }}_get_vm_uuid_cmd_run:
- name: {{ cmd_query_vm_uuid }} | head -1 | tee /tmp/vm_uuid_{{ vm }}
- unless:
- /bin/grep -qE "[a-z0-9]{5}-2x53u-[a-z0-9]{15}" /tmp/vm_uuid_{{ vm }}
+ - require:
+ - gem: arvados-shell-package-install-gem-arvados-cli-installed
extra_shell_cron_add_login_sync_add_{{ vm }}_arvados_api_host_cron_env_present:
cron.env_present:
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list