Commit Graph
104 Commits
Author SHA1 Message Date
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
Divesh Angula 52c72c30f1 updating block integration test - creating pool, storageclass and pvc via one yaml def. 2017-10-12 09:23:41 -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
Travis Nielsen ba628c6307 cephfs: create file system with a CRD
- multiple file systems are allowed
- multiple mds instances are allowed per file system.
- a keyring is created per mds instance
- double the desired mds instances are started, half in standby mode
2017-10-05 14:21:48 -07:00
Divesh Angula ad0616597b adding k8s 1.8 to ci pipeline 2017-10-04 15:22:40 -07:00
Jared Watts 113e861020 osd: Allow OSDs to recover from losing all their metadata and config 2017-10-03 15:54:02 -07:00
Divesh Angula a8a6a56939 copy rook images to all nodes. 2017-10-02 13:38:27 -07:00
Travis Nielsen 0a8d7b2e2c rgw: proper naming for the ObjectStore crd 2017-09-29 15:49:23 -07:00
Travis Nielsen 314a8878c7 tests: k8s helper to check for min version 2017-09-29 15:49:23 -07:00
Divesh Angula ec069f5c8f fix version wget on PR 2017-09-29 11:37:29 -07:00
Jared Watts 769fb330a9 tests: update testing documentation and minor fixes 2017-09-28 17:01:05 -07:00
Divesh Angula 2376e36a8c create new jenkins pipeline
- setup 3 node k8s
 - complete regression
 - longhaul testing
2017-09-28 10:22:42 -07:00
Divesh Angula 57def09fbd fix block longhaul test 2017-09-26 11:26:54 -07:00
Divesh Angula b4ed7f0cc7 Adding support for multi node k8s install via kubeadm 2017-09-25 15:09:22 -07:00
Divesh Angula 1edfe8f59b move pool resize test from smoke package to integration package. 2017-09-21 22:12:01 -07:00
Divesh Angula 21228d4d4b CI updates
- Add support for running individual test in a tests suite
 - building integration and longhaul test binaries
 - Addiing support for skipping CI or running just smoke test on a PR.
2017-09-21 15:52:12 -07:00
Alexander Trost a0e7dcdc03 Added ability to update pool size by changing pool crd 2017-09-21 08:32:16 +02:00
Travis Nielsen a53f1b3990 tests: access rgw external port only when necessary 2017-09-20 09:43:55 -07:00
Travis Nielsen 4f4e08e1a5 tests: e2e test for creating the object store crd 2017-09-19 15:31:53 -07:00
Travis Nielsen 0553f6e512 rgw: support http and https ports both listening 2017-09-19 15:31:53 -07:00
Travis Nielsen dce1e97381 rgw: api support for multiple object stores 2017-09-19 15:31:53 -07:00
Travis Nielsen 748d8455aa rgw: support deleting an object store 2017-09-19 15:31:53 -07:00
Travis Nielsen ce997bbaf6 rgw: get configured object stores 2017-09-19 15:31:53 -07:00
Travis Nielsen c2f4aab89c rgw: object store crd creates a realm and rgw services 2017-09-19 15:31:53 -07:00
Alexander Trost 4f4f727bcd Added hostNetwork option to cluster spec 2017-09-18 19:57:20 +02: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
Divesh Angula 6f51ef66fe uninstall helm after tests runs 2017-09-07 10:05:44 -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
Travis Nielsen e361879672 rgw: set the first object store as the default realm and zonegroup 2017-09-06 16:55:23 -07:00
Travis Nielsen 15809f4842 rgw: support pool config during object store creation 2017-09-06 16:55:23 -07:00
Divesh Angula ded84c9ce7 add integration tests for helm 2017-09-06 10:32:05 -07:00
Divesh Angula 99c9b46279 gather rook logs on test failures. 2017-08-24 11:17:42 -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
Travis Nielsen ec181c0390 logs: stop writing the frequent health check 2017-08-07 10:58:52 -07:00
Bassam Tabbara e9a2aabdd9 rename ROOKD_ env to ROOK_ 2017-08-04 09:51:23 -07:00
Travis Nielsen 2df3d9f5bf daemon: set public and cluster addr in the ceph config 2017-08-04 00:04:50 -07:00
Travis Nielsen 7d084fa3c7 operator: mons based on service ip instead of pod ip 2017-08-04 00:04:50 -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
Travis Nielsen 60b801e6e6 tests: improve the kube context detection 2017-08-02 20:06:07 -07:00
Steve Leon 709b7ddafe Using CRD instead of TPR
- Use CRD for clusters and pools
- For k8s before 1.7.0, TPR will be used
- Also use the watcher libraries in client-go
2017-07-27 16:14:52 -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
Bassam Tabbara 5d09227407 tests: explicitly run the smoke tests 2017-07-20 17:34:19 -07:00
Bassam Tabbara d8dc2c35b9 ensure test code is all covered by gofmt 2017-07-20 16:01:51 -07:00
Divesh Angula c46a930ad8 adding support for running tests on multiple k8s versions 2017-07-20 14:47:46 -07:00
Divesh Angula c464f6fa1e removing test init - singleton installation of rook 2017-07-20 14:02:47 -07:00