-
Notifications
You must be signed in to change notification settings - Fork 5
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
Y25-078 - Set up traction training environment to connect with MLWH training #1539
Comments
I kept seeing the following message in training instance of
And this same message kept popping up into the queue again and again, which means that |
User story
As developers, we need to set up traction messaging setup in the training environment. As of now, no application is pushing data to the newly set up MLWH training. Therefore, as our first step, we would like Traction training to use MLWH training.
Because we did not have a messaging infrastructure set up in our traction training environment, and because we did not have a MLWH training database, we could not have certain events such as volume tracking (see "Additional Context") in Traction traced through MLWH. Therefore, we would need to set the end-to-end messaging configuration in traction training using the infrastructure that has now been set up.
When the dedicated Rabbit broker was set up1, we have updated the traction configuration in training environment to use the dedicated broker (managed by PSD) to be used for volume tracking purposes. However, there seem to be some missing link and because of that,
tol-lab-share
in training environment fails to consume the messages. This will have to be investigated and fixed as part of this story.Tip
Seems like Traction fails to push messages to the dedicated broker in training. Note that the same setup works fine in UAT, that uses the same dedicated broker. Check if
enabled
inbunny.yml
is properly being set in training.Also, change the following configs to use the dedicated broker only in the training environment (see
roles/deploy_traction_service/templates/bunny.yml.j2
):Important
This story concerns only with the training environment. No configs of other environments should be affected.
Who are the primary contacts for this story
Dasun P, Stephen I, Seena N, Ben T,
Who is the nominated tester for UAT
PSD
Acceptance Criteria
aliquot
table.psd.traction.to-warehouse
queue) to MLWH should be persisted in the correct tables in training MLWH.Additional Context
If messages are going through RabbitMQ but aren't getting consumed, chances are that there is a setup misconfiguration in the new
unified_warehouse
instance hosted atware-training.psd.sanger.ac.uk
. It might be worth having a look at the configuration in thedeployment
project if that is the case.Note
Volume Tracking
Events such as library, pool and run creation and updates are recorded in MLWH's
aliquot
table. We aggregate these records accordingly to inquire certain queries such as how much volume is left in a certain library. This information is made visible to the other teams and stakeholders through MLWH. For more context, please refer to the volume tracking documentation.Footnotes
The DNS for the link contains
-uat
suffix, which is a bit misleading. It suggests that the dedicated broker is being used in UAT. However, this is to be used in both the environments UAT and Training. We will update the DNS record later with a suffix like-dev
or-test
. ↩The text was updated successfully, but these errors were encountered: