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
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
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
travisn
756c00fc4b
mgr: enable the ceph dashboard
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-07 15:08:58 -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
Jared Watts
e48e951d1c
Rename toolbox to make it Ceph specific, short names for CRDs, upgrade guide tweaks
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-05-22 12:31:38 -07: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
travisn
fc9118f7b2
remove support for k8s 1.6 and TPRs
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-05-08 10:09:38 -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
Illya Chekrygin
c27bfc3bb4
Define CRD's as a part of the operator provisionning and remove it from operator init phase
...
Remove empty try/catch (erroneous commit)
Update Teardown documentation
Update PendingReleaseNotes with Operator resource changes
Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com >
2018-04-05 09:54:22 -07:00
Illya Chekrygin
6631e8d29d
Remove RetryLoop on error from helm install.
...
Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com >
2018-04-03 19:07:41 -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