Commit Graph
83 Commits
Author SHA1 Message Date
Kaushal M 16506e4f7a tests/scripts: Fix minikube script
Default to virtualbox driver. `minikube config get vm-driver` does not
work when default is used.

Fixes #3208.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-05-22 13:43:57 +05:30
Alexander Trost 88013858bd Merge pull request #3199 from galexrt/fix_k8s-multi-node-test-script
tests: fix git describe repo path in k8s-vagrant-multi-node script
2019-05-19 22:40:33 +02:00
Alexander Trost 57b2ae112f tests: fix git describe repo path in k8s-vagrant-multi-node script
This fixs that the `git describe` is run with the `-C REPO_PATH` flag to
correctly get the latest tag of the k8s-vagrant-multi-node repo and not
the Rook repository.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-05-19 20:51:37 +02:00
Kaushal M 24d7c3059b tests/scripts: Fix minikube script for libvirt
The minikube script now uses the proper disk path (vda) when minikube is
configured to run with the libvirt driver.

Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-05-16 21:30:02 +05:30
Santosh Pillai 7f5b184e40 added missing semicolon to k8s-vagrant-mutli-node.sh file
Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2019-04-29 13:40:16 +05:30
travisn dd94fd14e3 tests: add k8s 1.14 to the integration test matrix
Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-25 15:53:19 -06:00
travisn eb74bf5547 Configure a cluster in the same namespace as the operator
To simplify the deployment of Rook, both the operator and cluster crd are now created in the
same namespace in the examples. By default the operator will only manage a cluster crd
in the same namespace instead of watching for clusters in all namespaces. To manage a cluster
in another namespace, the roles in latter half of operator-common.yaml need to point to the new
namespace and the operator env var ROOK_CURRENT_NAMESPACE_ONLY should be set to false.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-04 12:42:08 -06:00
Christopher P. Maher 4954a32940 Adding install for kubernetes-cni for integration tests
Signed-off-by: Christopher P. Maher <chris@mahercode.io>
2019-03-28 09:32:57 -07:00
Alexander Trost 64a9308d07 tests/scripts: Added basic k8s-vagrant-multi-node wrapper script
This adds a basic wrapper script around k8s-vagrant-multi-node project.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-03-18 15:30:31 +01:00
Christopher P. Maher 19d953d51f Changing timeout for dpkg unlock for Ubuntu GCE CI/CD systems
Signed-off-by: Christopher P. Maher <chris@mahercode.io>
2019-01-23 22:11:46 -08:00
Travis Nielsen 2a6d89ff78 Merge pull request #2381 from travisn/add-remove-k8s-tests
Remove 1.8 and 1.9 and add 1.13 to integration tests
2018-12-20 09:38:19 -07:00
travisn 0230400e27 build: remove 1.8 and 1.9 and add 1.13 to integration tests
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-19 23:42:01 -07:00
Jared Watts d1414e92a1 Merge pull request #2389 from farhaanbukhsh/grammar-fix
Fix the typo in helm.sh
2018-12-17 16:53:18 -08:00
Earl C. Ruby III 3b727d8c98 Fix the test function that deletes the replicapool
The command `kubectl delete -n rook-ceph pool replicapool` used to
work, but currently returns the error `error: the server doesn't
have a resource type "pool"`. The actual resource type is
`cephblockpools`. The resource type `cluster` was also recently
changed to `cephcluster`.

Since the function commands end with `|| true`, the errors are
silently masked and the resources are not deleted.

This PR adds delete commands for `cephblockpools` and `cephcluster`,
so that regardless of whether you're testing old or new versions
of Rook the delete commands will work.

Signed-off-by: Earl C. Ruby III <earlruby@users.noreply.github.com>
2018-12-17 15:38:25 -08:00
Farhaan Bukhsh f77fc727ca Fix the typo in helm.sh
Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
2018-12-16 22:09:00 +05:30
travisn a29b876337 rename ceph v1 crds with the ceph prefix
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-05 16:23:55 -07:00
Yannis Zarkadas b23d874856 cassandra: integration tests and scripts
Simple integration test for Cassandra.
Boilerplate in setup scripts for Jenkins.

Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com>
2018-12-05 12:50:09 +02:00
Jared Watts 2274f78683 Fixes for running Ceph, CockroachDB, and Minio demos
- Add cluster domain to minio spec
- Remove port configuration from minio spec
- Include unused packages for codegen related repos
- Update Minio version to pick up latest fixes
- Helper to load cockroachdb demo images into minikube

Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-11-08 10:52:49 -08:00
travisn b5862ca062 minikube: start version 1.12.2 by default
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-26 15:17:05 -06:00
mickymiek f93128b2d9 make sure integration tests works on k8s 1.12
Signed-off-by: mickymiek <meunie_m@etna-alternance.net>
2018-10-10 17:12:51 +02:00
travisn efd581e7ed start toolbox pod with the ceph image instead of a separate image
Signed-off-by: travisn <tnielsen@redhat.com>
2018-10-02 15:43:53 -06:00
Alexander Trost c1da6999bf Merge pull request #2060 from galexrt/fix_981
build: Only install helm if needed and use a temp path
2018-09-12 19:22:19 +02:00
Alexander Trost 5d8d2b5b5a build: Only install helm if needed and use a temp path
Resolves #981

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-09-11 14:21:48 +02:00
Ratnadeep Debnath 96400d696a Update Jenkinsfile and other scripts to set k8s 1.8 as the min reqd version.
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com>
2018-08-28 20:10:47 +05:30
rohan47 9aec1d3002 nfs: Documentation, user guides, examples
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 11:57:44 +00:00
rohan47 f31044b269 nfs: integration tests and scripts
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 10:34:40 +00:00
Alexander Trost 304eafa07d Ceph: Improve erasure coded filesystem docs
Replace `rook-operator.yaml` mentions with `operator.yaml` as it is
named right now.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-08-19 13:23:23 +02:00
travisn 19cf1860f1 tests: skip rbd volumes for osds
Signed-off-by: travisn <tnielsen@redhat.com>
2018-08-07 09:01:11 -06:00
Travis Nielsen 53d6d8cc43 Merge pull request #1968 from travisn/minikube-update-images
Update only the images desired in minikube
2018-07-31 16:55:22 -06:00
travisn 8dcc6e70fd minikube: update only the images desired
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-31 14:57:48 -06:00
travisn 7f02ab3483 tests: add k8s 1.11 to the matrix
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-27 16:45:09 -06:00
Blaine Gardner fe5fb394c7 Fix spellcheck and trailing space/newline issues
Fix some basic spellcheck errors. Also remove trailing spaces and make
sure files have a newline (my editor does automatically).

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-07-26 11:36:09 -06:00
Huamin Chen 82425aafcc prepare osd in a job per node. Once all osds are prepared, store osd info in orchestration configmap.
Operator watches the configmap, starts one osd replica set per osd.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-05 16:02:27 -06:00
travisn 89cfccd5a2 enable rook to run on openshift
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 11:20:43 -06:00
travisn b44c2006f7 test minishift script
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-29 16:09:54 -06:00
Alexander Trost f6aab8ef66 tests: Cleanup/Removed unnecessary whitespaces/new lines in scripts/docs
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-24 18:39:07 +02:00
Tony Allen 7442f8713b Implement Minio operator w/ tests.
Signed-off-by: Tony Allen <tony@upbound.io>
2018-06-21 16:41:30 -07:00
Jared Watts 0b8a8c2b65 cockroachdb: integration tests and scripts
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-06-18 19:19:15 -07:00
Ganesh Maharaj Mahalingam b79a525f40 Rook test script fix
Recent change to support multiple backends changed the docker image name
but missed the change in the test script. This patch addresses that
issue.

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2018-05-24 23:32:41 -07:00
Jared Watts e48e951d1c Rename toolbox to make it Ceph specific, short names for CRDs, upgrade guide tweaks
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-05-22 12:31:38 -07:00
travisn 9f33ca2421 test: integration tests updates for multiple storage types
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-18 14:32:47 -07:00
travisn 33e995b595 build: add k8s 1.10 to the integration test
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-15 15:05:48 -07:00
travisn fc9118f7b2 remove support for k8s 1.6 and TPRs
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-08 10:09:38 -07:00
travisn c8e708674c set default k8s version for minikube to 1.10.0
Signed-off-by: travisn <tnielsen@redhat.com>
2018-04-12 15:53:17 -07:00
Illya Chekrygin c27bfc3bb4 Define CRD's as a part of the operator provisionning and remove it from operator init phase
Remove empty try/catch (erroneous commit)
Update Teardown documentation
Update PendingReleaseNotes with Operator resource changes

Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com>
2018-04-05 09:54:22 -07:00
travisn 39cbbcc929 minikube: no need to set the kubelet ip for external access
Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-22 16:08:07 -07:00
Dan Mick e013ef058d Wait for Rook operator to become ready on redeploy
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-02-26 13:12:36 -08:00
Dan Mick c6c1f47240 Remove note about purge-ceph.sh
This is now done on each VM by default

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-02-26 13:12:36 -08:00
Dan Mick 260b9ae4e6 build-rook.sh: only replace kubectl conf if needed
Avoids buildup of backup files

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-02-26 13:12:36 -08:00
Sébastien Han 3c6fa79518 doc: add doc for multi-node setup and dev workflow
This commit adds instructions to develop on a multi-node deployment,
which is somehow similar to a production setup.
It also proposes a development workflow approach to
write/build/test/ship
code to Rook.

Signed-off-by: Sébastien Han <seb@redhat.com>
2018-02-21 17:45:49 +01:00