Commit Graph
2445 Commits
Author SHA1 Message Date
Madhu Rajanna de4da4fbad Fix markdown formatting issue
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-25 15:48:17 +05:30
Madhu Rajanna d2d699efb0 update namespace creation
rook-ceph-system namespace is
created as part of the operator,update
document to check namespace is present,
if ns is not present create it.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-25 15:48:12 +05:30
Alexander Trost 818bf38b0c Merge pull request #2685 from dyusupov/master
EdgeFS: support for S3 buckets as DNS subdomain style
2019-02-23 23:21:06 +01:00
Alexander Trost 5b327344a0 Merge pull request #2705 from JoeWrightss/patch-1
Fix typo in doc
2019-02-23 18:34:27 +01:00
zhoulin xie fcf567bc42 Fix typo in doc
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-02-24 00:58:46 +08:00
Travis Nielsen 5a41cc5f0f Merge pull request #2695 from travisn/dev-env-guide
Docs: Consistent dev environment
2019-02-22 14:29:53 -07:00
Travis Nielsen bce07acb0e Merge pull request #2690 from ZYecho/fix-type
fix: remove Typemeta and deepcopy of StorageScopeSpec
2019-02-22 14:29:16 -07:00
Travis Nielsen eea375ece7 Merge pull request #2698 from darshanime/unhide_cobra
unhide cobra commands
2019-02-22 14:11:12 -07:00
Travis Nielsen 8708c5cc16 Merge pull request #2697 from jtlayton/wip-rbac
ceph: fix up RBAC permissions
2019-02-22 12:58:21 -07:00
Travis Nielsen bd27a4e8d7 Merge pull request #2559 from leseb/mon-msgr2
Support for Ceph messenger 2
2019-02-22 11:49:31 -07:00
Travis Nielsen 7d3496f390 Merge pull request #2687 from huynq0911/fix_some_typos
Fix some typos
2019-02-22 08:19:11 -07: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
darshanime f24230481f unhide cobra commands
Signed-off-by: darshanime <deathbullet@gmail.com>
2019-02-22 14:04:21 +05:30
zhangyue 06f23cd55a fix: remove Typemeta and deepcopy of StorageScopeSpec
Signed-off-by: zhangyue <zy675793960@yeah.net>
2019-02-22 09:00:46 +08:00
Sébastien Han eb3c424d57 Ceph messengers 2 support
This commit introduces the necessary changes to support the new
messenger feature coming with Ceph Nautilus (currently in development).

What changes? Now the monitor listens on two port:

* old 6789 for messenger v1, which will help us support older client
(e,g: krbd)
* new 3300 for messengers v2, which brings new improvement in the
messaging layer. This new transport layer brings numerous advantages
such as encryption improvement, speed improvement, pluggable nature to
support different network stack than TCP and many more.

We still have one Service IP, however it has 2 ports, see:

```
NAME                      TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
rook-ceph-mon-a           ClusterIP   10.106.217.160   <none>        3300/TCP,6789/TCP   4h
rook-ceph-mon-b           ClusterIP   10.99.36.175     <none>        3300/TCP,6789/TCP   4h
rook-ceph-mon-c           ClusterIP   10.108.220.74    <none>        3300/TCP,6789/TCP   4h
````

The `ceph.conf` has changed and we don't force the port when using an IP
address (public addr etc). Ceph, depending on its version will naturally
start the monitors on their right port, 6789.

A new --ceph-version-name CLI argument has been added to the Rook binary
so that when the pod starts it passes the ceph version name and the
configuration of the ceph.conf, as well as daemon startup flags, happen
properly.

Given that the Rook Operator remembers the port of all the monitors it
deployed (through Pod definition), this change is not an issue and will
maintain backward compatibility.

Note that to test this you must build rook with dev container image,
which contains the dev Nautilus version. So you should do something
like:

`make -j4 BASEIMAGE='ceph/daemon-base:latest-master' IMAGES='ceph' build`

Resolves: #2525
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-02-22 00:09:37 +01:00
Travis Nielsen 3b14e51c16 Merge pull request #2678 from jtlayton/wip-bootstrap
Add a way to start up a minimal ceph cluster
2019-02-21 13:31:05 -07:00
Jeff Layton 20de4920ba examples/ceph: fix permissions on the files
The yaml files are not executable.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-21 15:20:18 -05:00
Jeff Layton 77641f8ca8 Add a bootstrap.yaml file to ceph examples directory
We'd like to be able to let people start a super-bare-bones cluster,
that can then be scaled up from the orchestrator + dashboard.

Start only a single mon and a mgr daemon. Don't do any setup of osds.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-21 15:19:30 -05:00
travisn f0117150f3 docs: consistent dev environment
Signed-off-by: travisn <tnielsen@redhat.com>
2019-02-21 12:25:01 -07:00
Dmitry Yusupov a30966b6e4 EdgeFS: support for S3 buckets as DNS subdomain style
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-02-21 09:00:42 -08:00
Travis Nielsen 9de65bfdf9 Merge pull request #2682 from lbogdan/fix/typo
Fix typo
2019-02-21 09:58:35 -07:00
Nguyen Quang Huy 14a5fd751a Request to perform unsuccessful checks
Correct some words spelling for reading more easily.

Signed-off-by: Nguyen Quang Huy <huynq0911@gmail.com>
2019-02-21 13:41:15 +07:00
Travis Nielsen 0512890427 Merge pull request #2679 from Madhu-1/fix-misspell-1
Fix misspelled words
2019-02-20 13:55:28 -07:00
Bogdan Luca b60897b034 Fix typo
Signed-off-by: Bogdan Luca <luca.bogdan@gmail.com>
2019-02-20 20:10:01 +02:00
Travis Nielsen 649f5977fc Merge pull request #2511 from humblec/final
This PR contains linter corrections on various sources.
2019-02-20 11:01:03 -07:00
Humble Chirammal 5a899a7c7d linter corrections on various sources.
*) Remove punctuation/newline at error strings.
*) Document exported functions and variables.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-02-20 19:29:54 +05:30
Madhu Rajanna 2a80d505ae Fix misspelled words
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-20 19:07:29 +05:30
Travis Nielsen 0207f95066 Merge pull request #2652 from jtlayton/wip-nfs-scale
nfs: scale up/down ganesha servers with Active count
2019-02-18 16:34:22 -07:00
Travis Nielsen 56461422c4 Merge pull request #2661 from travisn/apps-extensions-api
Convert remaining extensions to apps api
2019-02-14 22:00:06 -07:00
travisn ecf8d890c1 convert remaining extensions to apps api
Signed-off-by: travisn <tnielsen@redhat.com>
2019-02-14 16:48:12 -07:00
Travis Nielsen 913f0e0e65 Merge pull request #2611 from rootfs/apps-api
Use Apps api over extensions
2019-02-14 16:25:33 -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
Alexander Trost 84225d9e99 Merge pull request #2444 from yanniszark/cassandra-operator-datadir-fix
cassandra: fix wrong mount point
2019-02-14 18:49:33 +01:00
Yannis Zarkadas cc674d4a42 cassandra: operator upgrade documentation
Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com>
2019-02-14 16:47:19 +02:00
Yannis Zarkadas 7cc217137d cassandra: fix wrong mount point
Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com>
2019-02-14 16:26:51 +02:00
Jeff Layton 66a9ff29df Documentation: add section on scaling to ceph-nfs-crd.md
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-14 08:08:29 -05:00
Alexander Trost f66278af06 Merge pull request #2630 from dyusupov/master
support for EdgeFS ISGW link CRD
2019-02-14 11:34:13 +01:00
Dmitry Yusupov f4bfee8165 support for EdgeFS ISGW link CRD
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-02-13 22:29:27 -08:00
Jared Watts 8035f1c372 Merge pull request #2653 from thephred/update-node
build: Update node to 10.x in cross container
2019-02-13 16:30:36 -08:00
Michael Goff 3764ecf547 build: Update node to 10.x in cross container
Signed-off-by: Michael Goff <thephred@gmail.com>
2019-02-13 14:15:05 -08:00
Jeff Layton c21aa227cf nfs: scale up/down ganesha servers with Active count
Rename createCephNFS to upCephNFS and have it take a parameter with the
old active count. Rename deleteGanesha to downCephNFS and have it take a
parameter with the new desired active count. Both the existing callers
pass in "0" for the new count parameters.

Fix up the onUpdate handler for CephNFS objects, such that changes to
the active count are reflected in the number of active servers. Have it
pass in the appropriate values when scaling servers up or down.

Finally, fix downCephNFS to shut down the highest-index servers first
and count down, instead of doing them in the order they were started.
This should eventually allow us more predictable behavior when scaling
down the number of server nodes.

Resolves: https://github.com/rook/rook/issues/2644
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-13 16:49:48 -05:00
Jared Watts 987bd63848 Merge pull request #2497 from thephred/new-docs-build-process
docs: Update the build process to use the new docs build process
2019-02-13 12:40:12 -08:00
Michael Goff f88a9b78ba docs: Update the build process to use the new docs build process
Signed-off-by: Michael Goff <thephred@gmail.com>
2019-02-13 11:20:41 -08:00
Travis Nielsen 6075723ffb Merge pull request #2647 from rootfs/csi-followup
add endpoints to rook ceph csi operator
2019-02-13 11:46:46 -07:00
Huamin Chen 0895cd0fa2 follow up #2580 and add endpoints to rook operator
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-02-13 11:59:58 -05:00
Travis Nielsen a5aadf0701 Merge pull request #2580 from rootfs/csi-driver
Deploy ceph-csi driver
2019-02-13 08:31:13 -07: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
Travis Nielsen df73f142bf Merge pull request #2615 from jtlayton/wip-watch-url
nfs: add watch_urls directive to watch a RADOS object for notifications
2019-02-12 09:35:50 -07:00
Travis Nielsen 8420538e5f Merge pull request #2629 from SUSE/mgr-all-in-operator
Ceph mgr: configure completely from operator
2019-02-12 08:47:48 -07:00
Travis Nielsen 06d04c6a39 Merge pull request #2631 from travisn/mon-failover-cleanup
Handle mon failover more gracefully
2019-02-12 08:44:14 -07:00