Closed ygao-armada closed 6 months ago
Someone suggests to use package name "cryptsetup-bin", it leads to similar error:
{"level":"info","ts":1708202070.948568,"caller":"syslog/receiver.go:113","msg":"host=10.20.22.211 facility=daemon severity=INFO app-name=1253e250a7d0 procid=3015 msg=\"\\x1b[1;31mE: \\x1b[0mUnable to locate package cryptsetup-bin\\x1b[0m\\n\"","service":"github.com/tinkerbell/boots","pkg":"syslog"}
{"level":"info","ts":1708202070.9490566,"caller":"syslog/receiver.go:113","msg":"host=10.20.22.211 facility=daemon severity=INFO app-name=9b084a634c10 procid=3015 msg=\"\\x1b[31mFATA\\x1b[0m[0000] Error running [/bin/sh [-c apt -y update && apt -y install openssl cryptsetup-bin]] [exit status 100] \\r\\n\"","service":"github.com/tinkerbell/boots","pkg":"syslog"}
Hi @ygao-armada. Thanks for checking in. This doesn't seem like a Tinkerbell issue. If you can provide more details to the contrary we'd be happy to re-open and look further.
I try to use cexec to install cryptsetup as follows:
However, I get this error in boots log (openssl is fine):
Expected Behaviour
I expect cryptsetup will be installed successfully
Current Behaviour
The tinkerbell workflow failed due to the error mentioned above
Possible Solution
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context
Your Environment
Operating System and version (e.g. Linux, Windows, MacOS): ubuntu 20.04
How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details: in EKS anywhere workflow
Link to your project or a code example to reproduce issue: