Skip to content

Commit

Permalink
Updates Longhorn v1.6.2 rocks
Browse files Browse the repository at this point in the history
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
  • Loading branch information
claudiubelu committed Sep 23, 2024
1 parent 3c7d372 commit 5d11cec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
8 changes: 4 additions & 4 deletions v1.6.2/longhorn-manager/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
12 changes: 7 additions & 5 deletions v1.6.2/longhorn-share-manager/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions v1.6.2/longhorn-ui/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d11cec

Please sign in to comment.