What's the test to develop? Please describe
Perform the Three nodes upgrade with storage network and RWX volume on RKE2 guest cluster for v1.8.0 release testing
Prerequisite and dependency of test
- Create VLAN 2012 network on mgmt
- Enable all addons
- On Harvester, create a cluster network
cn and network config nc
- Create VLAN 2011 network on cn
- Enable the storage network with vlan ID 2011
- Enable the
Storage Network for RWX Volume setting on the embedded Longhorn UI
- Create a storage class
longhorn-rwx with specific yaml content
- Check the role-based access control (RBAC) settings are up-to-date.
- Check the networkfs-manager pods are running.
- Create Load balancer and PVC in the guest cluster.
Rancher Upgrade Path:
- H1.7.1 + Rv2.13.3 (k1.34) -> H1.7.1 + R2.14.0 (K1.34) -> H1.7.1 + R2.14.0 (K1.35)
Harvester Upgrade Path:
OS:
Pre Upgrade Test steps
- Import Harvester to Rancher
- Create a downstream RKE2 guest cluster (Use ubuntu 22.04 image)
- Specify two vm network NAD including the storage network
- After RKE2 cluster is running, ensure the harvester-csi-driver version >=
0.1.24
- Access the RKE2 guest cluster vm
- Install the NFS client service
-
$ apt-get install -y nfs-common
- Enable the storage network interface and assign IP address to it
-
-
$ ip a add 10.0.99.100/24 dev enp2s0
- Ensure can ping to the instance-manager pods IP from the RKE2 vm
- Create a RWX Storage class
harvester-rxw on RKE2 cluster
- Create a volume
rwx-vol001 using the harvester-rwx storage class
- Create a nginx deployments to use above pvc volume
- Ensure the nginx is running well
- Confirm all pods are running well on the RKE2 cluster
Upgrade check
- Can correctly upgrade Harvester from v1.7.1 to v1.8.0-rc5 or later
- Can correctly upgrade Rancher from v2.13.3 to v2.14.0
Post Upgrade Check
- Dependencies Check
- Virtual machines are in same state as before and accessible
- Monitoring chart status
- Check the RKE2 guest cluster is running well
- Check the load balancer and PVC state is well
- Check the
nginx-1 and nginx-2 pod with volume rwx-vol001 is runngin well
- Confirm can access each pod and see the same data
- Check can write some content to the
rwx-vol001 on both pods
- Create a new rwx volume
rwx-vol002
- Create the
nginx-3 and nginx-4 pod and attach the rwx-002 volume to it
- Check can write some content to the
rwx-vol002 on both pods
What's the test to develop? Please describe
Perform the
Three nodes upgrade with storage network and RWX volume on RKE2 guest clusterfor v1.8.0 release testingPrerequisite and dependency of test
cnand network configncStorage Network for RWX Volume settingon the embedded Longhorn UIlonghorn-rwxwith specific yaml contentRancher Upgrade Path:
Harvester Upgrade Path:
OS:
Pre Upgrade Test steps
0.1.24harvester-rxwon RKE2 clusterrwx-vol001using theharvester-rwxstorage classUpgrade check
Post Upgrade Check
nginx-1andnginx-2pod with volumerwx-vol001is runngin wellrwx-vol001on both podsrwx-vol002nginx-3andnginx-4pod and attach therwx-002volume to itrwx-vol002on both pods