This message was deleted.
# rke2
a
This message was deleted.
👋 1
a
I'm running this version
v1.25.12+rke2r1
Got this by running
/usr/local/bin/rke2 server --debug
Any comments guys @here
Copy code
sudo /usr/local/bin/rke2 server --debug
WARN[0000] not running in CIS mode
INFO[0000] Applying Pod Security Admission Configuration
INFO[0000] Starting rke2 v1.25.12+rke2r1 (a0aa49e91d86a9a5eec8d94cdab13afabe11bfb6)
INFO[0000] Managed etcd cluster bootstrap already complete and initialized
INFO[0000] Starting temporary etcd to reconcile with datastore
W0831 16:59:17.581760  309437 clientconn.go:1331] [core] grpc: addrConn.createTransport failed to connect to {127.0.0.1:2399 127.0.0.1 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while d                       ialing dial tcp 127.0.0.1:2399: connect: connection refused". Reconnecting...
{"level":"info","ts":"2023-08-31T16:59:17.855+0200","caller":"embed/etcd.go:131","msg":"configuring peer listeners","listen-peer-urls":["<http://127.0.0.1:2400>"]}
{"level":"info","ts":"2023-08-31T16:59:17.855+0200","caller":"embed/etcd.go:139","msg":"configuring client listeners","listen-client-urls":["<http://127.0.0.1:2399>"]}
{"level":"info","ts":"2023-08-31T16:59:17.855+0200","caller":"embed/etcd.go:308","msg":"starting an etcd server","etcd-version":"3.5.4","git-sha":"Not provided (use ./build instead of go build)","go-version                       ":"go1.20.6 X:boringcrypto","go-os":"linux","go-arch":"amd64","max-cpu-set":256,"max-cpu-available":256,"member-initialized":true,"name":"a612-a-001-759ef976","data-dir":"/var/lib/rancher/rke2/server/db/etc                       d-tmp","wal-dir":"","wal-dir-dedicated":"","member-dir":"/var/lib/rancher/rke2/server/db/etcd-tmp/member","force-new-cluster":true,"heartbeat-interval":"500ms","election-timeout":"5s","initial-election-tick                       -advance":true,"snapshot-count":10000,"snapshot-catchup-entries":5000,"initial-advertise-peer-urls":["<http://127.0.0.1:2400>"],"listen-peer-urls":["<http://127.0.0.1:2400>"],"advertise-client-urls":["<http://12>                       7.0.0.1:2399"],"listen-client-urls":["<http://127.0.0.1:2399>"],"listen-metrics-urls":[],"cors":["*"],"host-whitelist":["*"],"initial-cluster":"","initial-cluster-state":"new","initial-cluster-token":"","quot                       a-size-bytes":2147483648,"pre-vote":true,"initial-corrupt-check":true,"corrupt-check-time-interval":"0s","auto-compaction-mode":"","auto-compaction-retention":"0s","auto-compaction-interval":"0s","discovery                       -url":"","discovery-proxy":"","downgrade-check-interval":"5s"}
{"level":"info","ts":"2023-08-31T16:59:17.856+0200","caller":"etcdserver/backend.go:81","msg":"opened backend db","path":"/var/lib/rancher/rke2/server/db/etcd-tmp/member/snap/db","took":"1.039326ms"}
{"level":"info","ts":"2023-08-31T16:59:18.698+0200","caller":"etcdserver/server.go:508","msg":"recovered v2 store from snapshot","snapshot-index":1130617396,"snapshot-size":"140 kB"}
{"level":"warn","ts":"2023-08-31T16:59:18.698+0200","caller":"snap/db.go:88","msg":"failed to find [SNAPSHOT-INDEX].snap.db","snapshot-index":1130617396,"snapshot-file-path":"/var/lib/rancher/rke2/server/db                       /etcd-tmp/member/snap/000000004363da34.snap.db","error":"snap: snapshot file doesn't exist"}
{"level":"panic","ts":"2023-08-31T16:59:18.698+0200","caller":"etcdserver/server.go:515","msg":"failed to recover v3 backend from snapshot","error":"failed to find database snapshot file (snap: snapshot fil                       e doesn't exist)","stacktrace":"<http://go.etcd.io/etcd/server/v3/etcdserver.NewServer|go.etcd.io/etcd/server/v3/etcdserver.NewServer>\n\t/go/pkg/mod/github.com/k3s-io/etcd/server/v3@v3.5.4-k3s1/etcdserver/server.go:515\ngo.etcd.io/etcd/server/v3/embed.StartEtcd                       \n\t/go/pkg/mod/github.com/k3s-io/etcd/server/v3@v3.5.4-k3s1/embed/etcd.go:245\<http://ngithub.com/k3s-io/k3s/pkg/daemons/executor.(*Embedded).ETCD|ngithub.com/k3s-io/k3s/pkg/daemons/executor.(*Embedded).ETCD>\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1.25.12-0.20230707232816-e8a                       4961732e6/pkg/daemons/executor/etcd.go:30\<http://ngithub.com/k3s-io/k3s/pkg/etcd.(*ETCD).StartEmbeddedTemporary|ngithub.com/k3s-io/k3s/pkg/etcd.(*ETCD).StartEmbeddedTemporary>\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1.25.12-0.20230707232816-e8a4961732e6/pkg/etcd/etcd.go:899\ngit                       <http://hub.com/k3s-io/k3s/pkg/cluster.(*Cluster).reconcileEtcd|hub.com/k3s-io/k3s/pkg/cluster.(*Cluster).reconcileEtcd>\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1.25.12-0.20230707232816-e8a4961732e6/pkg/cluster/bootstrap.go:509\ngithub.com/k3s-io/k3s/pkg/cluster.(*Cluster)                       .Bootstrap\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1.25.12-0.20230707232816-e8a4961732e6/pkg/cluster/bootstrap.go:63\<http://ngithub.com/k3s-io/k3s/pkg/daemons/control.prepare|ngithub.com/k3s-io/k3s/pkg/daemons/control.prepare>\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1.                       25.12-0.20230707232816-e8a4961732e6/pkg/daemons/control/server.go:267\<http://ngithub.com/k3s-io/k3s/pkg/daemons/control.Server|ngithub.com/k3s-io/k3s/pkg/daemons/control.Server>\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1.25.12-0.20230707232816-e8a4961732e6/pkg/daemon                       s/control/server.go:34\<http://ngithub.com/k3s-io/k3s/pkg/server.StartServer|ngithub.com/k3s-io/k3s/pkg/server.StartServer>\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1.25.12-0.20230707232816-e8a4961732e6/pkg/server/server.go:62\ngithub.com/k3s-io/k3s/pkg/cli/server                       .run\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1.25.12-0.20230707232816-e8a4961732e6/pkg/cli/server/server.go:494\<http://ngithub.com/k3s-io/k3s/pkg/cli/server.RunWithControllers|ngithub.com/k3s-io/k3s/pkg/cli/server.RunWithControllers>\n\t/go/pkg/mod/github.com/k3s-io/k3s@v1                       .25.12-0.20230707232816-e8a4961732e6/pkg/cli/server/server.go:45\<http://ngithub.com/rancher/rke2/pkg/rke2.Server|ngithub.com/rancher/rke2/pkg/rke2.Server>\n\t/source/pkg/rke2/rke2.go:121\ngithub.com/rancher/rke2/pkg/cli/cmds.ServerRun\n\t/source/pkg/cli/c                       mds/server.go:165\<http://ngithub.com/urfave/cli.HandleAction|ngithub.com/urfave/cli.HandleAction>\n\t/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:524\ngithub.com/urfave/cli.Command.Run\n\t/go/pkg/mod/github.com/urfave/cli@v1.22.9/command.go:173\n                       <http://github.com/urfave/cli.(*App).Run|github.com/urfave/cli.(*App).Run>\n\t/go/pkg/mod/github.com/urfave/cli@v1.22.9/app.go:277\nmain.main\n\t/source/main.go:23\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}
panic: failed to recover v3 backend from snapshot
@here
@ancient-bear-48931
227 Views