Me and my team are trying to deploy a new SpiceDB ...
# spicedb
a
Me and my team are trying to deploy a new SpiceDB instance on
v1.21.0
. using postgres (the pg db is empty atm, also). Our terraform configuration sets the environment variables for OTEL by default. We currently 1. deploy SpiceDB 2. run
spicedb migrate head
in a separate process SpiceDB is not currently able to start on this new instance because it fails getting db metrics (since we didn't run
spicedb migrate head
yet.) It logs/errors
ERROR: relation "metadata" does not exist
and exits with
unable to initialize telemetry collector: unable to query DB stats: unable to query unique ID: ERROR: relation "metadata" does not exist
. I am not sure this happened before, but I would guess not - I've been the one deploying most of our instances and I do not remember seeing this. I assume this commit has something to do with it https://github.com/authzed/spicedb/pull/1304/commits/01c9413d234c55314be49581775e225cdb0735a6 I am not sure this is the intended behavior and will manually remove the OTEL environment variables for that first deploy. on our new instance Just wanted to let you guys know. Can create an issue if y'all think it is useful.