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

    05/07/2022, 10:37 AM
    Can you ping back on Monday so I don't forget?
    👍 1
    g
    • 2
    • 7
  • w

    worried-monkey-96416

    05/17/2022, 1:26 PM
    Hi, is there any way to enable verbose logging for cloud-init during the boot process to see what sections have actually been executed (passed
    if
    statements) from files in
    /system/oem
    and
    /usr/local/cloud-config
    and in what order?
    r
    • 2
    • 11
  • g

    glamorous-accountant-39131

    05/18/2022, 10:12 AM
    Hi, can we use elemental as standalone binary to create derivative iso ?
    👏 1
    • 1
    • 1
  • b

    bulky-hamburger-51394

    05/18/2022, 10:39 PM
    I have what might be a silly question. Is the luet package manager required to build a container OS? I'm guessing it is based on https://github.com/rancher-sandbox/cOS-toolkit/blob/c47e98f487f383d4dca2e884b84a9ee7376aacdb/examples/scratch/Dockerfile#L17
    s
    • 2
    • 2
  • b

    bulky-hamburger-51394

    05/20/2022, 10:41 PM
    Thank you for that video. I am very interested in the c3os work briefly shown around minute 37. We (at Tripwire a HelpSystems brand) are currently using k3os+k3s and are seeking a path to migrate away from k3os.
    s
    • 2
    • 4
  • o

    orange-airplane-98016

    05/26/2022, 12:52 AM
    What's the status of SLE Micro for Rancher?
    h
    • 2
    • 7
  • g

    glamorous-accountant-39131

    06/01/2022, 8:02 AM
    Hello, there is a rebrand to elemental cli ?
    r
    • 2
    • 3
  • g

    glamorous-accountant-39131

    06/01/2022, 8:08 AM
    And you move them to rancher repo ?! So it's no more a alpha project ?!
    h
    • 2
    • 1
  • o

    orange-airplane-98016

    06/27/2022, 5:56 PM
    Has the dust settled yet? Seems like somewhere in the move to SLE Micro for Rancher rancheros-operator (soon to be renamed elemental-operator) broke.
    b
    r
    • 3
    • 7
  • a

    acoustic-pharmacist-59341

    07/12/2022, 10:08 PM
    Hi, I was just curiously trying to bootstrap a test cluster with elemental via iPXE. I have a single node that came up with v1.22.10+k3s1 and started to cluster-init but it's stuck waiting for kube-controller-manager to come up. However, k3s-server isn't listening on port 10252 like it expecst.
    • 1
    • 1
  • n

    nice-monkey-30580

    07/19/2022, 5:04 AM
    Hi Team - first and foremost, thanks for the awesome work so far! The approach of elemental (operator) is really amazing, kudos! 😃 I was able to install the 0.2.1 operator in my lab, but I wasn’t able to proceed with a proper MachineRegistration 😞 Do you have an update of the docs (elemental.cattle.io/v1beta1?) somewhen close on your roadmap?
    r
    h
    • 3
    • 2
  • w

    worried-businessperson-13284

    07/26/2022, 10:59 PM
    how do you mount another disk? I'm setting up a disk for Longhorn via cloud-init commands and
    /var/lib/longhorn
    gets remounted as a bind mount to
    /usr/local/.state/var-lib-longhorn.bind
  • r

    ripe-mechanic-63260

    09/23/2022, 3:20 PM
    new release of elemental-cli available: https://github.com/rancher/elemental-cli/releases/tag/v0.0.16
  • h

    happy-island-57258

    10/18/2022, 2:41 PM
    I’m experimenting with kairos on an RPI4 with a USB-to-M.2 adapter for booting from an SSD (no SD card), but I seem to running into a segfault in
    elemental-cli
    during the boot process (initial boot). After the boot process dumps out to the emergency console,
    journalctl -u cos-setup-rootfs
    reveals:
    systemd[1]: Starting cOS system early rootfs setup...
    elemental[712]: time="2022-08-18T12:00:11Z" level=error msg="invalid arch: invalid arch"
    elemental[712]: panic: runtime error: invalid memory address or nil pointer dereference
    elemental[712]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb79d4c]
    elemental[712]: goroutine 1 [running]
    elemental[712]: <http://github.com/rancher/elemental-cli/pkg/config.NewRunConfig(...)|github.com/rancher/elemental-cli/pkg/config.NewRunConfig(...)>
    elemental[712]:        /luetbuild/elemental-cli/pkg/config.go:157
    (pardon: I hand-typed that from a camera photo)
  • r

    ripe-mechanic-63260

    10/18/2022, 2:45 PM
    it says invalid arch in there...what iso are you using?
  • h

    happy-island-57258

    10/18/2022, 2:49 PM
    kairos-opensuse-arm-rpi-v1.1.2-k3sv1.24.6+k3s1.img.xz
  • h

    happy-island-57258

    10/18/2022, 2:52 PM
    I’ve ripped open the initrd (from an AMD64 machine… and wow I had to go deep to get it out), and checked the
    elemental
    binary:
    jalonso konin /tmp/initrd/early/usr/bin
    $ file elemental 
    elemental: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, stripped
  • h

    happy-island-57258

    10/18/2022, 2:54 PM
    I probably should have checked to see if
    elemental
    was willing to execute on the running RPi4 itself, but I did manage to get a go stacktrace, rather than a kernel-level rejection of the binary.
  • r

    ripe-mechanic-63260

    10/18/2022, 2:55 PM
    Oh, it's an 32bit arm elemental in there?
  • h

    happy-island-57258

    10/18/2022, 2:55 PM
    Yeah, I thought to check when you asked after the iso.
  • r

    ripe-mechanic-63260

    10/18/2022, 2:57 PM
    Check how kairos builds the RPI image, maybe they are bundling the wrong image? Maybe the package they are using is broken so the issue is under elemental
  • r

    ripe-mechanic-63260

    10/18/2022, 2:58 PM
    I know we release arm64 binaries and an arm64 luet package
  • h

    happy-island-57258

    10/18/2022, 2:59 PM
    Is there a plausible explanation for why I’m seeing a go stacktrace? That implies the ELF started.
  • r

    ripe-mechanic-63260

    10/18/2022, 2:59 PM
    Yeah that makes no sense, especially because the arch message and panic comes from inside the binary...
  • h

    happy-island-57258

    10/18/2022, 3:06 PM
    TBH, I’d probably have quicker results interrogating
    elemental-cli
    build artifacts with
    file
    than I would teasing apart the kairos build process.
  • h

    happy-island-57258

    10/18/2022, 3:07 PM
    (That’s a statement on my setup and familiarity with components.)
  • r

    ripe-mechanic-63260

    10/18/2022, 3:10 PM
    Umm, I don't have an rpi to test that, I'll have a look tonigth at our elemental artifacts to see if they are correct
  • r

    ripe-mechanic-63260

    10/18/2022, 3:10 PM
    The correct arch I mean
  • r

    ripe-mechanic-63260

    10/18/2022, 3:11 PM
    Maybe rpi4 reports the arch differently to what we expect
  • h

    happy-island-57258

    10/18/2022, 3:17 PM
    It’s worth saying that some kernel builds can be set up to run both 32-bit and 64-bit binaries, though some are not. I still wonder if the
    elemental
    binary was somehow put together from a mix… which should be wrong.
Powered by Linen
Title
h

happy-island-57258

10/18/2022, 3:17 PM
It’s worth saying that some kernel builds can be set up to run both 32-bit and 64-bit binaries, though some are not. I still wonder if the
elemental
binary was somehow put together from a mix… which should be wrong.
View count: 6