Skip to content

[TEST] v1.8.0 release testing - Three nodes upgrade with storage network and RWX volume on RKE2 guest cluster #2569

@TachunLin

Description

@TachunLin

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

  1. Create VLAN 2012 network on mgmt
  2. Enable all addons
  3. On Harvester, create a cluster network cn and network config nc
  4. Create VLAN 2011 network on cn
  5. Enable the storage network with vlan ID 2011
  6. Enable the Storage Network for RWX Volume setting on the embedded Longhorn UI
  7. Create a storage class longhorn-rwx with specific yaml content
  8. Check the role-based access control (RBAC) settings are up-to-date.
  9. Check the networkfs-manager pods are running.
  10. 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:

  • v1.7.1 -> v1.8.0

OS:

  • SLE16
  • SLE15 SP7

Pre Upgrade Test steps

  1. Import Harvester to Rancher
  2. Create a downstream RKE2 guest cluster (Use ubuntu 22.04 image)
  3. Specify two vm network NAD including the storage network
  4. After RKE2 cluster is running, ensure the harvester-csi-driver version >= 0.1.24
  5. Access the RKE2 guest cluster vm
  6. Install the NFS client service
  7. $ apt-get install -y nfs-common
    
  8. Enable the storage network interface and assign IP address to it
  9. $ ip link set enp2s0 up
    
  10. $ ip a add 10.0.99.100/24 dev enp2s0
    
  11. Ensure can ping to the instance-manager pods IP from the RKE2 vm
  12. Create a RWX Storage class harvester-rxw on RKE2 cluster
  13. Create a volume rwx-vol001 using the harvester-rwx storage class
  14. Create a nginx deployments to use above pvc volume
  15. Ensure the nginx is running well
  16. Confirm all pods are running well on the RKE2 cluster

Upgrade check

  1. Can correctly upgrade Harvester from v1.7.1 to v1.8.0-rc5 or later
  2. Can correctly upgrade Rancher from v2.13.3 to v2.14.0

Post Upgrade Check

  1. Dependencies Check
  2. Virtual machines are in same state as before and accessible
  3. Monitoring chart status
  4. Check the RKE2 guest cluster is running well
  5. Check the load balancer and PVC state is well
  6. Check the nginx-1 and nginx-2 pod with volume rwx-vol001 is runngin well
  7. Confirm can access each pod and see the same data
  8. Check can write some content to the rwx-vol001 on both pods
  9. Create a new rwx volume rwx-vol002
  10. Create the nginx-3 and nginx-4 pod and attach the rwx-002 volume to it
  11. Check can write some content to the rwx-vol002 on both pods

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions