travisn
06a2461cac
cleanup some errors in integration tests
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:36 -06:00
travisn
7d97b6ad76
osd: use the node hostname labels instead of node names
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-10-01 08:09:06 -06:00
travisn
15f6ee5b14
osd: enable filestore on device scenario to run with ceph image
...
update osd specs to be consistent with other daemons
Signed-off-by: travisn <tnielsen@redhat.com >
2018-09-26 10:36:16 -06:00
travisn
1266c63135
tests: ensure previous crds are deleted before continuing with tests
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-09-17 08:10:14 -06:00
Ratnadeep Debnath
7ae2149961
Add support for storageclass' reclaimPolicy when creating PV.
...
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com >
2018-09-14 10:05:34 +05:30
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
travisn
f840e3574e
mon: start a deployment instead of replicaset
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-09-01 00:12:42 -06:00
travisn
7dba506804
tests: refactor read and write
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-08-23 16:43:11 -06:00
travisn
51e60b7b4d
tests: upgrade integration test from 0.8.1 to master
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-08-23 16:43:10 -06:00
travisn
b2c039fc72
tests: refactor for adding an upgrade test
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-08-23 11:40:24 -06:00
travisn
4f9286f227
tests: more logging when pod not starting
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-08-06 17:22:38 -06:00
travisn
ab7c465dca
tests: continue while namespace and crds are being deleted
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-08-06 15:01:45 -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
travisn
604bb614ad
tests: verify integrity after osd pod restart
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:09:21 -06:00
travisn
6502cda3b4
refactor cluster roles for minimal rbac access
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-25 12:57:25 -06:00
Jared Watts
357b7b86e7
Merge pull request #1777 from jbw976/cockroachdb
...
CockroachDB operator implementation
2018-06-18 21:51:44 -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
Aayush Sarva
80f3e8ebf4
Replace custom Awk and remove related tests
...
Signed-off-by: Aayush Sarva <checkaayush@gmail.com >
Return error if field not found
Signed-off-by: Aayush Sarva <checkaayush@gmail.com >
2018-06-19 05:03:28 +05:30
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
0d685b9532
tests: volume attachment integration test logging
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-05-15 15:05:48 -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
7bd850e7fc
flex: base driver name on the namespace
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-05-11 14:02:16 -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
Huamin Chen
6c11ff52d4
add device discovery daemon to operator:
...
run "rook discover" on storage nodes and discover devices on each node. The discovered disks are saved in a per node configmap, local-device-nodename.
Device information consits of name and persistent names, uuid, partition, filesystem, rotational, readonly, size, etc.
Signed-off-by: Huamin Chen <hchen@redhat.com >
2018-05-07 17:49:02 +00:00
Tony Allen
82d7a6de33
Replace Core() with CoreV1().
...
Signed-off-by: Tony Allen <cyril0allen@gmail.com >
2018-04-15 01:09:40 -07:00
Illya Chekrygin
6631e8d29d
Remove RetryLoop on error from helm install.
...
Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com >
2018-04-03 19:07:41 -07:00
travisn
b121357215
api: completed removal of api service
...
remove dependency of e2e tests on api service
remove the obsolete model package
Signed-off-by: travisn <tnielsen@redhat.com >
2018-03-16 08:31:34 -07:00
travisn
9e4baf4c96
(ichekrygin) Remove the rook api service from production code
...
Remove controller api component and api daemon
Remove rookctl and endpoints from Docker image
Signed-off-by: travisn <tnielsen@redhat.com >
2018-03-16 08:30:54 -07:00
Travis Nielsen
06b9368f90
tests: return specific not found error for kubectl commands
2018-01-24 08:09:49 -08:00
Divesh Angula
8b2ec14240
adding test flags to control load size and test rook resilience
...
- added new tests flag `--load_size` to control amount of data being written -S,M or L(less than 1M,1M and 10M respectively)
- added new test flag `--collect_metrics` - if this flag is present, the framework will start prometheus and grafana services and monitor rook cluster
- added new test flag `--enable_chaos` - if this flag is present, random pods in rook cluster will be killed peridiocally
- update longhaul test pipeline (added new flags)
- updated docs
2018-01-19 16:07:49 -08:00
Travis Nielsen
107839fc65
tests: call rook clientset to create test cluster and consolidate cleanup
2018-01-10 10:48:17 -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
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
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
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
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
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
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
Jared Watts
769fb330a9
tests: update testing documentation and minor fixes
2017-09-28 17:01:05 -07:00