From 5d11cecc95fb5256956090370622cb0ae62fbdf4 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Mon, 16 Sep 2024 13:42:22 +0000 Subject: [PATCH] Updates Longhorn v1.6.2 rocks The v1.6.2 Longhorn images are based on the Suse Linux Enterprise Base Container Image (SLE BCE) Service Pack 5 which ships with Linux 5.14, and is thus most comparable to 22.04. Adds liburcu8 to the longhorn-share-manager rock. It is required in order to avoid the following error: ganesha.nfsd: error while loading shared libraries: liburcu-bp.so.8: cannot open shared object file: No such file or directory --- v1.6.2/longhorn-manager/rockcraft.yaml | 8 ++++---- v1.6.2/longhorn-share-manager/rockcraft.yaml | 12 +++++++----- v1.6.2/longhorn-ui/rockcraft.yaml | 10 +++++----- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/v1.6.2/longhorn-manager/rockcraft.yaml b/v1.6.2/longhorn-manager/rockcraft.yaml index 3d3a159..6869734 100644 --- a/v1.6.2/longhorn-manager/rockcraft.yaml +++ b/v1.6.2/longhorn-manager/rockcraft.yaml @@ -14,11 +14,11 @@ license: Apache-2.0 version: "v1.6.2" # NOTE(aznashwan): the base for the manager image is the Suse Linux Enterprise -# Base Container Image (SLE BCE) Service Pack 5 which ships with Linux 6.4, -# and is thus most comparable to 24.04: +# Base Container Image (SLE BCE) Service Pack 5 which ships with Linux 5.14, +# and is thus most comparable to 22.04: # https://github.com/longhorn/longhorn-manager/blob/v1.6.2/package/Dockerfile#L1 -base: ubuntu@24.04 -build-base: ubuntu@24.04 +base: ubuntu@22.04 +build-base: ubuntu@22.04 platforms: amd64: diff --git a/v1.6.2/longhorn-share-manager/rockcraft.yaml b/v1.6.2/longhorn-share-manager/rockcraft.yaml index 8810e7f..ec8ce2d 100644 --- a/v1.6.2/longhorn-share-manager/rockcraft.yaml +++ b/v1.6.2/longhorn-share-manager/rockcraft.yaml @@ -14,11 +14,11 @@ license: Apache-2.0 version: "v1.6.2" # NOTE(aznashwan): the base for the share manager image is the Suse Linux Enterprise -# Base Container Image (SLE BCE) Service Pack 5 which ships with Linux 6.4, -# and is thus most comparable to 24.04: +# Base Container Image (SLE BCE) Service Pack 5 which ships with Linux 5.14, +# and is thus most comparable to 22.04: # https://github.com/longhorn/longhorn-share-manager/blob/v1.6.2/package/Dockerfile#L42 -base: ubuntu@24.04 -build-base: ubuntu@24.04 +base: ubuntu@22.04 +build-base: ubuntu@22.04 platforms: amd64: @@ -103,7 +103,9 @@ parts: stage-packages: - rpcbind - libblkid1 - # - liburcu6 - already included. + # Needed by ganesha.nfsd, otherwise we get the following error: + # ganesha.nfsd: error while loading shared libraries: liburcu-bp.so.8 + - liburcu8 - dbus-x11 # dbus-1-x11 - libdbus-1-3 # dbus-1 - libnfsidmap-dev # nfsidmap-devel diff --git a/v1.6.2/longhorn-ui/rockcraft.yaml b/v1.6.2/longhorn-ui/rockcraft.yaml index 971859d..60a1e0c 100644 --- a/v1.6.2/longhorn-ui/rockcraft.yaml +++ b/v1.6.2/longhorn-ui/rockcraft.yaml @@ -18,12 +18,12 @@ license: Apache-2.0 version: "v1.6.2" -# NOTE(aznashwan): the base for the engine image is the Suse Linux Enterprise -# Base Container Image (SLE BCE) Service Pack 5 which ships with Linux 6.4, -# and is thus most comparable to 24.04: +# NOTE(aznashwan): the base for the UI image is the Suse Linux Enterprise +# Base Container Image (SLE BCE) Service Pack 5 which ships with Linux 5.14, +# and is thus most comparable to 22.04: # https://github.com/longhorn/longhorn-ui/blob/v1.6.2/Dockerfile#L13 -base: ubuntu@24.04 -build-base: ubuntu@24.04 +base: ubuntu@22.04 +build-base: ubuntu@22.04 platforms: amd64: