Commit Graph
2425 Commits
Author SHA1 Message Date
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
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
travisn 5bb60dd8bd docs: update troubleshooting for mons failing to form quorum
Signed-off-by: travisn <tnielsen@redhat.com>
2019-02-11 17:35:28 -07:00
travisn b72c6436ef handle ceph mon failover more gracefully
Signed-off-by: travisn <tnielsen@redhat.com>
2019-02-11 17:35:28 -07:00
Blaine Gardner 03ea5f0a7c ceph mgr: configure completely from operator
Configure the Ceph mgr daemon completely from the operator a la the
recent changes to the Ceph mon operator.

The pod spec for the mgr changed quite a bit, and instead of updating
the unit tests of questionable use, some additional unit test tools
applicable to any Ceph daemon have been added and used with the mgr. The
mgrs unit tests should now be more useful and get in the way of devs
less, and they can be used by other daemons later.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-02-11 14:35:01 -07:00
Travis Nielsen e1dccd86e4 Merge pull request #2498 from humblec/readme
Markdown linter corrections.
2019-02-11 09:49:29 -07:00
hchiramm e0ba599b3a Update readme with markdown linter corrections.
Signed-off-by: hchiramm <hchiramm@redhat.com>
2019-02-11 19:26:35 +05:30
Alexander Trost 78a3995dd0 Merge pull request #2637 from proligde/patch-1
fix indent to prevent kubelet/cluster crash
2019-02-09 13:35:00 +01:00
Maximilian Heinrich bcfa3fe405 fix indent to prevent kubelet/cluster crash
extra_binds has to be on same level as extra_args. Currently it will interpreted as another argument resuling in kubelet being called with the non-existent argument "--extraBinds=/usr/libexec/kubernetes/kubelet-plugins/volume/exec:/usr/libexec/kubernetes/kubelet-plugins/volume/exec" leading to a crash/reboot-loop of the kubelet.

Signed-off-by: Maximilian Heinrich <maximilian.heinrich@esono.de>
2019-02-09 13:25:17 +01:00
Alexander Trost 359d767458 Merge pull request #2636 from christianhuening/document-location-crush-map-feature
Added documentation for custom CRUSH location settings
2019-02-09 13:00:09 +01:00
Christian Hüning 6fc8b9d3c5 added documentation for custom CRUSH location settings
added comment about location to CephFS CRD docs

Signed-off-by: Christian Hüning <christianhuening@googlemail.com>
2019-02-09 12:57:09 +01:00
Travis Nielsen 8a2001c3d7 Merge pull request #2522 from travisn/reference-k8s-provisioner
Reference the k8s provisioner instead of the outdated in-tree provisioner
2019-02-07 19:39:32 -07:00
Jared Watts a554c25a49 Merge pull request #2620 from travisn/duplicate-data-volume
Avoid a duplicate volume for the default test directory
2019-02-05 23:44:18 -08:00
travisn 3a64288356 avoid a duplicate volume for a directory and dataDirHostPath
Signed-off-by: travisn <tnielsen@redhat.com>
2019-02-05 22:26:50 -07:00
Jared Watts d424708c18 Merge pull request #2618 from phlogistonjohn/patch-1
docs: correct prose in quickstart to match example
2019-02-05 15:00:01 -08:00
John Mulligan 0cdea356f9 docs: correct prose in quickstart to match example
The namespace referred to by the prose text in the "Create a Rook Cluster" when creating the cluster was incorrect and did not match the example below, which was correct.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-02-05 17:05:56 -05:00
Travis Nielsen 991a290ad3 Merge pull request #2462 from SUSE/mon-all-in-operator
ceph mon: configure mon completely from operator
2019-02-05 07:58:13 -07:00
Blaine Gardner ec416cdd92 ceph mons: set up entirely in operator
Make the Rook config-init unnecessary for mons, and remove that init
container. Perform all mon configuration steps in the operator, and set
up the mon pods and k8s environment such that only Ceph containers are
needed for running mons.

This should help streamline changes to the mons, as there will be no
need to change the `daemon/mon` code or `cmd/rook/ceph` code with mon
changes in the future.

This work starts to lay the groundwork for supporting the
`design/ceph-config-updates.md` design.

Notable new bits:

Create a keyring secret store helper for storing dameon keyrings, and
use it to store the mon keyring. Mon pods mount the keyring into a
k8s secret-backed volume.

Create a configmap store for the Ceph config file which can be mounted
into pods/containers directly to /etc/ceph/ceph.conf. Also store
individual mon_host and mon_initial_members values which can be mapped
into pods as environment variables and used in Ceph commandline flags,
enabling the mon pods to have the most up-to-date information about the
mon cluster when restarting and without need for operator intervention.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-02-05 06:19:59 -07:00
Blaine Gardner 918fffcc71 ceph mon op: split large files for readability
The mon operator code is fairly substantial. Separate large files into
more smaller ones with a good separation of names. This will be
important for trying to move all the mon code into the operator.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-02-05 06:18:00 -07:00
Blaine Gardner e13956c0bf ceph mon: set public-bind-addr from commandline
Set each Ceph mon's `public bind addr` from the commandline instead of
by inserting it into the config file. This eliminates an extra step from
initializing mon configs.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-02-05 06:06:35 -07:00
Jeff Layton 90085d89cf nfs: add watch_urls directive to watch a RADOS object for notifications
Ganesha recently grew the ability to watch a RADOS object for
notifications, which will cue it to reload its configuration. Add the
directive to the RADOS_URLS config block.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-05 06:54:03 -05:00
Alexander Trost e67155fd31 Merge pull request #2605 from leseb/limit-hostnetwork
ceph: check num mon for hostnetworking
2019-02-04 23:32:07 +01:00