Page MenuHomeDevCentral

Upgrade Sentry to 23.2.0
ClosedPublic

Authored by dereckson on Mar 13 2023, 18:22.
Tags
None
Referenced Files
F3754468: D2885.id7361.diff
Mon, Nov 18, 07:40
F3754463: D2885.id7355.diff
Mon, Nov 18, 07:35
F3754461: D2885.id7358.diff
Mon, Nov 18, 07:35
F3752530: D2885.id7362.diff
Sun, Nov 17, 19:26
Unknown Object (File)
Sat, Nov 16, 13:48
Unknown Object (File)
Fri, Nov 15, 21:47
Unknown Object (File)
Thu, Nov 14, 21:48
Unknown Object (File)
Wed, Nov 13, 07:53
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 Errors
Unit
No Test Coverage
Branch
sentry
Build Status
Buildable 4559
Build 4826: arc lint + arc unit

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.