tekky
05/21/2024, 6:10 PMecordell
05/21/2024, 6:45 PMecordell
05/21/2024, 6:45 PMtekky
05/21/2024, 6:46 PMtekky
05/21/2024, 6:50 PMecordell
05/21/2024, 6:51 PMtekky
05/21/2024, 6:52 PMecordell
05/21/2024, 6:52 PMlogLevel: debug
in the config block of the SpiceDBCluster
object to turn on debug logstekky
05/21/2024, 6:52 PMtekky
05/21/2024, 7:07 PMtekky
05/21/2024, 7:08 PMrue {"level":"debug","requestID":"546bf1837d6b4a888e5d7c9724ac2381","now":"2024-05-21T19:01:00Z","time":"2024-05-21T19:01:00Z","message":"computing new revision"}
{"level":"debug","requestID":"546bf1837d6b4a888e5d7c9724ac2381","now":"2024-05-21T19:01:00Z","valid":"2024-05-21T19:01:04Z","validFor":"4.036462s","time":"2024-05-21T19:01:00Z","message":"setting valid through"}
2024-05-21T19:01:30.962079603Z {"level":"info","protocol":"grpc","grpc.component":"server","grpc.service":"authzed.api.v1.PermissionsService","grpc.method":"LookupResources","grpc.method_type":"server_stream","requestID":"546bf1837d6b4a888e5d7c9724ac2381","peer.address":"10.3.2.175:41890","grpc.start_time":"2024-05-21T19:01:00Z","grpc.code":"Canceled","grpc.error":"rpc error: code = Canceled desc = context canceled","grpc.time_ms":30001,"time":"2024-05-21T19:01:30Z","message":"finished call"}
tekky
05/21/2024, 7:10 PMtekky
05/21/2024, 7:11 PMJoey
05/21/2024, 7:33 PMJoey
05/21/2024, 7:34 PMpeer.address
correct for a running pod?tekky
05/21/2024, 7:39 PMecordell
05/21/2024, 7:40 PMtekky
05/21/2024, 7:40 PMtekky
05/21/2024, 7:42 PMtekky
05/21/2024, 7:42 PMecordell
05/21/2024, 7:43 PMecordell
05/21/2024, 7:44 PMtekky
05/21/2024, 7:47 PMtekky
05/21/2024, 7:47 PMtekky
05/21/2024, 7:50 PMtekky
05/21/2024, 7:51 PMtekky
05/21/2024, 7:53 PMvroldanbet
05/21/2024, 7:56 PMtekky
05/21/2024, 7:57 PMJoey
05/21/2024, 8:02 PMJoey
05/21/2024, 8:02 PMJoey
05/21/2024, 8:02 PMJoey
05/21/2024, 8:02 PMtekky
05/21/2024, 8:02 PMtekky
05/21/2024, 8:02 PMJoey
05/21/2024, 8:17 PMJoey
05/21/2024, 8:17 PMJoey
05/21/2024, 8:18 PMJoey
05/21/2024, 8:18 PMJoey
05/21/2024, 8:18 PMtekky
05/21/2024, 8:19 PMtekky
05/21/2024, 8:19 PMJoey
05/21/2024, 8:23 PMJoey
05/21/2024, 8:23 PMJoey
05/21/2024, 8:23 PMJoey
05/21/2024, 8:23 PMJoey
05/21/2024, 8:24 PMtekky
05/21/2024, 8:24 PMtekky
05/21/2024, 8:27 PMJoey
05/21/2024, 8:38 PMJoey
05/21/2024, 8:39 PMJoey
05/21/2024, 8:39 PMtekky
05/21/2024, 8:40 PMJoey
05/21/2024, 8:41 PMJoey
05/21/2024, 8:41 PMdispatch
in the namesJoey
05/21/2024, 8:41 PMtekky
05/21/2024, 8:43 PMtekky
05/21/2024, 8:44 PMSPICEDB_DISPATCH_UPSTREAM_ADDR: kubernetes:///<app>.default:dispatch
SPICEDB_DASHBOARD_TLS_CERT_PATH: /tls/tls.crt
SPICEDB_DASHBOARD_TLS_KEY_PATH: /tls/tls.key
SPICEDB_DATASTORE_ENGINE: postgres
SPICEDB_DISPATCH_CLUSTER_ENABLED: true
SPICEDB_DISPATCH_CLUSTER_TLS_CERT_PATH: /tls/tls.crt
SPICEDB_DISPATCH_CLUSTER_TLS_KEY_PATH: /tls/tls.key
Joey
05/21/2024, 8:46 PMecordell
05/21/2024, 8:47 PM- name: GRPC_GO_LOG_SEVERITY_LEVEL
value: info
- name: GRPC_GO_LOG_VERBOSITY_LEVEL
value: "2"
the first few dozen logs will show GRPC discovering peers - we should see the other spicedb nodes thereecordell
05/21/2024, 8:48 PMrollout restart
and they came back up healthy? normally if there's a tls / sidecar config issue and not a discovery issue, rollout restart
will fail to bring up new nodes.ecordell
05/21/2024, 8:48 PMtekky
05/21/2024, 8:48 PMecordell
05/21/2024, 8:49 PMecordell
05/21/2024, 8:49 PMecordell
05/21/2024, 8:49 PMtekky
05/21/2024, 8:52 PMecordell
05/21/2024, 8:52 PMecordell
05/21/2024, 8:53 PMgrpc
should work IIRCecordell
05/21/2024, 8:56 PMEndpoints
lists with more than one entry?ecordell
05/21/2024, 8:56 PMtekky
05/21/2024, 8:56 PMtekky
05/21/2024, 8:57 PMEndpoints
have one entrytekky
05/21/2024, 8:59 PM2024/05/21 20:52:33 INFO: [transport] [client-transport 0xc000dec6c0] loopyWriter exiting with error: transport closed by client
2024/05/21 20:52:33 INFO: [transport] [server-transport 0xc000838680] Closing: EOF
2024/05/21 20:52:33 INFO: [transport] [server-transport 0xc000838680] loopyWriter exiting with error: connection error: desc = "transport is closing"
2024/05/21 20:52:34 INFO: [core] [Channel #4 SubChannel #5] Subchannel Connectivity change to IDLE
2024/05/21 20:52:34 INFO: [transport] [client-transport 0xc000dec480] Closing: connection error: desc = "received goaway and there are no active streams"
2024/05/21 20:52:34 INFO: [core] [pick-first-lb 0xc0008bb4d0] Received SubConn state update: 0xc0008bb650, {ConnectivityState:IDLE ConnectionError:<nil>}
2024/05/21 20:52:34 INFO: [core] [Channel #4] Channel Connectivity change to IDLE
2024/05/21 20:52:34 INFO: [transport] [client-transport 0xc000dec480] loopyWriter exiting with error: transport closed by client
ecordell
05/21/2024, 9:10 PMecordell
05/21/2024, 9:10 PMecordell
05/21/2024, 9:11 PMecordell
05/21/2024, 9:11 PMecordell
05/21/2024, 9:11 PMecordell
05/21/2024, 9:11 PMecordell
05/21/2024, 9:11 PMservice
object's status and make sure it looks okaytekky
05/21/2024, 9:15 PMecordell
05/21/2024, 9:17 PMtekky
05/21/2024, 9:17 PMtekky
05/21/2024, 9:17 PMecordell
05/21/2024, 9:18 PMecordell
05/21/2024, 9:18 PMtekky
05/21/2024, 9:18 PMecordell
05/21/2024, 9:18 PMtekky
05/21/2024, 9:18 PMtekky
05/21/2024, 9:23 PM2024/05/21 21:21:09 INFO: [transport] [server-transport 0xc000b86680] Closing: read tcp 10.3.2.158:50051->10.3.2.196:50278: read: connection reset by peer
2024/05/21 21:21:09 INFO: [transport] [server-transport 0xc000b86680] Error closing underlying net.Conn during Close: tls: failed to send closeNotify alert (but connection was closed anyway): write tcp 10.3.2.158:50051->10.3.2.196:50278: write: broken pipe
2024/05/21 21:21:09 INFO: [core] [Server #14] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "ServerHandshake(\"10.3.2.196:50300\") failed: read tcp 10.3.2.158:50051->10.3.2.196:50300: read: connection reset by peer"
tekky
05/21/2024, 9:24 PMtekky
05/21/2024, 10:07 PMJoey
05/21/2024, 11:00 PMJoey
05/21/2024, 11:01 PMJoey
05/21/2024, 11:01 PMtekky
05/21/2024, 11:12 PMtekky
05/21/2024, 11:13 PMJoey
05/21/2024, 11:13 PMJoey
05/21/2024, 11:13 PMJoey
05/21/2024, 11:13 PMJoey
05/21/2024, 11:13 PMJoey
05/21/2024, 11:14 PMSPICEDB_DISPATCH_CLUSTER_ENABLED: true
Joey
05/21/2024, 11:14 PMfalse
and it'll only ever compute on each node independentlyJoey
05/21/2024, 11:14 PMtekky
05/21/2024, 11:40 PMJoey
05/21/2024, 11:41 PMtekky
05/21/2024, 11:41 PMJoey
05/21/2024, 11:41 PMJoey
05/21/2024, 11:41 PMtekky
05/21/2024, 11:43 PMtekky
05/21/2024, 11:43 PMtekky
05/21/2024, 11:45 PMJoey
05/21/2024, 11:45 PMJoey
05/21/2024, 11:45 PMJoey
05/21/2024, 11:45 PMtekky
05/21/2024, 11:45 PMJoey
05/21/2024, 11:45 PMJoey
05/21/2024, 11:45 PMrelation
that is not recursive?Joey
05/21/2024, 11:46 PMrelation viewer: user
Joey
05/21/2024, 11:46 PMresource:whatever viewer user:expectedtobethere
Joey
05/21/2024, 11:46 PMJoey
05/21/2024, 11:46 PMtekky
05/21/2024, 11:49 PMJoey
05/21/2024, 11:49 PMtekky
05/21/2024, 11:50 PMJoey
05/21/2024, 11:50 PMJoey
05/21/2024, 11:50 PMJoey
05/21/2024, 11:50 PMJoey
05/21/2024, 11:50 PMrelation
existstekky
05/21/2024, 11:50 PMJoey
05/21/2024, 11:51 PMReadSchema
works?Joey
05/21/2024, 11:51 PMtekky
05/21/2024, 11:51 PMJoey
05/21/2024, 11:52 PMJoey
05/21/2024, 11:53 PMtekky
05/21/2024, 11:57 PM2024/05/21 23:49:59 INFO: [transport] [server-transport 0xc000efdd40] Closing: EOF
2024/05/21 23:49:59 INFO: [transport] [server-transport 0xc000efdd40] loopyWriter exiting with error: transport closed by client
2024/05/21 23:49:59 INFO: [transport] [server-transport 0xc000efdba0] Closing: EOF
2024/05/21 23:49:59 INFO: [transport] [server-transport 0xc000efdba0] loopyWriter exiting with error: transport closed by client
2024/05/21 23:50:09 INFO: [transport] [server-transport 0xc00066c340] Closing: EOF
2024/05/21 23:50:09 INFO: [transport] [server-transport 0xc00066c340] loopyWriter exiting with error: transport closed by client
2024/05/21 23:50:09 INFO: [transport] [server-transport 0xc00066dba0] Closing: EOF
2024/05/21 23:50:09 INFO: [transport] [server-transport 0xc00066dba0] loopyWriter exiting with error: transport closed by client
{"level":"info","protocol":"grpc","grpc.component":"server","grpc.service":"authzed.api.v1.PermissionsService","grpc.method":"CheckPermission","grpc.method_type":"unary","requestID":"110b0df5fe5bbac5788893983302d6b2","peer.address":"127.0.0.1:37310","grpc.start_time":"2024-05-21T23:49:11Z","grpc.code":"DeadlineExceeded","grpc.error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded","grpc.time_ms":60008,"time":"2024-05-21T23:50:11Z","message":"finished call"}
2024/05/21 23:50:11 INFO: [transport] [server-transport 0xc000efc680] loopyWriter exiting with error: finished processing active streams while in draining mode
2024/05/21 23:50:11 INFO: [transport] [server-transport 0xc000efc680] Closing: read tcp 127.0.0.1:50051->127.0.0.1:37310: use of closed network connection
2024/05/21 23:50:11 INFO: [transport] [server-transport 0xc000efc680] Error closing underlying net.Conn during Close: use of closed network connection
2024/05/21 23:50:19 INFO: [transport] [server-transport 0xc000e716c0] Closing: EOF
2024/05/21 23:50:19 INFO: [transport] [server-transport 0xc000e716c0] loopyWriter exiting with error: transport closed by client
Joey
05/22/2024, 12:08 AMJoey
05/22/2024, 12:08 AMJoey
05/22/2024, 12:08 AMJoey
05/22/2024, 12:09 AMJoey
05/22/2024, 12:09 AMJoey
05/22/2024, 12:10 AMJoey
05/22/2024, 12:10 AMJoey
05/22/2024, 12:10 AMJoey
05/22/2024, 12:10 AMDispatchUpstreamAddr
to empty as welltekky
05/22/2024, 12:22 AMJoey
05/22/2024, 12:52 AMJoey
05/22/2024, 12:52 AMtekky
05/22/2024, 4:49 AMJoey
05/22/2024, 5:34 AM