Comments (3)
It sounds like your etcd datastore was corrupted. Did the k3s process crash, or did the OS experience a kernel panic and reboot? I've only ever seen anything like this when the node is unexpectedly restarted or powered off, and files are corrupted on disk. I will also note that raspberry pis are highly likely to experience filesystem corruption when using SD cards; we do not recommend using etcd with sd cards under any circumstances.
Removing the files from disk and restoring from a snapshot is the proper way to address datastore corruption. Since the errors are from etcd, and were triggered by a crash, I'm not sure we have anything to fix here in K3s.
from k3s.
It sounds like your etcd datastore was corrupted. Did the k3s process crash, or did the OS experience a kernel panic and reboot? I've only ever seen anything like this when the node is unexpectedly restarted or powered off, and files are corrupted on disk. I will also note that raspberry pis are highly likely to experience filesystem corruption when using SD cards; we do not recommend using etcd with sd cards under any circumstances.
Removing the files from disk and restoring from a snapshot is the proper way to address datastore corruption. Since the errors are from etcd, and were triggered by a crash, I'm not sure we have anything to fix here in K3s.
@brandond external usb/sata SSD, no corruption, system didn't reboot or panic, hence the issue.
from k3s.
Can you provide the complete logs from journald covering the time period before and after the crash? We don't have any way to handle etcd database file corruption in k3s, but if there is a preventable crash occurring we can take a look at that.
from k3s.
Related Issues (20)
- Duplicate mirror endpoint causes containerd to fail to load mirror config from hosts.toml HOT 2
- [Release-1.28] - Duplicate mirror endpoint causes containerd to fail to load mirror config from hosts.toml HOT 1
- [Release-1.27] - Duplicate mirror endpoint causes containerd to fail to load mirror config from hosts.toml
- [Release-1.26] - Duplicate mirror endpoint causes containerd to fail to load mirror config from hosts.toml HOT 1
- How to set default runtime (for example, nvidia) for k3s? HOT 1
- Some pods are falsely evicted from the stopped node HOT 1
- k3s etcd restore fails on host with IPv6 only HOT 2
- Integrate k3s and multus
- Failed to pull image: failed to pull and unpack image
- Cluster DNS not working HOT 2
- K3S with AWS VPC CNI breaks Pod communication HOT 2
- vCluster HA config Issue HOT 1
- k3s will listen on random ports
- Both Endpoints and EndpointSlices not working with Service abstraction for external IPs
- containerd does not fall back to default endpoint when using wildcard registry entry HOT 1
- [Release-1.28] - containerd does not fall back to default endpoint when using wildcard registry entry HOT 1
- [Release-1.27] - containerd does not fall back to default endpoint when using wildcard registry entry HOT 1
- [Release-1.26] - containerd does not fall back to default endpoint when using wildcard registry entry HOT 1
- k3s cadvisor lacks container metrics when i use crid-docker and prometheus operator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3s.