Giter VIP home page Giter VIP logo

Comments (9)

onedr0p avatar onedr0p commented on May 10, 2024 1

Very interesting, that should gracefully error... Maybe comment out this code so it works, or try to debug it. I haven't had any other reports of this issue happening so I'm curious what's causing it. If you find it out please feel free to open a PR with a fix. Thanks!

https://github.com/k8s-at-home/template-cluster-k3s/blob/main/provision/ansible/roles/ubuntu/tasks/packages.yml#L40-L57

from cluster-template.

onedr0p avatar onedr0p commented on May 10, 2024

If you run that grep command directly on the hosts what is the output?

from cluster-template.

mattsoldo avatar mattsoldo commented on May 10, 2024

The grep command produces no output:

$ grep -q  "Raspberry Pi" /proc/cpuinfo
$ grep "Raspberry Pi" /proc/cpuinfo
$ 

from cluster-template.

onedr0p avatar onedr0p commented on May 10, 2024

Going to close this issue, please reopen if you're still stuck.

from cluster-template.

ben-hampson avatar ben-hampson commented on May 10, 2024

I had the exact same issue on an Ubuntu 22.04 LTS VM.

TASK [ubuntu : Check if Raspberry Pi] ************************************************************************************************
fatal: [k8s-0]: FAILED! => changed=true 
  cmd:
  - grep
  - -q
  - Raspberry Pi
  - /proc/cpuinfo
  delta: '0:00:00.003110'
  end: '2022-04-30 20:59:34.763862'
  msg: non-zero return code
  rc: 1
  start: '2022-04-30 20:59:34.760752'
  stderr: ''
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>
...ignoring

TASK [ubuntu : Install raspberry specific packages for Ubuntu 21 or greater] *********************************************************
FAILED - RETRYING: [k8s-0]: Install raspberry specific packages for Ubuntu 21 or greater (5 retries left).
FAILED - RETRYING: [k8s-0]: Install raspberry specific packages for Ubuntu 21 or greater (4 retries left).
FAILED - RETRYING: [k8s-0]: Install raspberry specific packages for Ubuntu 21 or greater (3 retries left).
FAILED - RETRYING: [k8s-0]: Install raspberry specific packages for Ubuntu 21 or greater (2 retries left).
FAILED - RETRYING: [k8s-0]: Install raspberry specific packages for Ubuntu 21 or greater (1 retries left).
fatal: [k8s-0]: FAILED! => changed=false 
  attempts: 5
  msg: No package matching 'linux-modules-extra-raspi' is available

ssh-ing in and running the grep returns nothing.

from cluster-template.

onedr0p avatar onedr0p commented on May 10, 2024

Seems like something might have changed with 22.04, as No package matching 'linux-modules-extra-raspi' is available

Maybe it was changed to this package?

https://launchpad.net/ubuntu/jammy/+source/linux-raspi

from cluster-template.

onedr0p avatar onedr0p commented on May 10, 2024

I have fixed this issue, meaning the code doesn't exist anymore for this check or installing linux-modules-extra-raspi. If anyone has an idea if this is still needed on 22.04, please open a PR 🙏🏼

from cluster-template.

onedr0p avatar onedr0p commented on May 10, 2024

Ok, after some confirmation I believe this is really fixed. d10800e

from cluster-template.

onedr0p avatar onedr0p commented on May 10, 2024

Closing issue, this should be fixed now and forever.

from cluster-template.

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.