Commit Graph
7961 Commits
Author SHA1 Message Date
Travis Nielsen d984840677 Merge pull request #2930 from leseb/octopus-support
ceph: add support octopus version detection
2019-04-04 09:49:09 -06:00
Blaine Gardner 5c41da6705 ceph rgw: more robust update for selector change
Upgrading a Ceph objectstore was failing the upgrade test because the
existing method for handling the case where update errors occurred
because labels and label selectors have changed was not robust enough.
Make this more robust by attempting delete-and-create if a normal update
does not work on an rgw deployment.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-04 09:02:09 -06:00
Sébastien Han f1f4bcccf7 ceph: add support octopus version detection
Now we are able to detect a Ceph Octopus version.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-04-04 11:37:41 +02:00
Olivier Cloirec 371c294096 Fix Helm Chart DISCOVER_TOLERATION binding
Bind to `.Values.discover.toleration` (instead of `agent`)

Signed-off-by: Olivier Cloirec <5033885+clook@users.noreply.github.com>
2019-04-04 08:25:48 +02:00
Travis Nielsen 5567cc8ee7 Merge pull request #2903 from rohan47/unhardcode
ceph: update env vars for ceph-mgr containers
2019-04-03 23:25:18 -06:00
Blaine Gardner a34fbaa594 ceph: update auth caps if get/create key fails
Update integration test suite fails on an error with getting the keyring
for the mgr. The mgr's cephx capabilities have changed and need to be
updated before get, create, or get-or-create can be called. Since other
daemons' caps may change in the future, make an attempt to update the
user's caps on any key generation. This makes the key generation more
declarative from within the operator code for individual Ceph daemons.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-03 15:54:00 -06:00
Blaine Gardner feff587992 ceph: mon service forwards default bind port 6789
The Ceph mon flag `--public-bind-addr` does not keep the same port as
the previous daemon run when the port is left off the flag's value. A
port is undesired since that could interfere with Nautilus' msgr2
protocol, so instead configure the mon's services to forward the default
bind port on pods (6789) to the mon endpoint's port. The endpoint port
will be 6789 for new mons, but it may be 6790 for legacy clusters.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-03 15:53:56 -06:00
rohan47 0ecce1015c ceph: update env vars for ceph-mgr containers
pass env vars with rook-ceph-system namespace and API version to
ceph-mgr containers to remove hardcoded values from rook orchestrator in
ceph-mgr and updated the unit tests for the same

Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-04-04 02:11:44 +05:30
Blaine Gardner 7f26f4aa13 ceph spec tests: allow adding required env vars
Allow adding additional required environment variables on a situational
basis to Ceph's spec unit tests.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
(cherry picked from commit 94bf2a6e14b88a8e965b4ad5ce1289b606e5c32d)
2019-04-04 02:11:44 +05:30
travisn 6ec255e269 Avoid silent failure during upgrade integration test
Signed-off-by: travisn <tnielsen@redhat.com>
2019-04-02 17:48:47 -06:00
Alexander Trost ee308ec920 Merge pull request #2911 from noahdesu/dmcrypt-docs
ceph: add docs for encrypted devices
2019-04-02 23:06:04 +02:00
Noah Watkins 0d6c5fe032 ceph: add docs for encrypted devices
fixes: #2779

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-01 16:19:16 -07:00
Alexander Trost 0e7dbe4086 Merge pull request #2456 from whereisaaron/patch-1
Document the RBD module prerequisite for Rook Ceph
2019-03-31 15:25:51 +02:00
Aaron Roydhouse b94bbf6f98 Document the RBD module prerequisite for Rook Ceph
The RBD module is an important prerequisite for Rook Ceph. It is mentioned as a possible problem on the Common Issues page, but that is the ambulance at the bottom of the cliff 😄. We should mention the perquisite for new users, tell them how to check, and note any major Kubernetes-as-a-service providers that do not have the RBD module.
https://rook.io/docs/rook/master/common-issues.html#rook-agent-rbd-module-missing-error

Signed-off-by: Aaron Roydhouse <aaron@roydhouse.com>
2019-03-31 02:42:20 -04:00
Travis Nielsen a4f43dd7c3 Merge pull request #2908 from KerLiu/master
doc: Fix typo in doc
2019-03-30 18:37:12 -10:00
Travis Nielsen be80c32535 Merge pull request #2457 from whereisaaron/patch-2
Add a Kubernetes Ingress example for dashboard
2019-03-30 18:36:30 -10:00
Alexander Trostandnull 07f7b3fba7 Merge pull request #2897 from dyusupov/master
support for configurable resource profiles

Co-authored-by: null <dmitry.yusupov@nexenta.com>
2019-03-30 20:34:58 +01:00
Dmitry Yusupov 9ad68500fa support for configurable resource profiles
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-29 10:33:13 -07:00
Ker Liu 4ca24f46d1 doc: Fix typo in doc
Signed-off-by: Ker Liu <kerliu818@gmail.com>
2019-03-29 18:38:41 +08:00
Jared Watts 27a4348582 Merge pull request #2907 from Defilan/CPM_adding_kubernetes_cni
Adding install for kubernetes-cni for integration tests
2019-03-28 15:28:48 -07:00
Christopher P. Maher 4954a32940 Adding install for kubernetes-cni for integration tests
Signed-off-by: Christopher P. Maher <chris@mahercode.io>
2019-03-28 09:32:57 -07:00
John Mulligan 3c22d31e17 design: future directions for rook + ceph-csi
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-03-27 12:55:18 -04:00
Aaron Roydhouse e3bcd5031a Add a Kubernetes Ingress example for dashboard and documentation for it
The examples folder has Service examples but no Ingress examples. This example Ingress is important because it demonstrates how to configure and Ingress that will work with the self-signed certificate the `rook-ceph` installs. The Service name and Namespace matches the default `rook-ceph` install.

Signed-off-by: Aaron Roydhouse <aaron@roydhouse.com>
2019-03-27 12:21:21 -04:00
Alexander Trost db218e42d7 Merge pull request #2879 from sabbot/segments
Edgefs #2878. Add multiple cluster support for CSI driver
2019-03-27 00:13:22 +01:00
Noah Watkins 647bb544a6 doc: add link to vagrant+libvirt setup
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-25 14:11:09 -07:00
Alexander Trostandnull c696ce22f9 Merge pull request #2860 from dyusupov/master
Support for OpenStack/SWIFT CRD

Co-authored-by: null <dmitry.yusupov@nexenta.com>
2019-03-23 10:03:04 +01:00
Anton Skriptsov a571ed6bd0 Edgefs #2878. Add multiple cluster support for CSI driver
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-03-22 14:01:48 -07:00
Dmitry Yusupov 06b6be3866 add selector for isgw service
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-21 16:32:32 -07:00
Dmitry Yusupov d91c0560cf added serviceAccountName to swift and others
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-21 16:32:32 -07:00
Dmitry Yusupov f58fcd0fc5 Support for OpenStack/SWIFT CRD
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-03-21 16:32:28 -07:00
Alexander Trost 2403655cb5 Merge pull request #2837 from sabbot/PR2513-zone-support
Edgefs:2513 Add failure domain and zones
2019-03-21 16:13:11 +01:00
Alexander Trost 244752058c Merge pull request #2633 from travisn/ceph-nfs-integration-test
Base the rook ceph operator on Nautilus
2019-03-21 15:00:38 +01:00
Anton Skriptsov 4f909d86ac Edgefs:2513 Add failure domain and zones
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-03-21 05:02:26 -07:00
Travis Nielsen 233c321103 Merge pull request #2835 from travisn/mon-preferred-count
Increase the number of mons when nodes are added
2019-03-20 15:17:37 -06:00
travisn 531da9647c ceph: rely on ceph image creation success instead of rbd get info
Nautilus has an issue targeting Luminous when running the rbd info command.
Rook already has the info it needs for the call and can return it
after the rbd create command succeeds.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 15:15:36 -06:00
travisn 91cc62676d Base the rook ceph operator image on the Nautilus release image
To target a Nautilus image with msgr2 and configure the nfs ganesha feature
for Ceph, we need to update the base image to Nautilus.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 15:15:36 -06:00
travisn 058ffe8adf integration test for ceph nfs daemons
Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 15:15:36 -06:00
travisn 23498cf09d tests: smoke suite runs on nautilus
Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-20 12:39:29 -06:00
Alexander Trost f0ee64e9f3 Merge pull request #2847 from galexrt/issue_templates
Set bug or feature label depending on issue template
2019-03-20 18:44:18 +01:00
Alexander Trost 6502abc1e3 Merge pull request #2866 from dimm0/fix-names-edge
Fixed k8s object names
2019-03-20 18:43:24 +01:00
Dmitry Mishin a9a2840a16 Fixed k8s object names
uppercase is not allowed

Signed-off-by: Dmitry Mishin <dmitry.mishin@gmail.com>
2019-03-20 10:30:42 -07:00
travisn 7548e76bab Increase the number of mons when nodes are added
The desired number of mons could change depending on the number of nodes in a cluster.
For example, three mons would be the min number of mons in a production cluster with at
least three nodes. If there are five or more nodes, the number of mons could increase
to five in order to increase the failure tolerance to two nodes.

This is accomplished by a new setting in the cluster CRD preferredCount. If the number
of hosts exceeds preferredCount, more mons are added to quorum. If the number
of hosts drops below the preferred count, the operator would reduce the quorum size to
the smaller desired count.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-19 13:00:37 -06:00
John Mulligan 5875069994 design: rewrite the rook/ceph-csi itegration section
Re-write the Rook/ceph-csi (short term) integration section
to conform to my goals and understanding of the integration
needs.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-03-19 13:05:54 -04:00
John Mulligan 2b97bdfc16 design: simplify "Coexist with flex driver" section
The "Coexist with flex driver" section was overly technical about
details in the implementation of CSI vs. flex. Remove the detail
and replace it with more goal oriented paragraphs.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-03-19 13:05:54 -04:00
John Mulligan 855e18fe40 design: Improve and update intro paragraphs
* Minor grammar and working improvements
* Update to current state of CSI in k8s, ceph-csi

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-03-19 13:05:22 -04:00
Travis Nielsen e28278578e Merge pull request #2818 from noahdesu/ceph-version-v3
ceph: add fine grained version tracking
2019-03-18 15:23:12 -06:00
Alexander Trost 33dcc77d70 Set bug or feature label depending on issue template
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-03-18 21:14:02 +01:00
Noah Watkins 379cb98689 ceph: replace release name with fine-grained version
The basic idea here is to replace the release name in the ClusterInfo
object with the fine grained version information queried at runtime.
This patch also removes the Name field from the cluster spec, which was
also runtime determined and was redundant with ClusterInfo relase name.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-18 12:57:29 -07:00
Travis Nielsen c8c09702c9 Merge pull request #2677 from travisn/design-external-cluster
Design: Managing an external ceph cluster
2019-03-18 10:44:10 -06:00
travisn a207fa4bcc design doc for managing an external ceph cluster
The user may want to connect to storage that is in a Ceph cluster,
independent from the local Kubernetes cluster. This design doc
describes the changes needed to enable the scenario.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-18 10:43:17 -06:00