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
After moving to using Spin factors in #189, it seems we are no longer creating a state dir. This is probably due to setting remaining factors config (including state dir) to default. The result is that embedded SQLite is no longer working. For example, a simple todo app on shim v0.16 has the.spin state dir:
$ sudo ls -a /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/c2045da87dc7194596d90481430cc57c509952c5375777b5be162bc638c3cdd0/rootfs. .. assets .cache dev etc proc runtime-config.toml .spin spin.json spin.lock sys var
$ sudo ls -a /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/c2045da87dc7194596d90481430cc57c509952c5375777b5be162bc638c3cdd0/rootfs/.spin. .. sqlite_db.db
However, canary no longer has .spin in it's rootfs:
sudo ls -a /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/8fcf674a69594014ada4e1bb88ac635bc87388673ac4209480f959390430421e/rootfs
. .. assets .cache dev etc proc runtime-config.toml spin.json sys var
The text was updated successfully, but these errors were encountered:
After moving to using Spin factors in #189, it seems we are no longer creating a state dir. This is probably due to setting remaining factors config (including state dir) to default. The result is that embedded SQLite is no longer working. For example, a simple todo app on shim v0.16 has the
.spin
state dir:However, canary no longer has
.spin
in it's rootfs:sudo ls -a /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/8fcf674a69594014ada4e1bb88ac635bc87388673ac4209480f959390430421e/rootfs . .. assets .cache dev etc proc runtime-config.toml spin.json sys var
The text was updated successfully, but these errors were encountered: