Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Upgrade 3.3.0 -> 4.1.0 and compatibilities

Hi all,

I'm planning to upgrade my clusters from version 3.3.0 to 4.1.0 and i'm wandering if there might be any compatibility issue with other systems using my petasan cluster, such as:

  • VMWare 8.0.3 cluster (iSCSI LUNs mounted as datastores)
  • Openstack Xena (charmed version, connects to monitors via charm "ceph-radosgw 16.2.9")

Can i safely upgrade PetaSAN or are there any preliminary steps to perform ?

Thanks and bye,  Ste

 

Just follow the online upgrade guide.

you will upgrade from 3.3 to 4.0 then 4.0 to 4.1

Hi, I started the upgrade path following the guide, but on the very first step (3.3.0 -> 4.0.0) i get the following message, saying that some nodes are running older versiones. So i applied the minor updates to all 4 nodes and rebooted them one by one, but i still can't go on. Same output on all nodes. What could be the issue ?

root@petasan01:~# apt update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
Hit:3 https://archive.petasan.org/repo_v3 petasan-v3 InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
root@petasan01:~#
root@petasan01:~#
root@petasan01:~# apt list --upgradable
Listing... Done
podman/petasan-v3 100:3.4.2-5 amd64 [upgradable from: 1.6.2-1~ubuntu18.04~ppa1]
N: There is 1 additional version. Please use the '-a' switch to see it
root@petasan01:~#
root@petasan01:~# apt list --upgradable -a
Listing... Done
podman/petasan-v3 100:3.4.2-5 amd64 [upgradable from: 1.6.2-1~ubuntu18.04~ppa1]
podman/now 1.6.2-1~ubuntu18.04~ppa1 amd64 [installed,upgradable to: 100:3.4.2-5]

root@petasan01:~#
root@petasan01:~# apt install ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20240203~20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@petasan01:~#
root@petasan01:~#
root@petasan01:~# /opt/petasan/scripts/online-updates/update.sh
Checking Ceph health...
./updatev3.sh: line 31: jq: command not found
./updatev3.sh: line 32: [: =: unary operator expected
./updatev3.sh: line 36: [: =: unary operator expected
./updatev3.sh: line 40: [: !=: unary operator expected
./updatev3.sh: line 45: jq: command not found
./updatev3.sh: line 88: jq: command not found
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
./updatev3.sh: line 91: [: =: unary operator expected

This node is currently running PetaSAN version 3.3.0 but some cluster nodes are running older versions.
Upgrading to PetaSAN 4.0.0 requires all cluster nodes to be running version 3.3.0.
Proceeding with minor OS updates...

Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-security InRelease
Hit:4 https://archive.petasan.org/repo_v3 petasan-v3 InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
podman
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
petasan is already the newest version (3.3.0).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Thanks and bye,  Ste.

# on all nodes install, (it could be missing if cluster was very old.)
apt install jq

# then retry, if still issues:
# what is output of:
ceph osd dump | grep require_osd_release | tr -s ' ' | cut -d ' ' -f2

# on all nodes, what is output of:
dpkg -l petasan

Solved with "Apt install jq", thanks !

Ste