Commit Graph
1341 Commits
Author SHA1 Message Date
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 de7e6dbd56 tests: use a non default volume plugin dir path for k8s 1.8 2017-11-27 12:09:44 -08: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
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 d4c5277d3e Merge pull request #1158 from travisn/default-datadir
Set default dataDirHostPath to /var/lib/rook
2017-11-01 10:54:11 -07:00
Jared Watts 86441f95be Merge pull request #1115 from kokhang/flex-cephfs
Adding support to mount cephfs in rook flexvolume
2017-11-01 10:49:54 -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
Travis Nielsen 8dc86cbe7f Merge pull request #1089 from paha/minikube-update
Restart pods for minikube kubectl context
2017-10-31 13:11:43 -07:00
Pavel Snagovsky ad746c1667 restart pods for minikube kubectl context 2017-10-31 11:50:19 -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
Bassam Tabbara f123a46dee move to dep 2017-10-27 16:04:03 -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
Steve Leon 9e1c6af0ad Adding support to mount cephfs in rook flexvolume
fixes https://github.com/rook/rook/issues/1008
2017-10-26 13:50:04 -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
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
Travis Nielsen 11e2c1bb5d tests: stabilize check for deleted pool 2017-10-17 15:24:10 -07:00
Divesh Angula 4340890773 adding clean up check to wait until pvc is deleted 2017-10-13 16:38:56 -07:00
Travis Nielsen 4e36a16406 minikube: add helm stable repo to test env 2017-10-13 15:05:25 -07:00
Travis Nielsen b2283a1d82 rados: delete the corresponding ceph pools when CRDs are deleted 2017-10-12 22:37:22 -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
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