Commit Graph
2509 Commits
Author SHA1 Message Date
Bassam Tabbara 05eb4c772d Merge pull request #2671 from phlogistonjohn/jjm-build-vars
Add build variables for docker and sha sum calculation
2019-03-08 14:09:34 -08:00
Travis Nielsen 504bec1dc7 Merge pull request #2783 from emedina/patch-1
Add section to Change Failure Domain
2019-03-08 08:20:08 -07:00
Enrique Medina Montenegro f4e2dc8dd1 Make new rule name more explicit
Signed-off-by: Enrique Medina Montenegro <enrique@medinamontenegro.es>
2019-03-08 09:43:20 +01:00
Enrique Medina Montenegro a4b5b890e9 Updated based on feedback from PR reviewer
Signed-off-by: Enrique Medina Montenegro <enrique@medinamontenegro.es>
2019-03-08 09:42:51 +01:00
Jared Watts cb3ada9795 Merge pull request #2752 from ZYecho/add-rbac
cockroachdb: add minimal rbac access for cockroachdb pod
2019-03-07 20:21:56 -08:00
Travis Nielsen 4dfdf2f022 Merge pull request #2310 from SUSE/ceph-add-extra-integration-test-logging
Ceph integration tests: add more verbose logging
2019-03-07 14:40:37 -07:00
Travis Nielsen dcd24d3cca Merge pull request #2738 from SUSE/rgw-all-in-operator
Ceph rgw: configure completely from operator
2019-03-07 14:35:28 -07:00
Enrique Medina Montenegro fa1cfa73ae Add section to Change Failure Domain
Signed-off-by: Enrique Medina Montenegro <enrique@medinamontenegro.es>
2019-03-07 19:59:11 +01:00
Travis Nielsen 4d546ac63d Merge pull request #2744 from SUSE/mon-update-tests
ceph mon: update tests with new spec test lib
2019-03-07 11:23:21 -07:00
Travis Nielsen cdeeeb84ae Merge pull request #2770 from leseb/allow_standby_replay
ceph: filesystem: deprecate flags and updates for Nautilus
2019-03-07 09:35:41 -07:00
Blaine Gardner 7827ea8ff0 ceph mon: use new spec test framework
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-03-07 08:13:07 -07:00
Blaine Gardner 086fa8231c rgw: configure entirely in operator
Configure the Ceph rgw daemon completely from the operator a la the
recent changes to the Ceph mon, mgr, and mds operators.

Create the rgw deployment or daemonset first, and then create the
keyring secret for the object store with its owner reference as the
corresponding deployment or daemonset. When the replication controller
is deleted, the secret is also deleted.

The RGW's mime.types file is now stored in a configmap with a different
file created for each object store. This is primarily just a means to
get the mime.types file into the rgw pod, but the added benefit is that
the administrator can modify the configmap, which could reduce
susceptibility to file type execution vulnerabilities (worst case).

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-03-07 08:02:42 -07:00
Sébastien Han 97a5b78a59 ceph: filesystem: deprecate flags and updates for Nautilus
The MDS mds_standby_for_*, mon_force_standby_active, and mds_standby_replay
configuration options have been obsoleted. Instead, the operator may now set
the new "allow_standby_replay" flag on the CephFS file system. This setting
causes standbys to become standby-replay for any available rank in the file
system.

Closes: https://github.com/rook/rook/issues/2768
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-03-07 13:59:14 +01:00
Alexander Trost 4f97270e41 Merge pull request #2745 from SUSE/mds-operator-code-tidying
ceph file: tidy up file/mds operator code
2019-03-06 22:33:43 +01:00
Blaine Gardner 079cdb56ea ceph file: tidy up file/mds operator code
Separate `file` operator from `mds` tasks logically for easier code
navigation.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-03-06 11:32:58 -07:00
Blaine Gardner 51cc7c2e85 Ceph integration tests: add more verbose logging
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-03-05 14:14:09 -07:00
Alexander Trost c430997134 Merge pull request #2762 from galexrt/flexvolume
docs: sorted flexvolume platform paths alphabetical
2019-03-05 16:43:37 +01:00
Alexander Trost ec6cd71fd8 docs: sorted flexvolume platform paths alphabetical
Sorted the flexvolume platform specific paths alphabetically.
Added some spacing around code blocks to prevent issues with certain
Markdown renderers.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-03-05 07:19:41 +01:00
zhangyue baf27bdd8e cockroachdb: modify cockroachdb operator rbac access
Signed-off-by: zhangyue <zy675793960@yeah.net>
2019-03-05 14:16:10 +08:00
Alexander Trost a8095a888c Merge pull request #2455 from whereisaaron/chart-notes
Add to NOTES.txt the need for manually installed RBAC and links
2019-03-05 07:04:42 +01:00
Travis Nielsen 9fdea5e26b Merge pull request #2757 from travisn/container-image-env
Add CONTAINER_IMAGE env var to the ceph daemon pods
2019-03-04 16:11:14 -07:00
Alexander Trost feb3b0cac9 Merge pull request #2759 from galexrt/fix_2662
Fix indentation for Rancher Flexvolume docs
2019-03-05 00:07:49 +01:00
Alexander Trost 80ecfd710b Fix indentation in Rancher Flexvolume docs
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-03-04 23:52:36 +01:00
travisn 31848e23e7 add the CONTAINER_IMAGE env var to the ceph daemon pods
The mgr orchestrator modules need the container image to run
the ceph image for blinking the lights when a disk is down

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-04 13:33:41 -07:00
Travis Nielsen 322e493422 Merge pull request #2656 from lbogdan/docs/retain
[ceph docs] Add note of RBD image retention after the corresponding PV is deleted
2019-03-04 11:14:43 -07:00
Alexander Trost 4bb3636fbc Merge pull request #2374 from emonty/magnum-docs
Add configuration note about OpenStack Magnum flexvolume
2019-03-04 19:02:06 +01:00
Bogdan Luca d84b1b8c82 Add note of RBD image retention after the corresponding PV is deleted.
Signed-off-by: Bogdan Luca <luca.bogdan@gmail.com>
2019-03-04 17:34:48 +02:00
Travis Nielsen a145f4dcb7 Merge pull request #2703 from travisn/osds-per-device-with-filter
Clean up provisioning of OSDs on devices
2019-03-04 07:58:56 -07:00
Monty Taylor e87a457489 doc: Add note about OpenStack Magnum flexvolume
OpenStack Magnum uses Atomic Host as its default deployment. The Atomic
docs for rook point to the openshift docs, which are a bit complex to
follow if one is not actually using OpenShift. For magnum, the path
/var/lib/kubelet/volumeplugins is the correct path, so it's easier to
just point to that directly rather than sending users to OpenShift docs.

Signed-off-by: Monty Taylor <mordred@inaugust.com>
2019-03-04 14:35:42 +00:00
Alexander Trost 42c71768c0 Merge pull request #2428 from k911/improve-registry-example
docs: Improve HA docker registry example
2019-03-04 14:26:05 +01:00
Alexander Trost 409a5129e2 Merge pull request #2614 from chaosaffe/master
update image for coreos reboot daemonsets
2019-03-04 14:08:51 +01:00
Alexander Trost 5bc314be26 Merge pull request #2753 from nakabonne/fix-service-name
Fix service name in doc
2019-03-04 14:04:16 +01:00
Ryo Nakao 4bc2315c66 Fix service name in doc
Signed-off-by: Ryo Nakao <nakabonne@gmail.com>
2019-03-03 22:12:11 +09:00
Travis Nielsen 581766eb91 Merge pull request #2704 from travisn/tests-no-check-substr
Remove unreliable string checks from integration tests
2019-03-02 13:57:53 -07:00
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
Travis Nielsen 816d698655 Merge pull request #2742 from noahdesu/dmcrypt
ceph: share host ipc namespace with provision pod
2019-03-01 13:21:05 -07:00
Noah Watkins 6597531ed0 ceph: share host ipc namespace with provision pod
this is needed as cryptsetup in the pod and udev on the host coordinate
via a semaphore that must be visible in both contexts.

note that additionally the host needs to have dmcrypt compiled with udev
synchronization, which at least one minikube version does not have.

fixes: #923

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-01 10:50:19 -08:00
Travis Nielsen eaf6b97b59 Merge pull request #2702 from SUSE/mds-all-in-operator
ceph mds: configure completely from operator
2019-03-01 06:59:15 -07:00
Alexander Trost 8e1bc5bd97 Merge pull request #2737 from galexrt/helm_2735
Added ROOK_HOSTPATH_REQUIRES_PRIVILEGED as value to Helm Chart
2019-02-28 22:09:08 +01:00
Alexander Trost dcc5d2b5ea Added ROOK_HOSTPATH_REQUIRES_PRIVILEGED as value to Helm Chart
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-02-28 20:42:51 +01:00
Blaine Gardner 4eb4fb7aa6 ceph mds: configure completely from operator
Configure the Ceph mds daemon completely from the operator a la the
recent changes to the Ceph mon and mgr operators.

Create the mds deployments first and then
create the keyring secrets for them with their owner reference as the
corresponding deployment. This will mean that the secrets do not need to
be micromanaged. When the deployment is deleted, the secret is also
deleted. This has not been necessary for the mons or the manager since
the mons share a keyring with a lifespan of the cluster, as does the
mgr, which currently has single-mgr support only.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-02-28 12:31:43 -07:00
Travis Nielsen 8dcc3576e9 Merge pull request #2734 from JoeWrightss/patch-2
Fix misspell in doc
2019-02-28 09:48:54 -07:00
zhoulin xie 36c35b6968 Fix misspell in doc
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-03-01 00:26:55 +08:00
Travis Nielsen dc26762e24 Merge pull request #2719 from ZYecho/nfs-test
test: add nfs with multi export integration test
2019-02-27 21:27: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
Travis Nielsen e4d42eece1 Merge pull request #2728 from jtlayton/wip-orch-init
Retry orchestrator initialization if command is unrecognized
2019-02-27 16:22:41 -07:00
Jeff Layton c0910dab2c ceph: retry "ceph orchestrator set backend rook" if command returns EINVAL
Use similar method as that used by the dashboard initialization code.

Fixes: https://github.com/rook/rook/issues/2617
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-27 10:55:24 -05:00
Jeff Layton 56abc00b78 ceph: fix invalidArgErrorCode definition
We should probably not hardcode this value here, and instead use
whatever the syscall module thinks this is.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-27 10:53:10 -05:00
Alexander Trost 7b872026de Merge pull request #2709 from SergeyKaydalov/edgefs-vdev-management
Edgefs VDEV management document
2019-02-27 06:29:55 +01:00