diff --git a/docs/content/manual/harvester-rancher/01-import-existing-harvester-in-rancher.md b/docs/content/manual/harvester-rancher/01-import-existing-harvester-in-rancher.md deleted file mode 100644 index 68ec07143..000000000 --- a/docs/content/manual/harvester-rancher/01-import-existing-harvester-in-rancher.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: 01-Import existing Harvester clusters in Rancher ---- -This feature have been deprecated which already enhanced and merge to setup from harvester settings -Please refer to [02-Integrate to Rancher from Harvester settings](https://harvesterhci.io/tests/manual/harvester-rancher/02-integrate-rancher-from-harvester-settings/) to test this feature - -1. Login rancher dashboard -2. Navigate to Virtual Management Page -3. Click import existing -4. Copy the curl command -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/08e70d37-e573-47b1-a3d6-0f3615116d48) -1. SSH to harvester master node (user: rancher) -1. Execute the curl command to import harvester to rancher -`curl --insecure -sfL https://192.168.50.82/v3/import/{identifier}.yaml | kubectl apply -f -` -1. Run `sudo chmod 775 /etc/rancher/rke2/rke2.yaml` to solve the permission denied error -1. Run curl command again, you should see the following successful import message - ```shell - namespace/cattle-system configured - serviceaccount/cattle created - clusterrolebinding.rbac.authorization.k8s.io/cattle-admin-binding created - secret/cattle-credentials-413137f created - clusterrole.rbac.authorization.k8s.io/cattle-admin created - deployment.apps/cattle-cluster-agent created - service/cattle-cluster-agent created - ``` -1. Check import status in Virtualization Management page on Rancher - -## Expected Results -1. Harvester successfully imported on virtualization management page -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/2df98c88-8885-4e9d-a5b2-66f27eea8553) -1. Can access Harvester from Rancher dashboard -1. Display `Project/Namespaces` and `RBAC` tab -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/89a5277f-24dd-4bf6-b882-b112fad6f80b) \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/03-manage-vm-downstream-harvester.md b/docs/content/manual/harvester-rancher/03-manage-vm-downstream-harvester.md index 42994b48e..72205f894 100644 --- a/docs/content/manual/harvester-rancher/03-manage-vm-downstream-harvester.md +++ b/docs/content/manual/harvester-rancher/03-manage-vm-downstream-harvester.md @@ -12,12 +12,13 @@ Prerequisite: Harvester already imported to Rancher Dashboard 1. Try `Stop`, `Restart` and `Migrate` virtual machine 1. Try `Clone` virtual machine 1. Try `Delete` virtual machine +1. `Use VM Template` to create VM ## Expected Results 1. Can create a single instance vm correctly 1. Can create multiple instances vm correctly -1. Can diaply all virtual machine information -1. Can change cpu, memory and network and retart vm correctly +1. Can display all virtual machine information +1. Can change cpu, memory and network and restart vm correctly 1. Can `Stop`, `Restart` and `Migrate` virtual machine correctly 1. Can `Clone` virtual machine correctly -1. Can `Delete` virtual machine correctly +1. Can `Delete` virtual machine correctly \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/12-create-namespace-harvester.md b/docs/content/manual/harvester-rancher/12-create-namespace-harvester.md deleted file mode 100644 index 2846e0557..000000000 --- a/docs/content/manual/harvester-rancher/12-create-namespace-harvester.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: 12-Create New Namespace in Harvester ---- -1. Open harvester from `Virtualization Management` page -1. Click `Projects/Namespaces` -1. Select the new project created in previous test case -1. Click `Create Namespace` -1. Set CPU and Memory limit in `Container Resource Limit` - -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/4336645f-833c-4de7-bd6b-45cac0d446dc) - -## Expected Results -1. Can creat new namepasce in correctly in create new project - -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/3c00da5d-9f65-4cd0-882f-6465da496ea1) \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/1671-mark-experimental-features.md b/docs/content/manual/harvester-rancher/1671-mark-experimental-features.md deleted file mode 100644 index 608bf64ed..000000000 --- a/docs/content/manual/harvester-rancher/1671-mark-experimental-features.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Mark some features as experimental ---- - -* Related issues: [#1671](https://github.com/harvester/harvester/issues/1671) Mark external Harvester cluster provisioning support as experimental - -## Verification Steps -1. Verify that external Harvester is marked as experiemental -![image](https://user-images.githubusercontent.com/3344618/146233410-d3f11b88-f4fa-4ee8-a0f5-fb6f70f86e70.png) -1. Verify that Cloud Credentials is marked as experimental -![image](https://user-images.githubusercontent.com/3344618/146233518-ae9777a8-0753-4137-8df1-2976a5df72e7.png) -1. Verify that external is marked as experimental in add node template -![image](https://user-images.githubusercontent.com/83787952/148307474-93d06531-0835-4312-b5d0-e9131309d2ad.png) - -## Expected Results -1. All external Harvester fields should be marked as experimental diff --git a/docs/content/manual/harvester-rancher/19-enable-harvester-node-driver.md b/docs/content/manual/harvester-rancher/19-enable-harvester-node-driver.md deleted file mode 100644 index 5592c0592..000000000 --- a/docs/content/manual/harvester-rancher/19-enable-harvester-node-driver.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: 19-Enable Harvester Node Driver ---- -From Rancher v2.6.3-rc1, harvester node driver has already builtin racher -We don't need manual activate it - -1. Open Cluster Management -2. Click `Drivers` page and navigate to `Node Drivers` tab -3. Search harvester -4. Check Harvester node driver is activated and mark as `builtin` - -## Expected Results -1. Status displayed Activated - -![image](https://user-images.githubusercontent.com/29251855/144419405-b75e9ffd-03aa-4599-87f1-0cd39a523a94.png) \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/21-delete-rke1-kubernetes-cluster.md b/docs/content/manual/harvester-rancher/21-delete-rke1-kubernetes-cluster.md index 1de8729a6..dd68b9135 100644 --- a/docs/content/manual/harvester-rancher/21-delete-rke1-kubernetes-cluster.md +++ b/docs/content/manual/harvester-rancher/21-delete-rke1-kubernetes-cluster.md @@ -10,4 +10,3 @@ title: 21-Delete RKE1 Kubernetes Cluster 1. Can remove RKE1 Cluster and disapper on Cluster page 1. RKE1 Cluster will be removed from rancher menu under explore cluster 1. RKE1 virtual machine should be also be removed from Harvester - diff --git a/docs/content/manual/harvester-rancher/28-deploy-harvester-cloud-provider-to-rke1-cluster.md b/docs/content/manual/harvester-rancher/28-deploy-harvester-cloud-provider-to-rke1-cluster.md deleted file mode 100644 index 7d2185822..000000000 --- a/docs/content/manual/harvester-rancher/28-deploy-harvester-cloud-provider-to-rke1-cluster.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: 28-Deploy Harvester cloud provider to RKE1 Cluster ---- - -* Related task: [#1396](https://github.com/harvester/harvester/issues/1396) Integration Cloud Provider for RKE1 with Rancher - -### Environment Setup -1. Docker install rancher v2.6.3 -1. Create one node harvester with enough resource - -### Verify steps -1. Environment preparation as above steps -1. Import harvester to rancher from harvester settings -1. Create cloud credential -1. Create RKE1 node template -![image](https://user-images.githubusercontent.com/29251855/146299688-3875c18f-61d6-48e6-a15e-250d59c177ba.png) -1. Provision a RKE1 cluster, check the `Harvester` as cloud provider -![image](https://user-images.githubusercontent.com/29251855/146342214-568bf017-e0e2-4b3a-9f38-894eff77d439.png) -1. Access RKE1 cluster -1. Open charts in Apps & Market page -1. Install harvester cloud provider -1. Make sure cloud provider installed complete -``` -NAME: harvester-cloud-provider -LAST DEPLOYED: Thu Dec 16 03:57:26 2021 -NAMESPACE: kube-system -STATUS: deployed -REVISION: 1 -TEST SUITE: None ---------------------------------------------------------------------- -SUCCESS: helm install --namespace=kube-system --timeout=10m0s --values=/home/shell/helm/values-harvester-cloud-provider-100.0.0-up0.1.7.yaml --version=100.0.0+up0.1.7 --wait=true harvester-cloud-provider /home/shell/helm/harvester-cloud-provider-100.0.0-up0.1.7.tgz -``` - -## Expected Results -1. Provision RKE1 cluster successfully with `Running` status -2. Can install the Harvester cloud provider correctly -![image](https://user-images.githubusercontent.com/29251855/146220089-a261311c-7455-45f6-ac50-3ec9828ce034.png) - diff --git a/docs/content/manual/harvester-rancher/29-deploy-harvester-cloud-provider-to-rke2-cluster.md b/docs/content/manual/harvester-rancher/29-deploy-harvester-cloud-provider-to-rke2-cluster.md deleted file mode 100644 index 75b2f69b8..000000000 --- a/docs/content/manual/harvester-rancher/29-deploy-harvester-cloud-provider-to-rke2-cluster.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: 29-Deploy Harvester cloud provider to RKE2 Cluster ---- -1. Click Clusters -1. Click Create -1. Toggle RKE2/K3s -1. Select Harvester -1. Input `Cluster Name` -1. Select `default` namespace -1. Select ubuntu image -1. Select network `vlan1` -1. Input SSH User: `ubuntu` -1. Check alread set `Harvester` as cloud provider - -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/514d1d88-08e7-441a-861c-38bb3c96bbe7) - -1. Click Create -1. Wait for RKE2 cluster provisioning complete (~20min) - -## Expected Results -1. Provision RKE2 cluster successfully with `Running` status - -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/4526b95b-71f4-498f-b509-dea60ec5e0e5) - -1. Can acccess RKE2 cluster to check all resources and services - -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/682dccdc-cc0b-427f-ab7a-fdfaa1f82e06) - -1. Check cloud provider installed and configured on RKE2 cluster - -![image](https://user-images.githubusercontent.com/29251855/147912570-3ff2f817-ded5-417c-8e01-551dee986ebf.png) diff --git a/docs/content/manual/harvester-rancher/47-verify-backup-restore-same-server.md b/docs/content/manual/harvester-rancher/47-verify-backup-restore-same-server.md deleted file mode 100644 index e80dbea8f..000000000 --- a/docs/content/manual/harvester-rancher/47-verify-backup-restore-same-server.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: 47-Verify Backup and restore on same server ---- \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/48-verify-backup-restore-server-migration.md b/docs/content/manual/harvester-rancher/48-verify-backup-restore-server-migration.md deleted file mode 100644 index 3682bae0c..000000000 --- a/docs/content/manual/harvester-rancher/48-verify-backup-restore-server-migration.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: 48-Verify Backup and restore on server migration ---- -1. Create a harvester cluster -1. Deploy a harvester node driver cluster -1. preupgrade checks on both -1. Take a backup -1. Restore on a new rancher server from backup taken ins step 4 -1. Run post-upgrade checks for both clusters -1. Verify virtualization management → harvester is accessible -1. Run p0 use case \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/51-harvester-cloud-provider-loadbalancer-rke1.md b/docs/content/manual/harvester-rancher/51-harvester-cloud-provider-loadbalancer-rke1.md index 2c60be330..c247b6fef 100644 --- a/docs/content/manual/harvester-rancher/51-harvester-cloud-provider-loadbalancer-rke1.md +++ b/docs/content/manual/harvester-rancher/51-harvester-cloud-provider-loadbalancer-rke1.md @@ -2,6 +2,10 @@ title: 51-Use harvester cloud provider to provision an LB - rke1 --- +* Related ticket: [#1396](https://github.com/harvester/harvester/issues/1396) Integration Cloud Provider for RKE1 with Rancher + 1. Provision cluster using rke1 with harvester as the node driver -1. enable the cloud driver for `harvester` while provisioning the cluster -1. run jenkins v3 validation checks once cluster comes to active \ No newline at end of file +1. Deploy cloud provider from App. +1. Create a deployment with `nginx:latest` image. +1. Create a Harvester load balancer to the pod of above deployment. +1. Verify by clicking the service, if the load balancer is redirecting to the nginx home page. \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/52-harvester-cloud-provider-loadbalancer-rke2.md b/docs/content/manual/harvester-rancher/52-harvester-cloud-provider-loadbalancer-rke2.md index 640a49b14..e36a02333 100644 --- a/docs/content/manual/harvester-rancher/52-harvester-cloud-provider-loadbalancer-rke2.md +++ b/docs/content/manual/harvester-rancher/52-harvester-cloud-provider-loadbalancer-rke2.md @@ -2,6 +2,8 @@ title: 52-Use harvester cloud provider to provision an LB - rke2 --- -1. Provision cluster using rke1 with harvester as the node driver -1. enable the cloud driver for `harvester` while provisioning the cluster -1. run jenkins v3 validation checks once cluster comes to active \ No newline at end of file +1. Provision cluster using rke2 with harvester as the node driver +1. Enable the cloud driver for `harvester` while provisioning the cluster +1. Create a deployment with `nginx:latest` image. +1. Create a Harvester load balancer to the pod of above deployment. +1. Verify by clicking the service, if the load balancer is redirecting to the nginx home page. \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/better-load-balancer-config-rke2-cloud-provider.md b/docs/content/manual/harvester-rancher/better-load-balancer-config-rke2-cloud-provider.md deleted file mode 100644 index 2e3089f01..000000000 --- a/docs/content/manual/harvester-rancher/better-load-balancer-config-rke2-cloud-provider.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Better Load Balancer Config of Harvester cloud provider ---- - - * Related issue: [#1435](https://github.com/harvester/harvester/issues/1435) better loadblancer config of Harvester cloud provider - -## Category: -* Rancher Integration - -## Environment setup -1. Install rancher `2.6.3` by docker -``` -docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.6.3 -``` - -## Verification Steps -1. Import harvester to rancher virtualization management -1. Create a harvester cluster by harvester driver -1. Access the new harvester cluster from rancher cluster management -1. Create a load balancer from service discovery -> services -1. Re login rancher -1. Open create load-balance page -1. Click ctrl+R to refresh page -1. Check the "Add-on Config" tabs - -## Expected Results -1. User can configure `port`, `IPAM` and `health check` related setting on `Add-on Config` page -![image](https://user-images.githubusercontent.com/29251855/141245366-799057f1-2aa7-4d7a-90d2-5e11541ddbc3.png) - -1. Can create load balancer correctly with health check setting \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/rancher-import-harvester-enhacement.md b/docs/content/manual/harvester-rancher/rancher-import-harvester-enhacement.md deleted file mode 100644 index 6c3e30a86..000000000 --- a/docs/content/manual/harvester-rancher/rancher-import-harvester-enhacement.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: Rancher import harvester enhancement ---- - -* Related issues: [#1330](https://github.com/harvester/harvester/issues/1330) Http proxy setting download image - -## Category: -* Rancher Integration - -## Environment setup -1. Install the latest rancher from docker command -``` -$ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.6.3 -``` - - -## Verification Steps -1. Installed a 3 nodes harvester cluster -1. Import harvester to rancher in virtualization management -1. Enable node driver and create cloud credential -1. Provision a RKE2 cluster in rancher -1. Confirm RKE2 cluster is fully operated, can explore it -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/b29e812c-1430-4447-9e34-a52a92895140) -1. Shutdown all 3 nodes server machine -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/c351d09f-4745-4b87-b9a4-30f91cb4ab1f) -1. Wait for 10 minutes -1. Power on all harvester nodes server machines -1. Confirm harvester is fully operated -1. Confirm RKE2 vm is back to running -![image.png](https://images.zenhubusercontent.com/61519853321ea20d65443929/a97b7464-747b-4fee-8368-651270705106) -1. Check the RKE2 cluster status in rancher - - -## Expected Results -The RKE2 cluster in rancher should turn back to `Running` with no error after harvester server node machine is fully power off and power on. diff --git a/docs/content/manual/harvester-rancher/toggle-harvester-node-driver-with-harvester-global-flag.md b/docs/content/manual/harvester-rancher/toggle-harvester-node-driver-with-harvester-global-flag.md deleted file mode 100644 index 5eb8005e4..000000000 --- a/docs/content/manual/harvester-rancher/toggle-harvester-node-driver-with-harvester-global-flag.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: toggle harvester node driver with the harvester global flag ---- - - * Related issue: [#1465](https://github.com/harvester/harvester/issues/1465) toggle harvester node driver with the harvester global flag - -## Category: -* Rancher Integration - -## Environment setup -1. Install rancher `2.6.3` by docker -``` -docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.6.3 -``` - - -## Verification Steps -1. Environment preparation as above steps -1. Open global setting -> feature flag in rancher -1. Check harvester feature flag -1. Open cluster management -> Driver page -1. Check harvester node driver -1. Deactivate harvester feature flag -1. Activate harvester feature flag -1. Deactivate harvester node driver -1. Activate harvester node driver -1. Deactivate both harvester flag and node driver -1. Activate harvester feature flag - -## Expected Results -1. Harvester feature flag will be enabled by default and turned on harvester node driver accordingly -![image](https://user-images.githubusercontent.com/29251855/142818784-21d084eb-ed8e-4f7c-93a7-e224119c0190.png) - -![image](https://user-images.githubusercontent.com/29251855/142818649-8bb1c585-f9dd-47fd-a8a2-80558f59fafd.png) - -1. If the feature flag was turned off, nothing will change to the Harvester node driver. -![image](https://user-images.githubusercontent.com/29251855/142819289-6e06b72f-6631-44f1-83e1-77947dc4ba6d.png) - -![image](https://user-images.githubusercontent.com/29251855/142819219-0f3a4eaf-f837-49cf-bdc7-347ff38c7a88.png) - -1. Enable/disable the Harvester node driver will not affect the state of the feature flag. -![image](https://user-images.githubusercontent.com/29251855/142819526-321e2ead-474c-403a-88e6-14445f316c6c.png) - -![image](https://user-images.githubusercontent.com/29251855/142819705-347aab30-cd92-4b45-935f-a3f0dcd17342.png) - - -1. If the feature flag was turned on, we enable the Harvester node driver automatically -![image](https://user-images.githubusercontent.com/29251855/142819920-3b29e61a-7543-44e0-830c-4c450a1b30fa.png) \ No newline at end of file diff --git a/docs/content/manual/harvester-rancher/use-template-to-create-cluster-through-virtualization management.md b/docs/content/manual/harvester-rancher/use-template-to-create-cluster-through-virtualization management.md deleted file mode 100644 index 467fbbbab..000000000 --- a/docs/content/manual/harvester-rancher/use-template-to-create-cluster-through-virtualization management.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: Use template to create cluster through virtualization management ---- - - * Related issue: [#1620](https://github.com/harvester/harvester/issues/1620) User is unable to use template to create cluster through virtualization management - -## Category: -* Rancher Integration - -## Environment setup -1. Install rancher `2.6.3` by docker -``` -docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.6.3 -``` - -## Verification Steps -1. Import harvester from rancher through harvester settings -1. Access harvester from rancher virtualization management page -1. Open Virtual Machine page -1. Click create -1. Check `Use VM Template` -1. Select one of the template -1. Create VM according to the template - -## Expected Results -Access harvester from Rancher, on virtual machine page can load default three template to create VM. - -**iso image base template** - -![image](https://user-images.githubusercontent.com/29251855/145583546-59cea4ea-4072-437e-9cf7-2449776abb56.png) - -**raw image base template** -![image](https://user-images.githubusercontent.com/29251855/145583593-5aa7c897-f3dc-4fa1-9b94-750794a3e88e.png) - -**windows iso image base tempalte** -![image](https://user-images.githubusercontent.com/29251855/145583672-72255932-72ee-4a88-b38a-8830789040c8.png) - -**Create vm with iso template** -![image](https://user-images.githubusercontent.com/29251855/145586368-5a5b640b-3955-403b-8149-ff8657e2aa26.png)