Commit Graph
30 Commits
Author SHA1 Message Date
Travis Nielsen 9a66f59065 Merge pull request #1178 from kokhang/fix-minikube
Execute createRBAC function after images are copied
2017-11-02 10:27:00 -07:00
Steve Leon 97029aca28 Execute createRBAC function after images are copied
- There is a race condition where the k8s api is not finished
registering objects and the script tries to create RBAC objects
- Having the RBAC objects created after the images are copied should
give it enought time for the k8s api to finish registering objects
2017-11-02 10:11:44 -07:00
Divesh Angula f07b4cfa03 kubeadm join update for 1.8
- update default values for load test.

review changes
2017-11-01 15:26:34 -07:00
Travis Nielsen fc5d3090cc core: persist the config data in examples by default to /var/lib/rook 2017-11-01 10:02:37 -07:00
Pavel Snagovsky ad746c1667 restart pods for minikube kubectl context 2017-10-31 11:50:19 -07:00
Divesh Angula 94e47f054b adding support for testing with all devices on cluster 2017-10-26 19:32:19 -07:00
Travis Nielsen 1da5a52eb2 scripts: set default minikube test env to 1.8.0 2017-10-25 15:05:18 -07:00
Divesh Angula 3292bff094 fix kube-dns CrashLoopBackOff issue with RBAC enabled minikube 2017-10-24 14:55:34 -07:00
Travis Nielsen 4e36a16406 minikube: add helm stable repo to test env 2017-10-13 15:05:25 -07:00
Steve Leon cbb96feb1d Overriding service via drop-in file instead of sed
fixes https://github.com/rook/rook/issues/1057
2017-10-12 17:02:57 -07:00
Steve Leon e290cee720 Executing modprobe in agent pod
Fixes https://github.com/rook/rook/issues/1062
2017-10-12 14:44:26 -07:00
Steve Leon b4279e06fb Rook plugin for Kubernetes implemented as flexvolume
- Operator is deployed under namespace rook-system
- Operator deploys rook-agent on all nodes as daemonset also on
  rook-system
- Rook-agent installs flexvolume driver on hosts
- Rook-agent listens on unix socket for driver requests
- Rook-agent perform attach/detach on its node
- Rook-agent creates/delete CRD volumeattach objects
- Added fencing to support ROX and RWO
- Added unit and integration tests
- Updated examples and docks

fixes #432
2017-10-09 09:14:08 -07:00
Divesh Angula ad0616597b adding k8s 1.8 to ci pipeline 2017-10-04 15:22:40 -07:00
Jared Watts 769fb330a9 tests: update testing documentation and minor fixes 2017-09-28 17:01:05 -07:00
Divesh Angula b4ed7f0cc7 Adding support for multi node k8s install via kubeadm 2017-09-25 15:09:22 -07:00
Divesh Angula 9e08afb015 creating tests for multi cluster rook install
- refactoring basic tests so they can be reused with different rook installations
2017-09-13 15:48:58 -07:00
Alexander Trost 3aeb529e84 operator/mon: check if node for the mon is not ready and time it out
separately (240s)

Added comments

operator/mon: made the doc for the nodeState better

Renamed the monHealth to monTimeoutList

Renamed the monOutInterval to monOutTimeout

operator/mon: Implemented the feedback

tests/smoke: Corrected mon_test comment

smoke/mon: set interval and timeout for health check

Added build constraint to smoke/mon_test for linux

As written here https://github.com/rook/rook/pull/958#issuecomment-327507930

Removed controller.go healthCheckInterval

Set the interval for mon_test in smoke_test SetupSuite()

Fixed the smoke test by adding the build constraint

Removed obsolete clientTimeout from operator/cluster

Ran gofmt on block_test and helm_test

Use flags for the mon healthcheck and mon out timeout config

Added helm chart value sfor healthCheckInterval and monOutTimeout

Fixed the timeout map in mon/health.go

Fixed issues with some tests stuff

Reference the operator/mon defaults in the flags

Added Documentation for Ceph mon failover times env vars

Added missing toc link in documentation

Removed "Tweak Ceph mon failover times" to comments in rook-operator.yml
2017-09-07 11:11:34 +02:00
Divesh Angula ded84c9ce7 add integration tests for helm 2017-09-06 10:32:05 -07:00
Divesh Angula ee16ca83ad ci updates
- converting results to junit
 - better handling for apt-get install on slaves
 - better support for running tests on minikube and kubeadm
 - update default minikube k8s version to v1.7.2
 -use k8s 1.7.4 for kubeadm
2017-08-23 10:34:21 -07:00
Travis Nielsen c2118328d7 tests: minikube default version 1.7.2 2017-08-08 07:37:25 -07:00
Divesh Angula 1bcc399599 make sure dpkg lock is not present defore doing apt-get install 2017-08-03 15:22:42 -07:00
Divesh Angula 1c1470e28c run test on single node kubeadm 2017-08-03 09:03:27 -07:00
Travis Nielsen ba0bb27d92 tests: dev helpers to work with test env 2017-08-02 22:00:49 -07:00
Divesh Angula da8fcaa623 refactor integration tests.
-rename tests following pattern area_functionalunit_platfrom_test.go
 -removing unused code
 -not accessing static test files
2017-07-27 12:01:16 -07:00
Travis Nielsen 0a78728f59 tests: k8s api client and more test logging 2017-07-20 23:30:32 -07:00
Divesh Angula c46a930ad8 adding support for running tests on multiple k8s versions 2017-07-20 14:47:46 -07:00
Divesh Angula 394df46889 improve logging and fix lint issues 2017-07-14 14:10:31 -07:00
Divesh Angula c6556c2583 adding common test setup and teardown to install and uninstall rook. 2017-06-30 12:16:10 -07:00
Bassam Tabbara bd1287817f testing: initial support for minikube 2017-06-29 15:20:28 -07:00
Bassam Tabbara e4b1db9bc9 tests: refactor integration tests
refactor integration tests splitting out the kubernetes
cluster setup to just be in a script and making it the reponsibility
of the host/user/jenkins.

integration tests now run just like unit tests using "go test".
2017-06-29 15:20:28 -07:00