Commit Graph

3005 Commits

Author SHA1 Message Date
Chandan Kumar 53329174a9 Add playbook for create ebs-volume in aws
- Add `create-ebs-volume.yml` playbook will create, attach and mount ebs-volume.
- Add `delete-ebs-volume.yml` playbook will unmount, detach and delete ebs-volume.
- Add `vars.yml` will store all variable data.

Signed-off-by: Chandan Kumar <chandan.kr404@gmail.com>
2018-08-10 14:19:13 +05:30
Karthik Satchitanand b340d4e612
Merge pull request #83 from shashank855/percona_litmus
Add litmusbook for percona deployment
2018-08-10 09:14:36 +05:30
ksatchit b495249726 Some recent changes to the gometalinter is seen to break the CI. This commit excludes gosec linter (suspected lint tool)
Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-08-10 08:30:55 +05:30
Karthik Satchitanand 8b75781701
Merge pull request #87 from ashishranjan738/openebsinstaller0.6
Fixes invalid storage pool name in storage class of openebs 0.6
2018-08-09 19:35:07 +05:30
Ashish Ranjan 071841c20e Fixes invalid storage pool name in storage class of openebs 0.6
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2018-08-09 19:12:41 +05:30
ranjanshashank855 095f72b764 Added a task for test-specific-namespace
Signed-off-by: ranjanshashank855 <ranjanshashank855@gmail.com>
2018-08-09 17:15:44 +05:30
ranjanshashank855 85044bbe29 Addressing review comments
Signed-off-by: ranjanshashank855 <ranjanshashank855@gmail.com>
2018-08-09 13:23:46 +05:30
Karthik Satchitanand 6f11d64e27
Merge pull request #86 from ashishranjan738/openebsinstaller0.6
Add StorageClass.yaml and StoragePool.yaml in openebs litmusbook v0.6
2018-08-09 11:29:29 +05:30
Ashish Ranjan ad2beec576 Add storage class and storage in openebs litmusbook 0.6
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2018-08-08 16:23:35 +05:30
ranjanshashank855 b11d1944e1 Make changes as per requested
Signed-off-by: ranjanshashank855 <ranjanshashank855@gmail.com>
2018-08-07 15:24:49 +05:30
ranjanshashank855 baed29fd45 changes made as per requested.
This commit adds following files:
1. percona-installer.yaml
2. percona.yaml
3. deploy_percona_litmus.yaml
4. percona_vas.yaml

Signed-off-by: ranjanshashank855 <ranjanshashank855@gmail.com>
2018-08-07 01:39:17 +05:30
Ashish Ranjan 2b787c4bf3 Adds litmus and ansible books to install openebs v0.7 using litmus
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2018-08-06 16:18:37 +05:30
ranjanshashank855 e105351c02 Add a file percona-installer.yaml
Signed-off-by: ranjanshashank855 <ranjanshashank855@gmail.com>
2018-08-05 19:04:44 +05:30
Karthik Satchitanand 0bdcf2af2d
Merge pull request #80 from ashishranjan738/openebsinstaller
Adds litmus book to install openebs 0.6
2018-08-03 17:25:03 +05:30
ranjanshashank855 078071a944 Change the directory name to lowercase
Signed-off-by: ranjanshashank855 <ranjanshashank855@gmail.com>
2018-08-03 17:09:56 +05:30
ranjanshashank855 90e78f4f5f Add litmusbook for percona deployment
This commit does following:

1. Add a file "deploy_percona_litmus.yaml"

Signed-off-by: ranjanshashank855 <ranjanshashank855@gmail.com>
2018-08-03 15:33:05 +05:30
Ashish Ranjan 798c42e4b0 Modified openebs playbook to use external vars file and changed its location in runner image
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2018-08-03 10:55:02 +05:30
Karthik Satchitanand d628886ccf
Merge pull request #78 from chandankumar4/aws-k8s-pre_requisite
Add playbbok for create & delete pre-req. in AWS
2018-08-02 12:54:26 +05:30
Karthik Satchitanand 5a20d301cf
Merge pull request #79 from harshvkarn/gcp-k8s
Add playbooks to create and delete k8s cluster in GCP
2018-08-02 12:53:52 +05:30
harshvkarn 51b2823475 Remove only cluster name entry from the cluster names log
Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-08-02 12:50:23 +05:30
Chandan Kumar a9071a269b Add README.md file for AWS cluster creation
Signed-off-by: Chandan Kumar <chandan.kr404@gmail.com>
2018-08-02 12:44:09 +05:30
Ashish Ranjan 93ae2a9f79 Merge branch 'master' of ssh://github.com/openebs/litmus into openebsinstaller 2018-08-02 12:08:17 +05:30
Ashish Ranjan 9dd3be9334 Adds litmus book for setting up openebs 0.6
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2018-08-02 12:05:28 +05:30
Chandan Kumar fcd5da8ee1 Modify pre-requsite and delete-pre-requisite
Signed-off-by: Chandan Kumar <chandan.kr404@gmail.com>
2018-08-01 23:45:00 +05:30
harshvkarn af2202de5b Refactor namesgenerator.py
Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-08-01 15:13:53 +05:30
harshvkarn 0156a70500 Add README with steps to run and optional vars
Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-08-01 13:53:06 +05:30
harshvkarn e995db70d3 Add unit-test case for namesgenerator.py
Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-08-01 13:51:12 +05:30
harshvkarn 3e61053fe1 Add playbooks to create and delete k8s cluster in GCP
- Add `create-k8s-cluster.yml`, a ansible playbook on execution will create a cluster,
  depending upon the name passed, or will auto generate in Google Cloud Platform
  using kops
- Add `delete-k8s-cluster.yml`, a ansible playbook is responsible for deleting the cluster
  with specified name, or delete the last installed cluster
- Add `namesgenerator.py` used to generate docker based random name, if not specified
  in --extra-vars

Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-08-01 13:41:31 +05:30
harshvkarn c91c33b81f Remove hard-coded VPC and Project name
- Remove VPC name and project name from create and delete vpc playbooks
- Remove included variable file, since variable is not required
- Use `-extra-vars` while running playbooks, w/ variables,
  `vpc_name` & `project`

Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-07-31 19:37:06 +05:30
Chandan Kumar cbb1390747 Add playbbok for create & delete pre-req. in AWS
Signed-off-by: Chandan Kumar <chandan.kr404@gmail.com>
2018-07-31 18:04:10 +05:30
Uma Mukkara 9e07f50f5a
Merge pull request #77 from harshvkarn/gcp-k8s-vpc
Add playbooks to create and delete VPC in GCP
2018-07-31 13:54:02 +05:30
harshvkarn b317d8c80e Add playbooks to create and delete VPC in GCP
- Add `create-vpc.yml`, a ansible playbook on execution will create a vpc,
openebs-ci, in Google Cloud Platform, with a subnet in every region,
 using gcloud per se
- Add `delete-vpc.yml`, a ansible playbook is responsible for deleting the vpc
openebs-ci, and also deleting the routes if exists

Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-07-31 11:50:57 +05:30
Karthik Satchitanand 13610dfbbd
Merge pull request #76 from harshvkarn/update-readme
Update README with Pre-Requisites
2018-07-27 15:57:01 +05:30
harshvkarn 212b7f04fa Reference test pre-requisite to main README
- Reference `mysql_data_persistence` test pre-requisite to main README
- Reference `mysql_storage_benchmark` test pre-requisite to main README

Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-07-27 12:04:53 +05:30
harshvkarn 62f2e70dcd Update README with Pre-Requisites
- Add line to check if desired storage operators are available on cluster
- Add missing namespace `litmus` command to create `configmap`

Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-07-26 12:03:53 +05:30
ksatchit 27ea1133ee Migrate test tools to a different repo
Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-07-26 08:45:20 +05:30
ksatchit cf73b0ba2d Include custom ansible stdout callback plugin "actionable"
Minor test updates to chaos type and duration

Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-07-24 17:44:24 +05:30
ksatchit fcc5c1d1e1 Introduce ability to select the type of chaos via ENV in test job
Add chaos modules to remove node (cordon + drain) & issue SIGKILL to pods via pumba
Update test README with new details

Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-07-24 10:04:38 +05:30
ksatchit a0c11741ef Add step in README to create configmap from the in-cluster-config (kubeconfig)
Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-07-10 20:38:12 +05:30
ksatchit 09017b0b5a Add dedicated logdir to each test
Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-07-10 19:09:00 +05:30
Karthik Satchitanand 4c1c44d934 Add litmus test to check mysql data persistence upon forced reschedule (via pod evictions) (#65)
* Include simple chaos test to force pod evictions on node and verify MySQL persistence
* Include README file with test info

Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-07-10 12:13:08 +05:30
ksatchit dbaa2e0dbd Removed provider specific params from test vars
Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-07-09 09:32:12 +05:30
ksatchit 8ab13b93d3 Include litmus test for fio-based benchmark
Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-07-09 09:32:12 +05:30
Utarsh Gupta ff9fc9e29c [Added] PULL_REQUEST_TEMPLATE.md
Closes https://github.com/openebs/litmus/issues/17

Signed-off-by: Utarsh Gupta <guptautkarsh2102@gmail.com>
2018-07-03 12:27:44 +05:30
tanishajalota 79b2f61e2c [Added] ISSUE_TEMPLATE.md
Signed-off-by: Tanisha Jalota <tanishajalota@gmail.com>

Closes https://github.com/openebs/litmus/issues/16
2018-07-02 23:31:09 +05:30
ksatchit 6b382c2bb0 Implement retry logic based on mysql server state in tpcc-runner
---------------------------------------------------------------

- Improve tpcc-runner to check mysql server connectivity & perform fixed retries
- Removed the default wait time in the tpcc-bench sidecar of percona-mysql pod
- Replaced the litmus ansible-runner image

Signed-off-by: ksatchit <karthik.s@openebs.io>
2018-06-30 22:44:04 +05:30
Karthik Satchitanand 77808fb0ed
Merge pull request #59 from DipanshKhandelwal/patch-1
Update link formatting in README
2018-06-27 08:28:12 +05:30
Dipansh Khandelwal 8a8dec5d5e
Update link formatting in README 2018-06-27 05:15:49 +05:30
Amit Kumar Das 69c679f9fc
Merge pull request #50 from yudaykiran/FixforIssue#49
FixforIssue#49 - Adding litmus demo video to the README.md
2018-06-26 09:43:30 +05:30
Uday Kiran Y f37ee2c304 - Resolving review comments.
Signed-off-by: Uday Kiran Y <uday.kiran@openebs.io>
2018-06-22 11:48:43 +05:30