-
Notifications
You must be signed in to change notification settings - Fork 14
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
Multi pulsar deployment #20
base: public
Are you sure you want to change the base?
Conversation
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.
There are so many pulsar.yml files ... can we give them more descriptinve names maybe?
- pulsar_systemd_service_name: pulsar_be | ||
pulsar_config_dir: "{{ pulsar_root }}/config_be" | ||
message_queue_url: REAL_MESSAGE_QUEUE_URL_BE | ||
pulsar_persistence_dir: /data/share/be/persisted_data |
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.
Should this be configurable?
I could imagine the playbook iterates over a list of dicts which is provided by a terraform variable, if we want to stick to deployment using one single command; similar to this
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.
@gm-ds is further working on this. We need the list of queues as input for endpoint configuration, with also the “short name” of the endpoint, e.g. it01..., for path configuration.
We can, probably, parse the queue to retrieve the short name. Do you think this can be fine?
Very cool, thank you @pauldg 🚀 |
Cool, thanks, @pauldg. I assume this deployment style would mean that the admin/user deploying this should know about the different pulsars (diff Galaxy instances) that they plan to deploy in advance, right? What happens when one wants to deploy/set up multiple pulsars in a later stage (after the initial deployment with one)? Will Terraform run the playbook, or will it say there are no infrastructural changes and that it does not execute/deploy the additional pulsar conf? |
terraform is not aware of software config as far as I am aware of. |
Tearing down every time and recreating is not a viable or sustainable solution. I would suggest the following simple way.
|
Hi @sanjaysrikakulam, I've extracted the playbook and I'm configuring it. I've configured the endpoint for running with "eu" and "it". The strange thing is that if I run a job from .eu, it is using the wrong assign method, with ids, in the staging dir. The app.yml is assign_ids: none But I get: Did you experience something like this? ps. 344, 345, 361 I think were very old jobs that eu submitted when I've reconfigured the endpoint. |
Hey Marco, I don't totally understand your problem (please clarify if I have misunderstood it) because the IDs seem okay. When Pulsar is not configured with |
The problem is that, as usual, Pulsar is configured with "assign_ids: none" but I have IDs, so jobs are failing. |
update (ty @sanjaysrikakulam). |
Multi pulsar deployment:
|
This PR loops over the galaxyproject.pulsar role with variables specific to each deployment.
The shared pulsar variables have been copied over from https://github.com/usegalaxy-eu/vgcn/blob/dev/ansible/group_vars/pulsar.yml