Comments (1)
Validated on Version:
-$ k3s version v1.28.8+k3s-feb211d3 (feb211d3)
Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
SUSE Linux Enterprise Server 15 SP4
Cluster Configuration:
- 1 server
Steps to validate the fix
- add images on /var/lib/rancher/k3s/agent/images/{}
- start k3s
- validate no error related to already pulled images
- stop and restart k3s
- Validate again no errors
Reproduction Issue:
- $ sudo journalctl -u k3s --since "60 minutes ago" | grep -i "Error encountered while importing"
Apr 15 18:57:17 ip-172-31-7-142 k3s[48196]: time="2024-04-15T18:57:17Z" level=error msg="Error encountered while importing /var/lib/rancher/k3s/agent/images/pre-images.txt: failed to pull images from /var/lib/rancher/k3s/agent/images/pre-images.txt: image \"docker.io/rancher/klipper-helm:v0.8.3-build20240228\": not found, image \"docker.io/rancher/klipper-lb:v0.4.7\": not found, image \"docker.io/rancher/local-path-provisioner:v0.0.26\": not found, image \"docker.io/rancher/mirrored-coredns-coredns:1.10.1\": not found, image \"docker.io/rancher/mirrored-library-busybox:1.36.1\": not found, image \"docker.io/rancher/mirrored-library-traefik:2.10.5\": not found, image \"docker.io/rancher/mirrored-metrics-server:v0.7.0\": not found, image \"docker.io/rancher/mirrored-pause:3.6\": not found"
Validation Results:
images used AT images used at sudo vim /var/lib/rancher/k3s/agent/images/pre-images.txt
docker.io/rancher/klipper-helm:v0.8.3-build20240228
docker.io/rancher/klipper-lb:v0.4.7
docker.io/rancher/local-path-provisioner:v0.0.26
docker.io/rancher/mirrored-coredns-coredns:1.10.1
docker.io/rancher/mirrored-library-busybox:1.36.1
docker.io/rancher/mirrored-library-traefik:2.10.5
docker.io/rancher/mirrored-metrics-server:v0.7.0
docker.io/rancher/mirrored-pause:3.6
$ sudo journalctl -u k3s --since "60 minutes ago" | grep -i "Pulling images from"
Apr 15 18:54:33 ip-172-31-7-142 k3s[45566]: time="2024-04-15T18:54:33Z" level=info msg="Pulling images from /var/lib/rancher/k3s/agent/images/pre-images.txt"
sudo journalctl -u k3s --since "60 minutes ago" | grep -i "Error encountered while importing"
<empty>
$ sudo k3s crictl images
IMAGE TAG IMAGE ID SIZE
docker.io/rancher/klipper-helm v0.8.3-build20240228 0929b4140ada6 91.2MB
docker.io/rancher/klipper-lb v0.4.7 edc812b8e25d0 4.78MB
docker.io/rancher/local-path-provisioner v0.0.26 c54dcef6214cb 17.2MB
docker.io/rancher/mirrored-coredns-coredns 1.10.1 ead0a4a53df89 16.2MB
docker.io/rancher/mirrored-library-traefik 2.10.7 ee69e8120b64a 43.2MB
docker.io/rancher/mirrored-metrics-server v0.7.0 b9a5a1927366a 19.4MB
docker.io/rancher/mirrored-pause 3.6 6270bb605e12e 301kB
from k3s.
Related Issues (20)
- [Release 1.27] Update Kube-router to v2.1.0 to fix ICMPv2 Neighbour Solicitation packets drops HOT 1
- [Release-1.28] - Local path provisioner disallowed from reading Pods logs HOT 1
- [Release-1.27] - Local path provisioner disallowed from reading Pods logs HOT 4
- unable to initialize network policy controller: IPv6 was enabled but no IPv6 address was found on node HOT 1
- k3s on OpenWrt can't find CPU cgroup - but it is enabled. HOT 4
- LoadBalancers crashing after updating from 1.27.3 to 1.29.3 HOT 4
- local path provisioner helper script does not support `-a` flag
- Expose K3s metrics via supervisor port
- Option service-node-port-range gets ignored HOT 2
- A potential risk in k3s that could lead to takeover of the cluster HOT 2
- x509: certificate has expired or is not yet valid HOT 2
- Add support for SLE Micro 6.0
- Reducing K3s Org Equinix usage HOT 6
- flannel-v6.1 MAC address changes every boot HOT 9
- k3s node becomes unresponsive with error InvalidDiskCapacity HOT 1
- Set cri-dockerd `streaming-bind-addr` to fixed address
- ErrImagePull when using `latest` docker image tag & embedded registry in air-gapped cluster HOT 2
- K3S agent starting on Google Coral crashes the host kernel due to nf_conntrack_netlink kernel module HOT 8
- Flannel crashoff on k3s <<<rasperry pi 4 arm64 debian bookworm HOT 1
- Support containerd config_path for stargz snapshotter 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.