-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HeadNode fails to configure due to ansible change. on_head_node_configured.sh fails as ansible has deprecated ansible.builtin.include #238
Comments
Changing tasks/main.yml to call ansible.builtin.import_tasks allows the on_head_node_configured.sh to run.
Will attempt to build a new cluster. |
New cluster is working, build completed cleanly. Please do not trust my selection of ansible import_tasks as replacement for original "include" command. |
Use snake case instead of camel cases. Ansible naming conventions recommends only using lower-case alphanumeric variable names with underscores. Replace include with include_tasks. Resolves #238
Replace include with include_tasks. Resolves #238 Resolve ansible-lint warnings and errors Use snake case instead of camel cases. Ansible naming conventions recommends only using lower-case alphanumeric variable names with underscores. Support ParallelCluster 3.9.2. Resolves #236 Add support for ParallelCluster 3.9.3 Resolves #240 Fix filename in documentation Update the file where the Licenses are configured if you aren't using the slurmdb. Resolves #239
Replace include with include_tasks. Resolves #238 Resolve ansible-lint warnings and errors Use snake case instead of camel cases. Ansible naming conventions recommends only using lower-case alphanumeric variable names with underscores. Support ParallelCluster 3.9.2. Resolves #236 Add support for ParallelCluster 3.9.3 Resolves #240 Fix filename in documentation Update the file where the Licenses are configured if you aren't using the slurmdb. Resolves #239
Replace include with include_tasks. Resolves #238 Resolve ansible-lint warnings and errors Use snake case instead of camel cases. Ansible naming conventions recommends only using lower-case alphanumeric variable names with underscores. Support ParallelCluster 3.9.2. Resolves #236 Add support for ParallelCluster 3.9.3 Resolves #240 Fix filename in documentation Update the file where the Licenses are configured if you aren't using the slurmdb. Resolves #239
Replace include with include_tasks. Resolves #238 Resolve ansible-lint warnings and errors Use snake case instead of camel cases. Ansible naming conventions recommends only using lower-case alphanumeric variable names with underscores. Support ParallelCluster 3.9.2. Resolves #236 Add support for ParallelCluster 3.9.3 Resolves #240 Fix filename in documentation Update the file where the Licenses are configured if you aren't using the slurmdb. Resolves #239
Replace include with include_tasks. Resolves #238 Resolve ansible-lint warnings and errors Use snake case instead of camel cases. Ansible naming conventions recommends only using lower-case alphanumeric variable names with underscores. Support ParallelCluster 3.9.2. Resolves #236 Add support for ParallelCluster 3.9.3 Resolves #240 Fix filename in documentation Update the file where the Licenses are configured if you aren't using the slurmdb. Resolves #239
Replace include with include_tasks. Resolves #238 Resolve ansible-lint warnings and errors Use snake case instead of camel cases. Ansible naming conventions recommends only using lower-case alphanumeric variable names with underscores. Support ParallelCluster 3.9.2. Resolves #236 Add support for ParallelCluster 3.9.3 Resolves #240 Fix filename in documentation Update the file where the Licenses are configured if you aren't using the slurmdb. Resolves #239
Using latest version of aws-eda-slurm-cluster as of May 15.
Headnode fails to configure. cloud init fails. Reproduce by deploying new cluster with latest ansible
Tracked things down so far to the shell script on_head_node_configured.sh. Error message is:
<13>Jun 10 16:48:18 on_head_node_configured.sh: TASK [all : Create /var/lib/cloud/scripts/per-boot/90_mount_ssds.bash] *********
<13>Jun 10 16:48:18 on_head_node_configured.sh: ok: [local]
<13>Jun 10 16:48:18 on_head_node_configured.sh:
<13>Jun 10 16:48:18 on_head_node_configured.sh: TASK [all : Execute /var/lib/cloud/scripts/per-boot/90_mount_ssds.bash] ********
<13>Jun 10 16:48:18 on_head_node_configured.sh: ok: [local]
<13>Jun 10 16:48:18 on_head_node_configured.sh:
<13>Jun 10 16:48:18 on_head_node_configured.sh: TASK [all : Give /tmp write permissions] ***************************************
<13>Jun 10 16:48:18 on_head_node_configured.sh: ok: [local]
<13>Jun 10 16:48:18 on_head_node_configured.sh: ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks.
<13>Jun 10 16:48:18 on_head_node_configured.sh: + on_exit
<13>Jun 10 16:48:18 on_head_node_configured.sh: + rc=1
<13>Jun 10 16:48:18 on_head_node_configured.sh: + set +e
<13>Jun 10 16:48:18 on_head_node_configured.sh: + [[ 1 -ne 0 ]]
<13>Jun 10 16:48:18 on_head_node_configured.sh: + [[ : != : ]]
include is used in
/opt/slurm/config/ansible/playbooks/roles/ParallelClusterHeadNode/tasks/main.yml
The text was updated successfully, but these errors were encountered: