You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker compose: switch to Valkey as message broker (#13331)
* docker compose: switch to valkey as message broker
* docker compose: switch to valkey as message broker
* docker compose: switch to valkey as message broker
* docker compose: switch to valkey as message broker
* docker compose: switch to valkey as message broker
* Update 2.52.md
* Update docs/content/en/open_source/upgrading/2.52.md
Co-authored-by: kiblik <5609770+kiblik@users.noreply.github.com>
* Update 2.52.md
* Update docs/content/en/open_source/upgrading/2.52.md
* Revise 2.52 upgrade notes for Valkey integration
Updated documentation for version 2.52 to reflect the transition from Redis to Valkey as the message broker, including UI fixes and deduplication improvements.
---------
Co-authored-by: kiblik <5609770+kiblik@users.noreply.github.com>
@@ -23,9 +23,34 @@ See [PR 13517](https://github.com/DefectDojo/django-DefectDojo/pull/13517) for m
23
23
A bug was fixed in the `UNIQUE_ID_OR_HASH_CODE` algorithm where it stopped processing candidate findings with equal `unique_id_from_tool` or `hash_code` value.
24
24
Strictly speaking this is not a breaking change, but we wanted to make you aware that you can see more (better) more deduplicatation for parsers using this algorithm.
25
25
26
-
## Merge of MobSF parsers
26
+
## Valkey in `docker compose`
27
27
28
-
Mobsfscan Scan" has been merged into the "MobSF Scan" parser. The "Mobsfscan Scan" scan_type has been retained to keep deduplication working for existing Tests, but users are encouraged to move to the "MobSF Scan" scan_type.
28
+
Since the license change at Redis the fork ValKey has become widely popular and is backed by industry giants such as AWS. AWS is advising to use ValKey over Redis and is using lower prices for ValKey compared to Redis.
29
+
30
+
Defect Dojo 2.52 now uses ValKey as a message broker. Teh existing redit volume can be used by Valkey, so this is just a drop in replacement.
31
+
32
+
If you want to know more or have a setup where you cannot just re-use the existing volume, please visit https://valkey.io/topics/migration/.
33
+
34
+
When you shutdown Defect Dojo to perform the upgrade, the celery tasks that are in the queue are stored to disk. After the upgrade, the celery workers will process these tasks as normal.
35
+
36
+
If you want to be 110% sure no tasks will be lost you could perform the upgrade in two steps:
37
+
38
+
1) Stop nginx, uwsgi, celerybeat to prevent new tasks from being created:
39
+
40
+
`docker compose down nginx, uwsgi, celerybeat`
41
+
42
+
2) Observe the Redis queue and/or the logs of the celeryworker(s) and wait until all tasks are finished:
`docker compose logs celeryworker` -- should stop outputting new task logs
46
+
47
+
3) Stop the remaining services:
48
+
49
+
`docker compose down`
50
+
51
+
4) Continue the upgrade as normal per the [upgrade guide](upgrading_guide)
52
+
`docker compose pull`
53
+
`docker compose up -d`
29
54
30
55
## Helm Chart Changes
31
56
@@ -62,3 +87,10 @@ The following Helm chart values have been modified in this release:
62
87
-**Extra annotations**: Now we can add common annotations to all resources.
63
88
64
89
There are other instructions for upgrading to 2.52.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.52.0) for the contents of the release.
90
+
91
+
## Merge of MobSF parsers
92
+
93
+
Mobsfscan Scan" has been merged into the "MobSF Scan" parser. The "Mobsfscan Scan" scan_type has been retained to keep deduplication working for existing Tests, but users are encouraged to move to the "MobSF Scan" scan_type.
94
+
95
+
## Release notes
96
+
Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.52.0) for the contents of the release.
0 commit comments