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
Travis Nielsen
9654e51db1
Merge pull request #2290 from travisn/rbd-mirror
...
Enable rbd mirror daemon in the cluster crd
2018-11-30 08:54:40 -07:00
travisn
40ad6c7ac7
tests: upgrade needs to add log access to cluster role
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-11-29 12:12:53 -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
Jared Watts
2274f78683
Fixes for running Ceph, CockroachDB, and Minio demos
...
- Add cluster domain to minio spec
- Remove port configuration from minio spec
- Include unused packages for codegen related repos
- Update Minio version to pick up latest fixes
- Helper to load cockroachdb demo images into minikube
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-11-08 10:52:49 -08: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
travisn
b5862ca062
minikube: start version 1.12.2 by default
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-10-26 15:17:05 -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
mickymiek
f93128b2d9
make sure integration tests works on k8s 1.12
...
Signed-off-by: mickymiek <meunie_m@etna-alternance.net >
2018-10-10 17:12:51 +02: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
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
Ratnadeep Debnath
5dfd012c77
Updated docs about setting k8s 1.8 as the min reqd version.
...
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com >
2018-08-28 21:10:03 +05:30
Ratnadeep Debnath
96400d696a
Update Jenkinsfile and other scripts to set k8s 1.8 as the min reqd version.
...
Signed-off-by: Ratnadeep Debnath <rtnpro@gmail.com >
2018-08-28 20:10:47 +05:30
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
Alexander Trost
304eafa07d
Ceph: Improve erasure coded filesystem docs
...
Replace `rook-operator.yaml` mentions with `operator.yaml` as it is
named right now.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-08-19 13:23:23 +02: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
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
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
Travis Nielsen
53d6d8cc43
Merge pull request #1968 from travisn/minikube-update-images
...
Update only the images desired in minikube
2018-07-31 16:55:22 -06:00
travisn
8dcc6e70fd
minikube: update only the images desired
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-31 14:57:48 -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