travisn
feb33de24b
tests: upgrade test is from v0.9 instead of v0.8
...
Signed-off-by: travisn <tnielsen@redhat.com >
2019-01-14 23:06:19 -07:00
travisn
0230400e27
build: remove 1.8 and 1.9 and add 1.13 to integration tests
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-19 23:42:01 -07:00
Travis Nielsen
f6bcdfa687
Merge pull request #2346 from travisn/mgr-configmap-access
...
Grant access for ceph-mgr to access the configmaps in the system namespace
2018-12-07 16:51:02 -07:00
Alexander Trost
6dc508b704
Merge pull request #2318 from galexrt/minio_arbitary_pvcs
...
Cockroachdb + Minio: Use PersistentVolumeClaimTemplates storage
2018-12-08 00:20:07 +01:00
travisn
ff3f73d73c
mgr: grant access to the configmaps to read devices in the system namespace
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-07 14:10:35 -07:00
Sebastian Wagner
71c0328b09
Ceph CRDs: Add additionalPrinterColumns to enhance command line output
...
Like so:
```
$ kubectl get cluster.ceph.rook.io
NAME DATADIRHOSTPATH MONCOUNT AGE
rook-ceph /var/lib/rook 1 4h
```
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com >
2018-12-07 10:58:43 -07:00
Alexander Trost
5fc8584422
Cockroachdb + Minio: Use PersistentVolumeClaimTemplates storage
...
selection field.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-07 12:20:49 +01:00
travisn
9660f49624
ceph: remove crd short names to avoid conflict with beta crds
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-05 16:23:55 -07:00
travisn
a29b876337
rename ceph v1 crds with the ceph prefix
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-05 16:23:55 -07:00
travisn
62f7e5d6ea
ceph: update docs, code, and tests to use v1 crd types
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-12-05 14:33:11 -07:00
Yannis Zarkadas
b23d874856
cassandra: integration tests and scripts
...
Simple integration test for Cassandra.
Boilerplate in setup scripts for Jenkins.
Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com >
2018-12-05 12:50:09 +02:00
Alexander Trost
ac19f85fbb
Allow specifying custom Ceph user and secret name for mounting
...
Introduce mount security mode for basic multi tenancy
Fixes #2164 .
This adds three new parameters/options to StorageClass/flexvolume entry:
* `mountUser`
* `mountSecret`
* `mountSecretNamespace`
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-12-04 20:17:15 +01:00
travisn
fed0d9022a
tests: add new mgr and osd service accounts and related resources to upgrade
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-30 13:39:59 -07:00
travisn
ea03f58048
rbac: rename service account rook-ceph-cluster to rook-ceph-osd
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-30 13:39:58 -07:00
travisn
16c2a56591
add ceph mgr roles to the tests and helm chart
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-30 13:39:58 -07:00
travisn
fdd64bb95a
enable rbd mirror daemon in the cluster crd
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-28 08:29:57 -07:00
Alexander Trost
f46efa452c
Merge pull request #2282 from galexrt/pera_fix
...
Use truncated node name for missed sections
2018-11-27 16:30:21 +01:00
Alexander Trost
5325d4dcec
Use a very long testprefix for nodes
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-11-23 10:13:53 +01:00
Ben Zieglmeier
6d04bbf430
ceph: Add CRD for Object Store User
...
Add the ability to create and manage object store users with CRDs
Signed-off-by: Ben Zieglmeier <benjamin.zieglmeier@target.com >
2018-11-21 15:15:05 -06:00
travisn
c1f73bb24b
tests: collect init container logs
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-20 15:56:05 -07:00
travisn
906add05ce
consume the ceph images from the ceph/ceph repo
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:37 -06:00
travisn
06a2461cac
cleanup some errors in integration tests
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:36 -06:00
travisn
b2a0dc77fa
automatically detect the major version of the Ceph image
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:36 -06:00
travisn
94a7a0d4bc
run daemons with the ceph image instead of rook
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-01 11:49:35 -06:00
Blaine Gardner
96f9a9c4ad
ceph mds: allow mds deployment scale-down
...
fix #2193
Fix regression introduced by PR allowing MDS config creation in init
container. This allows the new deployment-based mds clusters to scale
down where currently they can only remain constant or scale up.
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com >
2018-10-12 14:53:08 -06:00
Blaine Gardner
ce803fbf9d
Ceph mds/file: Set up config in init container
...
Progress toward issue #2003 .
Includes design from design doc PR #1578
Use init containers to create configuration for Ceph mgrs. There is only
one init container in this design. The init container calls the Rook
binary to create Ceph config files which are then shared with the mds
daemon main container.
Once this init is run, the main mds daemon is run. Leaving room to use
the Ceph-versioned image in the future, call `ceph-mds --foreground ...`
to run the Ceph mds.
The refactor to using an init container also necessitated refactoring
the mdses replicaset implementation to a deployment-per-pod
implementation due to a chicken-egg problem. With a single container (in
the before times) the Rook binary was able to call the ceph-mds daemon
with an id generated from the pod name. Since the pod name is not known
before runtime, and the id is one of the few params that must be
specified to Ceph daemons on run, it is necessary to know the id
beforehand; thus the move to a deployment architecture following the
likes of the mon and mgr daemons.
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com >
2018-10-05 19:01:12 -06:00
travisn
efd581e7ed
start toolbox pod with the ceph image instead of a separate image
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-10-02 15:43:53 -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
4aa0c3b258
tests: retry creating the crd if already exists
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-09-07 12:49:07 -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
19cf1860f1
tests: skip rbd volumes for osds
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-08-07 09:01:11 -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
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
3888006b58
tests: more reliable detecting of devices
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 16:09:21 -06: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