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
Bassam Tabbara
fc308583fb
Merge pull request #1379 from travisn/remove-versiontag
...
Remove versionTag from the cluster crd docs
2018-01-04 16:56:53 -08:00
Travis Nielsen
8cdb02e32e
docs: remove versionTag from the cluster crd
2018-01-04 14:57:27 -08:00
Divesh Angula
d7f92b19c1
code review changes : - using strongly type k8s api for statefulset spec
2018-01-04 12:44:46 -08:00
Divesh Angula
a33c58ab71
adding additional tests for block storage
...
- tests creating pvcs with various AccessModes
- Mounting and unmounting PVCs with various AccessModes
- Scaling up PVCs via stateful sets
2018-01-02 20:35:31 -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
Travis Nielsen
82cce0d8af
operator: remove versionTag in favor of container image version
2017-12-13 10:12:09 -08:00
Travis Nielsen
0298d1fb29
completed conversion for k8s 1.8 client conversion
...
move core rados packages under cluster folder
move daemons under daemon pkg
rename flex crd package to attachment
pin dep to k8s 1.8.2
2017-12-11 14:35:07 -08:00
Bassam Tabbara
9b611abda7
inital attempt at upgrading to kubernetes 1.8
...
Update all K8s dependencies to the release-1.8 branches.
Added build and make file support for generating code.
Fixed our use of client-go to match changes in new release.
2017-12-11 14:34:24 -08:00
Divesh Angula
bcc6d665ee
fix testify.m flag
2017-12-08 11:25:13 -06:00
Jared Watts
8ef8718efb
tests: integration test for flexvolume path discovery
2017-11-27 10:06:20 -08:00
Jared Watts
df22444045
Merge pull request #1223 from dangula/pr_recoverTestAfterPanic
...
recover tests from panic and capture logs.
2017-11-20 15:44:55 -08:00
Divesh Angula
0ebf7a4bb0
recover tests from panic and capture logs.
2017-11-20 13:29:28 -05:00
Divesh Angula
700ace2647
adding long haul test for object store.
2017-11-16 16:22:32 -08:00
Travis Nielsen
6140a0fb34
Merge pull request #1182 from kokhang/volumeattachment-int-test
...
Check volumeattachment crd in integration tests
2017-11-03 22:04:53 -07:00
Steve Leon
58f0a32b62
Check volumeattachment crd in int-tests
...
Fixes https://github.com/rook/rook/issues/1175
2017-11-03 17:24:01 -07: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
f7488e3e81
move block test data into common package.
2017-10-26 16:18:51 -07:00
Divesh Angula
9bb856a04f
review changes
2017-10-18 18:31:51 -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
Divesh Angula
4340890773
adding clean up check to wait until pvc is deleted
2017-10-13 16:38:56 -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
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
Jared Watts
769fb330a9
tests: update testing documentation and minor fixes
2017-09-28 17:01:05 -07:00
Divesh Angula
57def09fbd
fix block longhaul test
2017-09-26 11:26:54 -07: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
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