Page MenuHomeDevCentral

Upgrade Sentry to 23.2.0
ClosedPublic

Authored by dereckson on Mar 13 2023, 18:22.
Tags
None
Referenced Files
F2743216: D2885.diff
Thu, Mar 28, 08:56
Unknown Object (File)
Wed, Mar 27, 04:18
Unknown Object (File)
Mon, Mar 25, 07:51
Unknown Object (File)
Mon, Mar 25, 07:50
Unknown Object (File)
Mon, Mar 25, 07:50
Unknown Object (File)
Mon, Mar 25, 07:50
Unknown Object (File)
Mon, Mar 25, 07:50
Unknown Object (File)
Mon, Mar 25, 07:50
Subscribers
None
Tokens
"Baby Tequila" token, awarded by dereckson.

Details

Summary

Volumes and environments are updated per getsentry/self-hosted repository.

Previously, services was defined separately for sentry web/cron/worker,
but the three was run form roles/paas-docker/containers/sentry.

Services are configured like for Snuba in D2881, each container uses
the same image, with a different launch command, especially as there
are now new ones.

Realm settings are refactored and contain service hosts information,
as we don't use links anymore. A realm will have a set of configuration
files.

The Sentry configuration is written in Python. This change provides
a configuration based on the getsentry/self-hosted one with:

  • services configured through the realm pillar
  • credentials directly fetched from Vault by Sentry itself

A Vault policy is provisioned for Sentry configuration.

Ref T1791

Test Plan

Deploy on docker-002

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson retitled this revision from Update Sentry to 23.2.0 to Upgrade Sentry to 23.2.0.Mar 13 2023, 18:25
docker-002
$ docker logs sentry_web
19:02:57 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.
19:03:01 [INFO] sentry.plugins.github: apps-not-configured
/usr/local/lib/python3.8/site-packages/memcache.py:1303: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if key is '':
/usr/local/lib/python3.8/site-packages/memcache.py:1304: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if key_extra_len is 0:
!! Configuration error: ConfigurationError("sentry.tsdb service failed to call validate()\nmodule 'sentry.tsdb.redis' has no attribute 'RedisSnubaTSDB'")

Kafka, Snuba, a bunch of config issues

Configuration files now follow Nasqueron conventions

dereckson edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Mar 14 2023, 18:55
This revision was landed with ongoing or failed builds.Mar 14 2023, 18:55
This revision was automatically updated to reflect the committed changes.