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.io/authzed/spicedb
Tag | latest
sha256:a25495d7f49c85ff71f13f0fb8f6bc91dc541754b772636a746f5672b60349fd
Steps to Reproduce
The issue only happens in case of using the caveats feature in the scheme.
zed import command gives no errors when directly importing schema to spicedb.
No schema error in the playground
works spicedb serve --datastore-bootstrap-files=./schema.yaml --grpc-preshared-key "foobar"
docker compose --env-file .env -f ./docker-compose.yaml up -d
Expected Result
Schema bootstrap with no errors.
Actual Result
ive)","SchemaPrefixesRequired":false,"SchemaWatchHeartbeat":1000,"ShutdownGracePeriod":0,"SilentlyDisableTelemetry":false,"StreamingAPITimeout":30000,"TelemetryCAOverridePath":"(empty)","TelemetryEndpoint":"https://telemetry.authzed.com/","TelemetryInterval":3600000,"V1SchemaAdditiveOnly":false,"WatchHeartbeat":1000,"time":"2024-07-30T11:23:09Z","message":"configuration"}
{"level":"info","time":"2024-07-30T11:23:09Z","message":"using postgres datastore engine"}
{"level":"info","interval":180000,"time":"2024-07-30T11:23:09Z","message":"datastore garbage collection worker started"}
�{"level":"info","files":["/bootstrap_file"],"time":"2024-07-30T11:23:09Z","message":"initializing datastore from bootstrap files"}
�{"level":"info","filePath":"/bootstrap_file","schemaDefinitionCount":6,"time":"2024-07-30T11:23:09Z","message":"adding schema definitions"}
�{"level":"warn","error":"could not lookup caveat is_tuesday for relation event_type: caveat with name is_tuesday not found","time":"2024-07-30T11:23:09Z","message":"unable to determine if pgx error is retryable"} {"level":"error","error":"failed to create datastore: failed to load bootstrap files: could not lookup caveat is_tuesday for relation event_type: caveat with name is_tuesday not found","time":"2024-07-30T11:23:09Z","message":"terminated with errors"}
{"level":"debug","message":"maxprocs: Leaving GOMAXPROCS=10: CPU quota undefined"}
The text was updated successfully, but these errors were encountered:
What platforms are affected?
linux, macos
What architectures are affected?
amd64, arm64
What SpiceDB version are you using?
docker.io/authzed/spicedb
Tag | latest
sha256:a25495d7f49c85ff71f13f0fb8f6bc91dc541754b772636a746f5672b60349fd
Steps to Reproduce
The issue only happens in case of using the caveats feature in the scheme.
zed import command gives no errors when directly importing schema to spicedb.
No schema error in the playground
works
spicedb serve --datastore-bootstrap-files=./schema.yaml --grpc-preshared-key "foobar"
Setup spicedb using docker-compoe:
docker-compose.yaml
env file (.env)
Schema (schema.yaml)
Run
docker compose --env-file .env -f ./docker-compose.yaml up -d
Expected Result
Schema bootstrap with no errors.
Actual Result
ive)","SchemaPrefixesRequired":false,"SchemaWatchHeartbeat":1000,"ShutdownGracePeriod":0,"SilentlyDisableTelemetry":false,"StreamingAPITimeout":30000,"TelemetryCAOverridePath":"(empty)","TelemetryEndpoint":"https://telemetry.authzed.com/","TelemetryInterval":3600000,"V1SchemaAdditiveOnly":false,"WatchHeartbeat":1000,"time":"2024-07-30T11:23:09Z","message":"configuration"}
{"level":"info","time":"2024-07-30T11:23:09Z","message":"using postgres datastore engine"}
{"level":"info","interval":180000,"time":"2024-07-30T11:23:09Z","message":"datastore garbage collection worker started"}
�{"level":"info","files":["/bootstrap_file"],"time":"2024-07-30T11:23:09Z","message":"initializing datastore from bootstrap files"}
�{"level":"info","filePath":"/bootstrap_file","schemaDefinitionCount":6,"time":"2024-07-30T11:23:09Z","message":"adding schema definitions"}
�{"level":"warn","error":"could not lookup caveat
is_tuesday
for relationevent_type
: caveat with nameis_tuesday
not found","time":"2024-07-30T11:23:09Z","message":"unable to determine if pgx error is retryable"}{"level":"error","error":"failed to create datastore: failed to load bootstrap files: could not lookup caveat
is_tuesday
for relationevent_type
: caveat with nameis_tuesday
not found","time":"2024-07-30T11:23:09Z","message":"terminated with errors"}{"level":"debug","message":"maxprocs: Leaving GOMAXPROCS=10: CPU quota undefined"}
The text was updated successfully, but these errors were encountered: