-
Notifications
You must be signed in to change notification settings - Fork 108
WIP: add sn09 playbook and group vars #1575
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
WIP: add sn09 playbook and group vars #1575
Conversation
… for setting up selinux context via a new block task
… issues when attempting to install the requirements.yaml, so removing it from here.
|
Rsync dry run tests: Commands: change the source and destination directories; this is just an example. Diff test for a few files: Rsync test results:
on
|
|
|
This would be nice to take into the playbook, assuming we will ever use it again:
|
|
This symlink might be needed if tool help images are not shown: in /opt/galaxy ... |
|
Needs to go to the ansible file: /opt/galaxy/config/email_domain_blocklist.conf |
This seems to be a symlink on sn06 (also automatically done on sn09) on sn06 on sn09 and |
Seems already on the playbook repo because I see this file on the sn09. So all good on this one. |
…le due to the overriding order.
…rrors out on sn09 when freshly installed, so this is just in case).
…playbook_dir (untested, but this should work)
Just found that this is already in the playbook repo but instead of copying it to |
|
config is actually a better place for the grt file. |
mira-miracoli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, just some minor things (@bgruening already mentioned the toolmsg file)
See issue: https://github.com/usegalaxy-eu/issues/issues/754
Xref:
tiaas_galaxy_stylesheet: '{{ galaxy_server_dir }}/static/dist/base.css'to the group_vars see here for more details)requirements.yaml(ToDo)This does not appear to exist anymore on Ansible Galaxy, and the role is still used by a few playbooks. Currently, I have commented out this role in my manual deployment process, but when the CI is set up, we will likely encounter issues and the CI will fail with an error stating that this role is not available. We should investigate what this role is doing and find alternatives. -- Update: This is a local role, so I have removed it from the requirements file and added a commit to this PR.
6. galaxyproject/ansible-galaxy#229 -- Update: Used the latest commit hash from this repo in the requirements file.
7. Updated NodeJS version
gie_proxy_nodejs_version: '22.0.0'. On sn06, this appears to be locally/manually updated to enable the gie-proxy to work with the PostgreSQL DB and it was updated to21.1.0but this did not reflect on the sn06 group vars file, unfortunately.8. Updated the
usegalaxy_eu.tpv_auto_lintrole to0.4.5due to this issue which I had to find in a hard way.9. #1585
10. usegalaxy-eu/infrastructure#245
11. I manually installed
flower==2.0.1for celery ongalaxy' venv onsn09. (This is likely not needed if and when the celery CI runs and the nfs-sync cron job; but just in case to avoid any surprises during the migration)Before deployment/migration:
/opt/phinchhas a dedicated route ongalaxy-mainnginx conf; this needs to be rsynced as well)rsync:After deployment/migration:
gxadmin mutate reassign-job-to-handler(Note, we need to populate the job ids for that; look for new, queued, and running jobs and get those IDs and loop it with this gxadmin command)workflow_scheduler_sn06_0,workflow_scheduler_sn06_1,workflow_scheduler_sn06_2; we have 3 systemd services, so 3 handlers)mutate reassign-workflows-to-handlermutate reassign-active-workflows-to-handlerrsync: