https://rancher.com/ logo
Join the conversationJoin Slack
Channels
academy
amazon
arm
azure
cabpr
chinese
ci-cd
danish
deutsch
developer
elemental
epinio
espanol
events
extensions
fleet
français
gcp
general
harvester
harvester-dev
hobbyfarm
hypper
japanese
k3d
k3os
k3s
k3s-contributor
kim
kubernetes
kubewarden
lima
logging
longhorn-dev
longhorn-storage
masterclass
mesos
mexico
nederlands
neuvector-security
office-hours
one-point-x
onlinemeetup
onlinetraining
opni
os
ozt
phillydotnet
portugues
rancher-desktop
rancher-extensions
rancher-setup
rancher-wrangler
random
rfed_ara
rio
rke
rke2
russian
s3gw
service-mesh
storage
submariner
supermicro-sixsq
swarm
terraform-controller
terraform-provider-rancher2
terraform-provider-rke
theranchcast
training-0110
training-0124
training-0131
training-0207
training-0214
training-1220
ukranian
v16-v21-migration
vsphere
windows
Powered by Linen
elemental
  • r

    ripe-mechanic-63260

    10/18/2022, 3:18 PM
    Nah if it's the incorrect arch it should not even start
  • w

    witty-table-40840

    10/18/2022, 3:23 PM
    I suspect the rpi reports the arch as "aarch64" and in the code we only look for "arm64" when setting repository architecture.. I will have a closer look later tonight!
  • r

    ripe-mechanic-63260

    10/18/2022, 3:24 PM
    Sounds plausible, the error is coming from https://github.com/rancher/elemental-cli/blob/main/pkg/utils/common.go#L516
  • r

    ripe-mechanic-63260

    10/18/2022, 3:29 PM
    Weird, if the log is ok that is failing under NewRunConfig which calls NewConfig
  • r

    ripe-mechanic-63260

    10/18/2022, 3:29 PM
    Which uses the runtime.GOARCH to know what the arch is
  • r

    ripe-mechanic-63260

    10/18/2022, 3:34 PM
    That should be arm64 I think....
  • r

    ripe-mechanic-63260

    10/18/2022, 3:36 PM
    Or is it still armv7?
  • r

    ripe-mechanic-63260

    10/18/2022, 3:41 PM
    No no, pretty sure it's arm64
  • h

    happy-island-57258

    10/18/2022, 3:45 PM
    runtime.GOARCH
    (doing a quick search) is set at compile time, so if it’s a 32-bit ELF… I doubt it’s going to say
    arm64
    .
  • r

    ripe-mechanic-63260

    10/18/2022, 3:46 PM
    Oh I think I see what's wrong
  • r

    ripe-mechanic-63260

    10/18/2022, 3:46 PM
    Kairos should have builds for both RPI<4 and rpi4
  • r

    ripe-mechanic-63260

    10/18/2022, 3:47 PM
    Otherwise rpi1,2,3 are 32 bits and rpi4 is 64
  • r

    ripe-mechanic-63260

    10/18/2022, 3:47 PM
    So running an armv7 under rpi4 will fail to find the correct aarch
  • r

    ripe-mechanic-63260

    10/18/2022, 3:48 PM
    As it will report armv7 but we only support aarch64
  • h

    happy-island-57258

    10/18/2022, 3:51 PM
    RPi3 should be 64-bit as well, but I suspect the proximal issue is that kairos recompiled
    elemental-cli
    on 32-bit arch, which sets
    runtime.GOARCH
    !=
    arm64
    , which causes
    GolangArchToArch
    to return “invalid arch”.
    r
    • 2
    • 2
  • r

    ripe-mechanic-63260

    10/18/2022, 3:52 PM
    Probably should open a ticket under kairos to have separated builds for rpi64 and rpi32 bits or under elemental-cli so we support armv7 as an arch
  • r

    ripe-mechanic-63260

    10/18/2022, 3:54 PM
    Although in not sure we are able to support armv7 properly...we could at least add the arch in there so it doesn't fail like that
  • r

    ripe-mechanic-63260

    10/18/2022, 4:08 PM
    Ugh can't believe we don't have a proper message that spits out the arch we could not identify...I'll fix that
    🙏 1
  • c

    careful-piano-35019

    10/27/2022, 5:13 PM
    https://www.suse.com/c/rancher_blog/suse-edge-2-0-a-cloud-native-solution-to-manage-edge/
    👍 3
  • m

    most-crowd-3167

    11/09/2022, 5:37 PM
    I see that Rancher OSv2 bundled Rancher Manger in some configurations: https://rancher.github.io/os2/#use-cases Any plans to pre-install Rancher on Elemental or must I do that myself?
    c
    h
    • 3
    • 13
  • w

    witty-jelly-95845

    11/29/2022, 12:47 PM
    FYI there's a free Community Master Class: Manage Edge Infrastructure Using Elemental tomorrow at 4pm GMT/UTC https://community.suse.com/posts/28833904?utm_source=manual
    c
    • 2
    • 1
  • n

    nice-monkey-30580

    11/29/2022, 1:01 PM
    will there also be a recording available to watch later?
    w
    c
    • 3
    • 2
  • c

    careful-piano-35019

    12/01/2022, 11:56 PM
    Elemental docs have moved to their 'final' location => https://elemental.docs.rancher.com/
    🎉 3
    s
    • 2
    • 2
  • s

    shy-hamburger-95730

    12/02/2022, 4:25 PM
    does the 1.0.0 release signal "stable"?
    b
    c
    • 3
    • 2
  • s

    silly-airline-38945

    12/05/2022, 9:32 AM
    Hi, Im I correct to assume that the when using emulate-tpm, the tpmhash is bound to the built iso? No tpm support in my current vcenter so testing emulation. Booting multiple vms from same iso has the same hash, hence only one entry in mchineinventory.
    n
    r
    • 3
    • 9
  • s

    shy-hamburger-95730

    12/05/2022, 12:58 PM
    Is there are a way to utilize ranchers cluster feature to spin up/scale the actual vms for elemental?
    r
    • 2
    • 5
  • s

    shy-hamburger-95730

    12/05/2022, 4:57 PM
    How would one install rancher itself on elemental? I saw @ripe-mechanic-63260s "watson" PoC, but I fail to see how to register multiple nodes to it? I could create a elemental cluster via rancher, then install rancher on it, I suppose. But "rancher in rancher" didnt work last time I tried it, iirc.
    r
    • 2
    • 3
  • h

    hundreds-hospital-60917

    12/23/2022, 4:11 PM
    Howdy ! Just in time for the x-mas break, we've added instructions how to run Elemental on Raspberry Pi ! Just head over to our development documentation and follow the instructions. If you have other ARM boards you want to run Elemental on, we'd love to hear from you.
    🍓 3
    🙌 5
    🎉 3
  • r

    ripe-mechanic-63260

    12/30/2022, 8:39 AM
    Hey Ethan, for that you could build your own iso. The default user/pass for the iso is located on https://github.com/rancher/elemental/blob/main/framework/files/system/oem/04_accounting.yaml so you could modify that and then build your iso with the
    make build && make iso
    targets
    s
    • 2
    • 4
  • s

    strong-shoe-72392

    01/05/2023, 7:14 PM
    Hey all! Just kicking the tires on the new Elemental on Raspberry Pi instructions. One quick piece of feedback, when I was using a newer LG 4k monitor, the screen would go black toward the end of the Elemental boot process and would not come back. I switched to an older (not 4k) Dell monitor and the screen comes back at that part of the boot process. I'm assuming a driver or resolution issue but just wanted to throw it out there for those working on the new releases of the TEAL Elemental for Pi. Thanks!
    👍 1
    c
    h
    • 3
    • 13
Powered by Linen
Title
s

strong-shoe-72392

01/05/2023, 7:14 PM
Hey all! Just kicking the tires on the new Elemental on Raspberry Pi instructions. One quick piece of feedback, when I was using a newer LG 4k monitor, the screen would go black toward the end of the Elemental boot process and would not come back. I switched to an older (not 4k) Dell monitor and the screen comes back at that part of the boot process. I'm assuming a driver or resolution issue but just wanted to throw it out there for those working on the new releases of the TEAL Elemental for Pi. Thanks!
👍 1
c

careful-piano-35019

01/06/2023, 7:55 AM
thanks for the feedback. To be transparent, I don't think we're going to pursue hard to have video / hdmi support. Our purpose is rather to achieve headless installs, deployments and management
s

strong-shoe-72392

01/06/2023, 1:30 PM
Sure. That's understandable. However, until it's far enough along in the boot process and you can SSH into the Pi, it is useful in troubleshooting startup issues. I know the first time I tried burning the ISO to USB, there was an issue and the SLE Micro didn't get far enough along to SSH.
c

careful-piano-35019

01/06/2023, 1:31 PM
you can use the console access, provided you have the suitable cable
s

strong-shoe-72392

01/06/2023, 1:32 PM
Oh ok. I'll have to look into that. Thanks
c

careful-piano-35019

01/06/2023, 1:33 PM

https://www.youtube.com/watch?v=AeaBQBoi3MQ▾

✅ 1
I'm doing it under Linux, so I'll be able to share Linux oriented instructions if that helps
s

strong-shoe-72392

01/06/2023, 1:38 PM
I'm using a Mac, but yes this all helps if you have anything else to share.
c

careful-piano-35019

01/06/2023, 1:38 PM
some of the instructions are similar. Not sure about the drivers though (it's included with openSUSE)
https://uk.rs-online.com/web/p/raspberry-pi-cables/7676200 like this cable, but that's a very expensive price
https://www.kubii.fr/hub-cables-adaptateurs/1761-cable-usb-vers-ttl-4-pin-kubii-3272496006263.html I paid about 4 or 5€
✅ 1
s

strong-shoe-72392

01/06/2023, 1:45 PM
Thank you! Did you see my other post in this channel? Curious if you or anyone else has any thoughts as to why it's failing to register the Pi as machine inventory. I was able to successfully do this with a VirtualBox VM node but not the Pi following the new Pi instructions.
h

hundreds-hospital-60917

01/11/2023, 3:22 PM
Kernel crash on Raspberry is a driver/kernel problem: https://bugzilla.suse.com/show_bug.cgi?id=1196855 😞
s

strong-shoe-72392

01/11/2023, 7:39 PM
Thanks for the reply @hundreds-hospital-60917!
View count: 1