travisn
b24ebc8168
tests: remove unnecessary string returns from kubectl calls
...
Various kubectl helper methods return strings from calls to
create, delete, or apply resources. There is no need for this.
It is sufficient and complete to check the err from these calls to determine failure.
Signed-off-by: travisn <tnielsen@redhat.com >
2019-03-01 16:16:41 -07:00
travisn
6ca573bb34
tests: remove unreliable substring checking
...
The integration tests check for the return of substrings from calls to kubectl
in a number of places. On occasion these return something slightly different
and cause an unnecessary failure in the integration tests.
Signed-off-by: travisn <tnielsen@redhat.com >
2019-03-01 16:16:41 -07:00
zhangyue
87b4f45fd9
test: add nfs with multi export integration test
...
Signed-off-by: zhangyue <zy675793960@yeah.net >
2019-02-28 09:02:52 +08:00
Jeff Layton
a5252dccee
ceph: fix up RBAC permissions
...
I had some trouble with RBAC under minikube when testing some
ceph-mgr functionality. This patch tweaks rook-ceph-mgr-system to
be a ClusterRole, and rook-ceph-mgr-cluster to use a
ClusterRoleBinding.
While we're in there, remove the namespace fields from the
ClusterRoleBindings since they just get ignored.
Finally, also fix up the upgrade test to remove the objects that have
changed and reinstantiate them properly.
Suggested-by: Travis Nielsen <tnielsen@redhat.com >
Signed-off-by: Jeff Layton <jlayton@redhat.com >
2019-02-22 06:30:49 -05:00
travisn
ecf8d890c1
convert remaining extensions to apps api
...
Signed-off-by: travisn <tnielsen@redhat.com >
2019-02-14 16:48:12 -07:00
Huamin Chen
1b21e42a90
convert extensions to apps
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2019-02-14 16:06:05 -05:00
Huamin Chen
3806baffe1
add ceph csi deploy options
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2019-02-12 21:20:41 -05:00
travisn
c9d3d1bf17
reference the k8s pvc provisioner and remove outdated in-tree provisioner
...
Signed-off-by: travisn <tnielsen@redhat.com >
2019-01-19 07:48:00 -07:00
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
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
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
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
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
06a2461cac
cleanup some errors in integration tests
...
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
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
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