From f28db91887eef71fcea11231bb07704c72ec7b58 Mon Sep 17 00:00:00 2001 From: khushboo-rancher Date: Mon, 23 Oct 2023 18:32:11 +0000 Subject: [PATCH] Update testing docs Signed-off-by: khushboo-rancher --- index.xml | 11 + .../functional-test-cases/backup/index.html | 3 + .../deployment/index.html | 3 + manual/functional-test-cases/index.html | 3 + .../kubernetes/index.html | 3 + .../monitoring/index.html | 3 + manual/functional-test-cases/node/index.html | 3 + .../scheduling/index.html | 3 + manual/functional-test-cases/ui/index.html | 3 + .../functional-test-cases/upgrade/index.html | 3 + .../functional-test-cases/volume/index.html | 3 + manual/index.html | 6 + .../concurrent-backup/index.html | 3 + .../index.html | 3 + .../index.html | 3 + .../pre-release/backup-and-restore/index.html | 3 + .../index.html | 3 + .../pre-release/basic-operations/index.html | 3 + .../snapshot-while-writing-data/index.html | 3 + .../storage-network/index.html | 3 + manual/pre-release/cluster-restore/index.html | 3 + .../restore-to-a-new-cluster/index.html | 3 + .../restore-to-an-old-cluster/index.html | 3 + .../index.html | 3 + manual/pre-release/environment/index.html | 3 + .../k3s-selinux-compatibility/index.html | 3 + .../rke2-cis-1.23-profile/index.html | 3 + .../rke2-cis-1.6-profile/index.html | 3 + .../index.html | 3 + .../ha/disk-migration-in-aws-asg/index.html | 3 + .../ha/ha-volume-migration/index.html | 3 + manual/pre-release/ha/index.html | 3 + .../ha/replica-rebuilding/index.html | 3 + manual/pre-release/index.html | 3 + .../aks/expand-volume/index.html | 3 + .../aks/index.html | 3 + .../aks/upgrade-k8s/index.html | 3 + .../eks/add-extra-volume/index.html | 3 + .../eks/expand-volume/index.html | 3 + .../eks/index.html | 3 + .../eks/upgrade-k8s/index.html | 3 + .../gke/expand-volume/index.html | 3 + .../gke/index.html | 3 + .../gke/upgrade-k8s/index.html | 3 + .../managed-kubernetes-clusters/index.html | 3 + manual/pre-release/node-not-ready/index.html | 3 + .../node-not-ready/kubelet-restart/index.html | 3 + .../kubelet-restart-on-a-node/index.html | 3 + .../node-disconnection/index.html | 3 + .../node-disconnection/index.html | 3 + .../backing-image-on-a-down-node/index.html | 3 + .../node-not-ready/node-down/index.html | 3 + .../node-down/node-deletion/index.html | 3 + .../node-down/node-drain-deletion/index.html | 3 + .../node-down/physical-node-down/index.html | 3 + .../restore-volume-node-down/index.html | 3 + .../single-replica-node-down/index.html | 3 + .../dr-volume-node-rebooted/index.html | 3 + .../node-not-ready/node-restart/index.html | 3 + .../physical-node-reboot/index.html | 3 + .../node/degraded-availability/index.html | 3 + .../improve-node-failure-handling/index.html | 3 + manual/pre-release/node/index.html | 3 + manual/pre-release/resiliency/index.html | 3 + .../index.html | 3 + .../resiliency/simulated-slow-disk/index.html | 3 + .../index.html | 3 + .../pre-release/resiliency/timeout/index.html | 3 + .../checksum-enabled-large-volume/index.html | 3 + manual/pre-release/stability/index.html | 3 + .../multiple-installation/index.html | 3 + .../stress/backup-listing/index.html | 3 + .../uninstallation-checks/index.html | 3 + .../upgrade/auto-upgrade-engine/index.html | 3 + .../backing-image-during-upgrade/index.html | 3 + .../index.html | 3 + manual/pre-release/upgrade/index.html | 3 + .../kubernetes-upgrade-test/index.html | 3 + .../upgrade/longhorn-upgrade-test/index.html | 3 + .../upgrade/test-node-drain-policy/index.html | 3 + .../index.html | 3 + .../upgrade-conflict-handling/index.html | 3 + .../index.html | 3 + .../index.html | 3 + .../access-lh-gui-using-rancher-ui/index.html | 3 + .../drain-using-rancher-ui/index.html | 3 + .../fleet-deploy/index.html | 3 + manual/rancher-integration/index.html | 3 + .../lh-hardend-rancher/index.html | 3 + .../upgrade-using-rancher-ui/index.html | 3 + .../upgrade-using-suc/index.html | 3 + manual/release-specific/index.html | 6 + manual/release-specific/v1.0.0/index.html | 3 + .../new-node-custom-data-directory/index.html | 3 + .../ext4-custom-fs-params-1/index.html | 3 + .../ext4-custom-fs-params-2/index.html | 3 + .../ext4-no-custom-fs-params/index.html | 3 + .../v1.0.0/suse-sles12sp3/index.html | 3 + .../xfs-after-custom-fs-params/index.html | 3 + .../besteffort-recurring-job/index.html | 3 + .../v1.0.1/change-imagepullpolicy/index.html | 3 + .../index.html | 3 + .../v1.0.1/error-fail-remount/index.html | 3 + manual/release-specific/v1.0.1/index.html | 3 + .../v1.0.1/nfsv4-enforcement/index.html | 3 + .../priorityclass-default-setting/index.html | 3 + .../v1.0.1/test-s3-access-style/index.html | 3 + .../v1.0.1/test-s3-backupstore/index.html | 3 + .../v1.0.1/ui-volume-deletion/index.html | 3 + manual/release-specific/v1.0.2/index.html | 3 + .../v1.0.2/upgrade-lease-lock/index.html | 3 + .../additional-printer-columns/index.html | 3 + manual/release-specific/v1.1.0/index.html | 3 + .../instance-manager-ip-sync/index.html | 3 + .../v1.1.0/iscsi_installation/index.html | 3 + .../v1.1.0/kubelet_volume_metrics/index.html | 3 + .../v1.1.0/prometheus_support/index.html | 3 + .../index.html | 3 + .../index.html | 3 + .../v1.1.0/rwx_feature/index.html | 3 + .../v1.1.0/uninstallation/index.html | 3 + .../index.html | 3 + .../v1.1.1/csi-sanity-check/index.html | 3 + .../v1.1.1/delete-node/index.html | 3 + .../v1.1.1/disable_ipv6/index.html | 3 + manual/release-specific/v1.1.1/index.html | 3 + .../partial-engine-deployment/index.html | 3 + .../rwx-mount-ownership-reset/index.html | 3 + .../snapshot-purge-error-handling/index.html | 3 + .../index.html | 3 + .../test-file-sync-cancellation/index.html | 3 + .../v1.1.1/test-node-selector/index.html | 3 + .../test-service-account-mount/index.html | 3 + .../index.html | 3 + .../v1.1.1/ws-traffic-flood/index.html | 3 + .../index.html | 3 + .../index.html | 3 + manual/release-specific/v1.1.2/index.html | 3 + .../index.html | 3 + .../index.html | 3 + manual/release-specific/v1.2.0/index.html | 3 + .../label-driven-recurring-job/index.html | 3 + .../test-backing-image-upload/index.html | 3 + .../index.html | 3 + .../v1.2.0/test_version_bump/index.html | 3 + manual/release-specific/v1.2.3/index.html | 3 + .../index.html | 3 + .../test-backing-image-space-usage/index.html | 3 + .../index.html | 3 + .../extend_csi_snapshot_support/index.html | 3 + manual/release-specific/v1.3.0/index.html | 3 + .../index.html | 3 + .../v1.3.0/test-grpc-proxy/index.html | 3 + .../index.html | 3 + .../test-instance-manager-npe/index.html | 3 + .../test-longhorn-manager-npe/index.html | 3 + .../index.html | 3 + .../index.html | 3 + .../test-snapshot-purge-retry/index.html | 3 + .../v1.3.0/test-storage-network/index.html | 3 + manual/release-specific/v1.3.1/index.html | 3 + .../index.html | 3 + manual/release-specific/v1.4.0/index.html | 3 + .../test-csi-plugin-liveness-probe/index.html | 3 + .../test-engine-binary-recovery/index.html | 3 + .../v1.4.0/test-filesystem-trim/index.html | 3 + .../index.html | 3 + .../index.html | 3 + .../v1.4.0/test-online-expansion/index.html | 3 + .../index.html | 3 + .../v1.4.0/test-system-backup/index.html | 3 + .../index.html | 3 + manual/release-specific/v1.4.1/index.html | 3 + .../index.html | 3 + manual/release-specific/v1.5.0/index.html | 3 + .../index.html | 3 + .../index.html | 3 + manual/release-specific/v1.6.0/index.html | 6 + manual/release-specific/v1.6.0/index.xml | 11 + .../index.html | 3 + .../index.html | 800 ++++++++++++++++++ .../index.html | 3 + .../index.html | 3 + sitemap.xml | 2 + 184 files changed, 1373 insertions(+) create mode 100644 manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/index.html diff --git a/index.xml b/index.xml index 6fd331be78..497cc979ac 100644 --- a/index.xml +++ b/index.xml @@ -762,6 +762,17 @@ Test Steps Given Set up the Longhorn environment as mentioned here When Run Long Test steps: Create a cluster and set up this monitoring system: https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack Install Longhorn. Deploy some workloads using Longhorn volumes. Make sure there are some workloads using Longhorn PVCs in volumeMode: Block and some workloads using Longhorn PVCs in volumeMode: Filesystem. See https://longhorn.io/docs/1.0.2/references/examples/ for examples. Create ingress to Prometheus server and Grafana. Navigate to Prometheus server, verify that all Longhorn PVCs in volumeMode: Filesystem show up in metrics: kubelet_volume_stats_capacity_bytes kubelet_volume_stats_available_bytes kubelet_volume_stats_used_bytes kubelet_volume_stats_inodes kubelet_volume_stats_inodes_free kubelet_volume_stats_inodes_used. + + Test `Rebuild` in volume.meta blocks engine start + https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/ + Mon, 01 Jan 0001 00:00:00 +0000 + + https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.6.0/test-rebuild-in-meta-blocks-engine-start/ + Related issue https://github.com/longhorn/longhorn/issues/6626 +Test with patched image Given a patched longhorn-engine image with the following code change. +diff --git a/pkg/sync/sync.go b/pkg/sync/sync.go index b48ddd46..c4523f11 100644 --- a/pkg/sync/sync.go +++ b/pkg/sync/sync.go @@ -534,9 +534,9 @@ func (t *Task) reloadAndVerify(address, instanceName string, repClient *replicaC return err } - if err := repClient.SetRebuilding(false); err != nil { - return err - } + // if err := repClient.SetRebuilding(false); err != nil { + // return err + // } return nil } And a patched longhorn-instance-manager image with the longhorn-engine vendor updated. + + Test access style for S3 compatible backupstore https://longhorn.github.io/longhorn-tests/manual/release-specific/v1.0.1/test-s3-access-style/ diff --git a/manual/functional-test-cases/backup/index.html b/manual/functional-test-cases/backup/index.html index 4dff514381..d63c3e286d 100644 --- a/manual/functional-test-cases/backup/index.html +++ b/manual/functional-test-cases/backup/index.html @@ -722,6 +722,9 @@