Travis Nielsen
107839fc65
tests: call rook clientset to create test cluster and consolidate cleanup
2018-01-10 10:48:17 -08:00
Travis Nielsen
4c22dc4fc2
operator: implement a finalizer for the cluster
2018-01-10 10:48:17 -08:00
Divesh Angula
5106b3f0f1
test: fix integration test flags initilization
2017-12-15 13:11:28 -08:00
Divesh Angula
a53e04276b
add rook setup to test operations interface
2017-12-14 15:56:05 -08:00
Divesh Angula
0ebf7a4bb0
recover tests from panic and capture logs.
2017-11-20 13:29:28 -05:00
Steve Leon
544b208ac7
Create RBAC roles and service account for agents
...
fixes https://github.com/rook/rook/issues/1041
2017-11-03 11:12:56 -07:00
Jared Watts
5eeeedbafd
docs/tests: update remaining rook-tools yaml examples to mount mon endpoints configmap
2017-10-31 08:38:25 -07:00
Travis Nielsen
66efebf28a
tests: more efficient cluster creation and teardown
2017-10-27 14:37:56 -07:00
Divesh Angula
94e47f054b
adding support for testing with all devices on cluster
2017-10-26 19:32:19 -07:00
Divesh Angula
6a7def1204
adding new scenarios for block longhaul test
...
- mount block volume once
- mount and unmount volumes per test
- run block test with fencing.
2017-10-18 18:04:56 -07:00
Divesh Angula
b4ed758720
integration tests updates
...
- remove standalone references
- fail test and gather logs if test setUp fails - not paniking anymore.
2017-10-18 15:47:06 -07:00
Jared Watts
fe2ae89f37
Fix the multiple cluster integration tests by updating api/osd RBAC settings to be scoped to just a single namespace
2017-10-18 13:28:13 -07:00
Jared Watts
d032222cfd
osd: enable bluestore on directories
2017-10-18 13:28:13 -07:00
Travis Nielsen
e05529ac21
tests: each suite has its own namespace
2017-10-17 23:08:07 -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
Jared Watts
113e861020
osd: Allow OSDs to recover from losing all their metadata and config
2017-10-03 15:54:02 -07:00
Travis Nielsen
314a8878c7
tests: k8s helper to check for min version
2017-09-29 15:49:23 -07:00
Travis Nielsen
4f4e08e1a5
tests: e2e test for creating the object store crd
2017-09-19 15:31:53 -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
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
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
Divesh Angula
c464f6fa1e
removing test init - singleton installation of rook
2017-07-20 14:02:47 -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