Comments (9)
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!
from cluster-template.
If you run that grep command directly on the hosts what is the output?
from cluster-template.
The grep command produces no output:
$ grep -q "Raspberry Pi" /proc/cpuinfo
$ grep "Raspberry Pi" /proc/cpuinfo
$
from cluster-template.
Going to close this issue, please reopen if you're still stuck.
from cluster-template.
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.
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.
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.
Ok, after some confirmation I believe this is really fixed. d10800e
from cluster-template.
Closing issue, this should be fixed now and forever.
from cluster-template.
Related Issues (20)
- Support talos system extensions HOT 7
- Make the config file more structured
- Cluster user secrets not removed from template HOT 1
- Sops decrypt: can't find file /home/<user>/.config/sops/age/keys.txt HOT 2
- Drop support for k0s HOT 1
- task: Flux already installed, precondition not met during flux:bootstrap HOT 1
- readme has old variables
- Networking with cilium 1.15.0 does not work HOT 3
- Talos config assumes gateway is on .1 address HOT 5
- Ciliums BGP options should be moved outside of the talos config since k3s can also use it.
- Revert allowing flux to be disabled
- Add Pull Through Image Cache HOT 4
- Talos secrets file is ignored due to incorrect name HOT 2
- Install kube-vip with the official Helm chart for k3s HOT 1
- Talos install error: "failed to verify certificate: x509: certificate signed by unknown authority" HOT 12
- Deploy wg-easy after setting up cluster
- Talos install error - couldn't get current server API group list: - tls: internal error HOT 14
- Fix UDP Buffer Sizes for cloudflared tunnel HOT 1
- RFC: Consider dropping support for k3s HOT 12
- flux cannot connect to ssh 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 cluster-template.