https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
g

great-dusk-41838

09/28/2021, 9:08 AM
Copy code
time=2021-09-28T09:06:48Z level=info msg=started handling request http_request=map[headers:map[accept-encoding:gzip user-agent:kube-probe/1.17+] host:10.0.1.188:4434 method:GET path:/health/alive query:<nil> remote:10.0.1.166:59986 scheme:http]
time=2021-09-28T09:06:48Z level=info msg=completed handling request http_request=map[headers:map[accept-encoding:gzip user-agent:kube-probe/1.17+] host:10.0.1.188:4434 method:GET path:/health/alive query:<nil> remote:10.0.1.166:59986 scheme:http] http_response=map[status:200 text_status:OK took:354.145µs]
time=2021-09-28T09:06:50Z level=info msg=started handling request http_request=map[headers:map[accept-encoding:gzip user-agent:kube-probe/1.17+] host:10.0.1.188:4434 method:GET path:/health/ready query:<nil> remote:10.0.1.166:59990 scheme:http]
time=2021-09-28T09:06:50Z level=info msg=completed handling request http_request=map[headers:map[accept-encoding:gzip user-agent:kube-probe/1.17+] host:10.0.1.188:4434 method:GET path:/health/ready query:<nil> remote:10.0.1.166:59990 scheme:http] http_response=map[status:503 text_status:Service Unavailable took:347.956662ms]
p

proud-plumber-24205

09/28/2021, 9:16 AM
Hi @great-dusk-41838 Maybe @worried-kitchen-94392 has some insight on this
g

great-dusk-41838

09/28/2021, 9:17 AM
I remember I saw something like db migration is not yet finished
and getting:
Copy code
time=2021-09-28T09:06:13Z level=debug msg=Ignoring migration file 20200830130642000008_add_verification_methods.sqlite3.up.sql because dialect is not supported: unsupported dialect sqlite3 audience=application service_name=Ory Kratos service_version=v0.6.3-alpha.1
lots of lines are like this
w

worried-kitchen-94392

09/28/2021, 9:35 AM
Hi there, the
because dialect is not supported: unsupported dialect sqlite3
is a common error, related to the image used. We have 2 version, https://github.com/ory/kratos/releases/tag/v0.7.6-alpha.1 sqlite and not. IF you want to use sqlite, please change the image to the other one 🙂
g

great-dusk-41838

09/28/2021, 9:37 AM
Hmm... Old helm chart versions use sqllite image
Copy code
NAME                                    CHART VERSION   APP VERSION             DESCRIPTION                                       
kratos/kratos                           0.19.4          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.19.3          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.19.2          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.19.1          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.19.0          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.18.0          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.17.0          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.16.0          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.15.1          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.15.0          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.14.1          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.14.0          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.13.0          0.6.3-alpha.1           A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.12.0          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.11.1          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.11.0          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.10.0          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.9.0           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.8.0           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.7.0           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.6.1           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.6.0           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.5.7           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.5.5           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.5.4           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.5.3           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.5.2           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.5.1           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.5.0           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.4.15          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.4.14          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.4.13          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.4.12          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.4.11          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.4.10          0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.4.8           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes            
kratos/kratos                           0.4.7           0.5.2-alpha.1-sqlite    A ORY Kratos Helm chart for Kubernetes
but new ones without sqllite
maybe i should ovverride image tag on helm chart.
w

worried-kitchen-94392

09/28/2021, 9:39 AM
yeah, that is because sqlite is used for the in-memory option, which was default for helm for some time (as a demo setup)
g

great-dusk-41838

09/28/2021, 9:39 AM
that maybe the the case
as health check was failing for that.
or i can simply override healthcheck with tcp only instead of http-get
w

worried-kitchen-94392

09/28/2021, 9:40 AM
currently, we ship out the preferred version, which is used in real applications, as it makes sense to override the image for testing, than for real application 😉
yeah, please try to change the image tag
g

great-dusk-41838

09/28/2021, 9:41 AM
but in memory means if pod restarts all goes away right
i mean all settings
or all users.
to tcp only
w

worried-kitchen-94392

09/28/2021, 10:03 AM
i don’t think so. Can you explain your setup a bit?
are you using autoMigrate?
7 Views