Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] v1.4.0 release testing - Four node upgrade with bonded nics #1625

Open
TachunLin opened this issue Oct 24, 2024 · 1 comment
Open

Comments

@TachunLin
Copy link
Contributor

What's the test to develop? Please describe

Perform the four nodes upgrade test with bonded nics for v1.4.0 release testing

Prerequisite and dependency of test

  1. VLAN 1 network on mgmt and 1 network on bonded NICs
  2. 2 Virtual machines with data and md5sum computed- 1 running, 1 stopped
  3. 2 VM backup, snapshots - 1 backup when VM is running and 1 backup when VM is stooped
  4. Create a new storage class apart from default one. Use the new storage class for some basic operations.
  5. Import to Rancher and create an RKE1 & RKE2 guest cluster. provisioned on Harvester VM before the upgrade.
  6. Deploy Harvester cloud provider to RKE1 Cluster (prior to latest version)
  7. Verify DHCP load balancer service
  8. Install Harvester CSI Driver in RKE2 (prior to latest version)
  9. Create a new Harvester PVC for nginx deployment
  10. Create Load balancer and PVC in the guest cluster in RKE2 cluster.
  11. Upgrade Rancher
  12. Create another one node guest cluster.
  13. Scale down up the guest cluster gc1.

Upgrade Test Path:

  • H1.3.2 + R2.7.15 (K1.27) -> H1.4.0 + R2.8.9 (K1.28) -> (K1.29)

OS:

  • SLES 15 SP4 (sles@ipv4)
  • Windows 2022

Upgrade Test Check

  1. Can correctly upgrade from v1.3.2 to v1.4.0-rc4

Post Upgrade Check

  1. Dependencies Check
  2. Virtual machines are in same state as before and accessible.
  3. Restore the backups, check the data
  4. Image and volume status
  5. Monitoring chart status
  6. VM operations are highlighted and working fine.
  7. Add a node after the upgrade
  8. Upgrade RKE1/RKE2 guest cluster
  9. Upgrade cloud provider and CSI driver
  10. Verify DHCP load balancer service and create a new Harvester PVC
  11. Shutting off VM and then restarting VM
@TachunLin
Copy link
Contributor Author

TachunLin commented Oct 25, 2024

Four nodes upgrade test on SLES 15 SP6 from v1.3.2 to v1.4.0-rc4

Test environment

Harvester: v1.3.2 upgrade to v1.4.0-rc4
Rancher: v2.7.15 (Prime)
RKE2 version:
OS: SLES 15 SP6

Prerequisite and dependency setup

${\textsf{✅}}$ VLAN 1 network on mgmt and another vlan 100 network on bonded NICs $~~$

image

${\textsf{✅}}$ 2 Virtual machines with data and md5sum computed- 1 running, 1 stopped $~~$

image

sles@sles15-sp6-running:~> sha512sum running.txt
831658c6fa11148b1b6c91aeedf5dedb7eca9ed088b5561deaa1774d8bfce7bf322a1bcaf71b4457e688c64f2a1e6adbd71f273f9ae8bf7d482289963ac17f8a  running.txt
sles@sles15-sp6-stopped:~> sha512sum stopped.txt
6c9ea237c6001f86c0aeadaed585d9dc04ddfe704992284db7c56c5fdc9c874a01c9dc47d459cf82686aefa28dbadc836340d10a01731896c3ee05fd6f813ee7  stopped.txt
${\textsf{✅}}$ 2 VM backup, snapshots - 1 backup when VM is running and 1 backup when VM is stooped $~~$

image

${\textsf{✅}}$ Create a new storage class apart from default one. Use the new storage class for some basic operations. $~~$

image

${\textsf{✅}}$ Import to Rancher 2.7.15 and create an RKE2 v1.27.16 guest cluster. provisioned on Harvester VM before the upgrade. $~~$

image

image

${\textsf{✅}}$ Verify cloud provider and csi-driver version and running $~~$
  • csi-driver: 0.1.18
  • cloud provider: 0.2.4

image

${\textsf{✅}}$ Create a new Harvester PVC for nginx deployment $~~$

image
image
image

${\textsf{✅}}$ Verify DHCP load balancer service $~~$

image

Upgrade from v1.3.2 to v1.4.0-rc4

${\textsf{✅}}$ Successfully upgrade to v1.4.0-rc4 $~~$

Post Upgrade Check

${\textsf{✅}}$ Dependency check $~~$

Chart: https://github.com/harvester/harvester/tree/v1.4.0-rc4/deploy/charts/harvester/dependency_charts
Values: https://github.com/harvester/harvester/blob/v1.4.0-rc4/deploy/charts/harvester/values.yaml

${\textsf{✅}}$ Versions of all the crds $~~$

https://github.com/harvester/harvester/tree/v1.4.0-rc4/deploy/charts/harvester-crd/templates

${\textsf{✅}}$ Virtual machines are in same state as before and accessible $~~$

image

${\textsf{✅}}$ Restore the backups, check the data $~~$
  1. Restore the running backup vm to new, the data can be restored and exists

image

  1. Restore the stopped backup vm to new, the data can be restored and exists

image

${\textsf{❌}}$ Image and volume status $~~$
${\textsf{✅}}$ Monitoring chart status $~~$

image

image

image

image

image

${\textsf{✅}}$ VM operations are highlighted and working fine $~~$
  • Start
  • Stop
  • Restart
  • Soft reboot
  • Delete
  • Clone
  • Migrate
  • Add volume
${\textsf{✅}}$ Rancher v2.7.15 and RKE2 cluster running well $~~$

image

${\textsf{✅}}$ Upgrade Rancher to v2.8.9 $~~$
  1. Can successfully upgrade Rancher to v2.8.9 and the RKE2 cluster is running

image

${\textsf{✅}}$ Upgrade RKE2 guest cluster to v1.28.14+rke2r2 $~~$
  1. Can successfully upgrade the RKE2 cluster to v1.28.14+rke2r2

image

image

${\textsf{✅}}$ Upgrade cloud provider and CSI driver $~~$
  1. Automatically upgrade cloud provider to v0.2.6 and csi-driver to 0.1.18
    image
${\textsf{✅}}$ Create a new Harvester PVC $~~$
  1. Create a new Harvester PVC for nginx deployment

image

image

image

${\textsf{✅}}$ Verify DHCP load balancer service $~~$
  1. Verify DHCP load balancer service

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants