-
Notifications
You must be signed in to change notification settings - Fork 27
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
♻️ rabbitmq queue names ⚠️🚨 #5931
♻️ rabbitmq queue names ⚠️🚨 #5931
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5931 +/- ##
=========================================
- Coverage 84.5% 79.8% -4.8%
=========================================
Files 10 500 +490
Lines 214 25580 +25366
Branches 25 0 -25
=========================================
+ Hits 181 20418 +20237
- Misses 23 5162 +5139
+ Partials 10 0 -10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
thanks!
services/web/server/src/simcore_service_webserver/notifications/_rabbitmq_consumers_common.py
Show resolved
Hide resolved
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.
Thanks a lot, I see no warning signals or exclamation marks etc., so I presume it is fine if this change does not go into the next prod release (this week) but only in the next one, likely in 4-6 weeks. Is that correct?
Quality Gate passedIssues Measures |
@mrnicegyu11 after double checking with @sanderegg we do not expect any side effects when deploying. Maybe do you still want to flag it with a warning to just keep an eye on it? @matusdrobuliak66 |
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.
thanks
thanks |
@@ -528,7 +528,7 @@ services: | |||
webserver: | |||
image: ${DOCKER_REGISTRY:-itisfoundation}/webserver:${DOCKER_IMAGE_TAG:-latest} | |||
init: true | |||
hostname: "{{.Node.Hostname}}-{{.Task.Slot}}" | |||
hostname: "wb-{{.Node.Hostname}}-{{.Task.Slot}}" # the hostname is used in conjonction with other services and must be unique see https://github.com/ITISFoundation/osparc-simcore/pull/5931 |
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.
Good catch! Thx
NOTE: perhaps we can add a simple test to guarantee this along services that use the same images?
devops⚠️
Should have no impact when releasing.
TL:DR;
: the names of the exclusive queues where changed, not the other queues.What do these changes do?
NOTE: the side effect of this is that the web socket does not connect. Users see the red cloud and they cannot open projects.
get_rabbitmq_client_unique_name
which now actually returns a unique queue name that is stable for the service slot in which is running. This means that if a container restarts, even with multiple replaces, the same name will be given.Related issue/s
How to test
Dev-ops checklist