Commit Graph
7961 Commits
Author SHA1 Message Date
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
travisn bdc3cf8146 osd: fix the device filter and improve device provisioning reliability
All devices detected by the discovery pod were being passed to the OSD provisioning pod
thus not always honoring the desired device list that should be provisioned.
Now the provisioning pod will be given the desired state from the crd,
then apply that state depending on the actual devices detected.
Also added a helper to ensure OSDsPerDevice is always valid.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-02-26 16:11:25 -07:00
Travis Nielsen 5ef1557b8b Merge pull request #2706 from gabibbo97/dashboard-readme
Add missing documentation for dashboard options in Cluster CRD
2019-02-26 15:32:52 -07:00
Sergey Kaydalov 4fcfad1dee Edgefs VDEV management document
Signed-off-by: Sergey Kaydalov <kayserg@gmail.com>
2019-02-26 20:30:42 +02:00
Travis Nielsen be2882dc39 Merge pull request #2711 from Madhu-1/fix-csi-dep
Fix ceph-csi deployment document
2019-02-26 11:18:32 -07:00
John Mulligan c3e863d1a9 build: support specifying custom 'docker' command in run script
Allow the default 'docker' command to be overridden by an environment
variable in the "build/run" shell script and the supporting library
file.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-02-25 18:49:11 -05:00
John Mulligan 49f3b68dea build: support specifying custom sha-256 hash command
Create a makefile (and shell) variable that can be used to invoke a
different command line, such as 'sha256sum' instead of the default
'shasum -a 256'. The shasum tool is left as the default but, at least on
fedora, this comes from a perl package and it may be that sha256sum,
which comes from coreutils would allow building on a more minimal
install.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-02-25 18:49:11 -05:00
John Mulligan 0fd73d82d9 images: support specifying custom 'docker' command
In the image makefiles use the "DOCKERCMD" variable in place of
calls to docker command line tool. This allows custom paths
to docker or other docker-compatible tools to be used for builds.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-02-25 18:49:11 -05:00
Travis Nielsen c616ba5f48 Merge pull request #2708 from leseb/nautilus-beast
rgw: change default frontend on nautilus
2019-02-25 15:35:27 -07:00
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
Sébastien Han 03587352d5 rgw: change default frontend on nautilus
As per: https://github.com/ceph/ceph/pull/26599, Beast is now the
default fronted for rados gateway.
Newly created cluster as of Nautilus will use it by default.

Resolves: https://github.com/rook/rook/issues/2707
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-02-24 17:22:32 +01:00
Giacomo Longo d273525451 Add missing documentation for dashboard options in Cluster CRD
As can be seen in pkg/apis/ceph.rook.io/v1/types.go the Cluster CRD documentation is missing details about the dashboard configuration

Signed-off-by: Giacomo Longo <gabibbo97@gmail.com>
2019-02-24 16:04:04 +01:00
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