suse-edge / edge-image-builder

Tool for creating and configuring a set of images to automate the deployment of Edge environments
Apache License 2.0
47 stars 25 forks source link

Leap Micro 6.0: Elemental Auto-Registration Broken - libopenssl1_1 Missing #522

Open swaphb opened 1 month ago

swaphb commented 1 month ago

Attempting to auto-register a device flashed with an EIB-created ISO (Leap Micro 6.0 self-install) results in an error. The elemental-register command cannot execute because it requires libopenssl1_1, a library that has been dropped from recent Leap Micro versions. This renders the auto-registration process inoperable.

rdoxenham commented 1 month ago

Thanks for the report, @swaphb! Can you please elaborate on the version of Edge Image Builder that you're using here? I take it that you're deploying Elemental 1.4 versions if you're deploying with standard EIB?

rdoxenham commented 1 month ago

OK, I've reproduced it...

Aug 07 20:25:01 localhost.localdomain elemental-register[4012]: /usr/sbin/elemental-register: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

This is a problem with openSUSE Leap Micro 6.0 (or SL Micro 6.0) when using Edge Image Builder 1.0, which is built for SUSE Edge 3.0, which uses Micro 5.5, and defaults to using Elemental 1.4 packages. In the next version of Edge Image Builder we will move to Elemental 1.6 packages which do not need this package to be installed on the host OS.

swaphb commented 1 month ago

Hi @rdoxenham , you are correct, I'm using EIB realsed with tag 1.0.1 and tried 1.0.2 as well. Glad you were able to replicate and that there is a path forward. Thanks for looking into this issue.