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
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
89cfccd5a2
enable rook to run on openshift
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-07-05 11:20:43 -06:00
travisn
b44c2006f7
test minishift script
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-29 16:09:54 -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
Alexander Trost
f6aab8ef66
tests: Cleanup/Removed unnecessary whitespaces/new lines in scripts/docs
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-06-24 18:39:07 +02:00
Tony Allen
7442f8713b
Implement Minio operator w/ tests.
...
Signed-off-by: Tony Allen <tony@upbound.io >
2018-06-21 16:41:30 -07: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