Commit Graph
73 Commits
Author SHA1 Message Date
Blaine Gardner 4be911c5b1 Ceph: include daemons as <dmn>daemon
To help with code readability, include daemons from `pkg/daemon/ceph`
as `<dmn>daemon "github.com/rook/rook/pkg/daemon/ceph/<dmn>`. This will
make it easier to understand code lines without needing to scroll up to
check the includes, as there are mon/mds/mgr/osd/rgw packages for
daemons as well as operator and cmd.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-09-06 09:40:00 -06:00
travisn 63f8f9c216 tests: retry file operations after upgrade
Signed-off-by: travisn <tnielsen@redhat.com>
2018-09-05 22:10:46 -06: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
rohan47 9aec1d3002 nfs: Documentation, user guides, examples
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 11:57:44 +00:00
rohan47 f31044b269 nfs: integration tests and scripts
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-08-22 10:34:40 +00:00
travisn b53691f846 tests: skip checking substring if empty
Signed-off-by: travisn <tnielsen@redhat.com>
2018-08-08 08:47:39 -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
David Lewis 87730f2a2d Update clusterName to clusterNamespace in example
Signed-off-by: David Lewis <highwayoflife@gmail.com>
2018-08-03 13:47:41 -07: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
Jared Watts 189e3eb611 ceph: migration logic for ceph.rook.io/v1alpha1 to ceph.rook.io/v1beta1, update all type references
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-07-11 09:23:46 -07:00
travisn 7ba6b3a905 tests: multi cluster support for the dataDirHostPath
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:09:21 -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 f1ad88e0ac tests: enable osds on devices
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:09:20 -06:00
Huamin Chen 82425aafcc prepare osd in a job per node. Once all osds are prepared, store osd info in orchestration configmap.
Operator watches the configmap, starts one osd replica set per osd.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-05 16:02:27 -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 0b8a8c2b65 cockroachdb: integration tests and scripts
Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-06-18 19:19:15 -07:00
Alexander Trost edfa135560 ceph mon: Only run one mon on a node
This introduces a MonSpec to the Ceph Cluster CRD which contains settings for
mons, current options are the count and if more than one mon is allowed
to run per node.

Fixes #1386

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-02 13:36:30 +02:00
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
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
rohan47 c80decbba8 updated storage class parameter clusterName to clusterNamespace
cluster name and namespace are required to match.
clusterName still works for backward compatiblity

Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-04-25 18:24:13 +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
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
David González Ruiz 7e06c84654 RGWs: Make multiple instances do not interfere with MGRs
Signed-off-by: David González Ruiz <godboole@gmail.com>
2018-02-16 12:32:01 +01:00
Jared Watts 202650f6f5 Add and remove storage nodes 2018-01-24 14:31:20 -08:00
Travis Nielsen 4531987311 pools: allow setting crush root on the pool 2018-01-23 11:55:52 -08:00
Divesh Angula 892a956da6 add k8s 1.9 to CI pipeline. 2018-01-16 15:38:15 -08:00
Travis Nielsen dd81e56123 tests: run the block mount-unmount suite last to avoid conflicts with other tests 2018-01-10 12:12:55 -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
Divesh Angula a53e04276b add rook setup to test operations interface 2017-12-14 15:56:05 -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 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