Coder Social home page Coder Social logo

Comments (1)

fmoral2 avatar fmoral2 commented on June 16, 2024

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

  1. add images on /var/lib/rancher/k3s/agent/images/{}
  2. start k3s
  3. validate no error related to already pulled images
  4. stop and restart k3s
  5. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.