Commit Graph
11197 Commits
Author SHA1 Message Date
Noah Watkins 1ee7cdfa8b ceph: refactor dashboard retry logic to use helper
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-14 14:52:44 -07:00
Noah Watkins 8ebf9ac722 ceph: retry dashboard credentials setup
may need retry if manager hasn't fully loaded its modules.

fixes: #2809

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-14 14:51:50 -07:00
Noah Watkins 5c9bb7d9d7 ceph: add helper to execute cmd with retries
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-14 14:50:54 -07:00
Travis Nielsen b4c90b651f Merge pull request #2780 from travisn/crd-triggers-orchestration
Trigger an orchestration on any crd update
2019-03-14 15:35:17 -06:00
Alexander Trost 4816c15d08 Merge pull request #2767 from sabbot/master
EdgeFS CSI for Block interface CRDs, dockumentation and examples
2019-03-14 22:29:13 +01:00
Travis Nielsen 6d3f7ab633 Merge pull request #2823 from nakabonne/cockroach-installation
Add 'if not exists' to the command that creates a test database/table
2019-03-14 13:19:29 -06:00
Alexander Trost 99c71ab03a Merge pull request #2819 from galexrt/go_1_12
Added Golang v1.12 to supported versions
2019-03-14 20:19:14 +01:00
travisn 3548418774 print the diff for changes to the cluster crd
Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-14 13:10:52 -06:00
travisn c1628141aa minimize args to mon creation in the operator
Only the args necessary have traditionally been passed to the mon package.
This has led to many properties in the mon struct, whereas we will
now simply pass the cluster crd spec to simplify.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-14 13:10:52 -06:00
travisn 2fd1f7345d Trigger an orchestration on any crd update and only allow a single orchestration of mons at a time
The orchestrations need to be triggered on any update to the crd.
Users today restart the operator for various scenarios when the
operator could take care of it automatically. If unsupported options
are updated, they should just be ignored.

There are two goroutines that are working with the mons.
The first is an orchestration that is triggered by the operator
at startup, or when the cluster crd is updated. The second
is the health check that triggers periodically by default every
45 seconds. These goroutines must not try to make updates at the
same time. A mutex is added so one will block if the other is
still active. The mutex is only active for the duration of working
with mons, and not an entire orchestration of mgr, osd, etc

Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-14 13:10:12 -06:00
Travis Nielsen a05ce45280 Merge pull request #2693 from SUSE/SH_#2208
#2208 OSDs not automatically started when adding nodes to existing cluster
2019-03-14 13:01:29 -06:00
Stefan Haas 1f1dbc7461 issue #2208 OSDs not automatically started when adding nodes to existing cluster
Signed-off-by: Stefan Haas <shaas@suse.com>
2019-03-14 18:54:40 +01:00
Travis Nielsen 066e65a5db Merge pull request #2815 from travisn/retry-file-mount-test
Retry the file mount integration test for stability
2019-03-14 10:37:35 -06:00
Alexander Trost ea1956c2d3 Merge pull request #2761 from marklester/kubespray-update
docs: add kubespray instructions to flexvolume doc
2019-03-14 14:42:50 +01:00
Ryo Nakao e7fd7ac47e Add 'if not exists' to the command that creates a test database/table
Signed-off-by: Ryo Nakao <nakabonne@gmail.com>
2019-03-14 17:55:39 +09:00
Alexander Trost a33503493b Added Golang v1.12 to supported versions
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-03-14 09:45:45 +01:00
Anton Skriptsov 8049de452b EdgeFS CSI for Block interface CRDs, dockumentation and examples
Signed-off-by: Anton Skriptsov <anton.skriptsov@nexenta.com>
2019-03-13 14:40:06 -07:00
Mark 44a5f1392b docs: add kubespray instructions to flexvolume doc
updated page to include information about how the flexvolume path is setup in kubespray

Signed-off-by: Mark <mlester@gmail.com>

update docs with suggested pr changes

made recommended change to link text
made kubespray section more clear
added link to where kubespray sets the dir
changed links to k8s docs to the moved location

Signed-off-by: Mark <mlester@gmail.com>
2019-03-13 16:36:53 -04:00
Alexander Trost 6140661766 Merge pull request #2817 from jarrpa/ceph-job-placement
Allow Ceph detect version Job to accept placement
2019-03-13 20:28:51 +01:00
Blaine Gardner 6f22781961 ceph rbd-mirror: update deployment if exists
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-03-13 12:43:46 -06:00
Travis Nielsen 73c24ddf72 Merge pull request #2789 from SUSE/rbdmirror-all-in-operator
ceph rbd-mirror: configure entirely in operator
2019-03-13 12:02:10 -06:00
Jose A. Rivera a211a3cd26 Allow Ceph detect version Job to accept placement
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
2019-03-13 11:18:17 -05:00
Blaine Gardner c12aa6c7c5 ceph rbd-mirror: configure entirely in operator
In the form of mon, mgr, mds, and rgw, convert the rbd-mirror to be
configured completely from the operator. This is a straightforward
conversion with one functional addition: the rbd-mirror daemon stores
*no* data and has no default data dir, so the concept of a `Dataless`
daemon is here introduced.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-03-13 09:54:09 -06:00
travisn eece96eea4 tests: retry the file mount integration test for stability
Signed-off-by: travisn <tnielsen@redhat.com>
2019-03-12 17:30:06 -06:00
Travis Nielsen fb4fa464e1 Merge pull request #2726 from Madhu-1/cephfs-csi
Add cephfs csi doc
2019-03-12 14:02:10 -07:00
Travis Nielsen 28d9f9a9f3 Merge pull request #2802 from ajarr/fix-2725
ceph filesystem: don't use `mds deactivate` mimic onwards
2019-03-12 12:03:24 -07:00
Travis Nielsen 09d7f75a25 Merge pull request #2793 from ZYecho/add-logs
test: add ci logs when build is successful
2019-03-12 12:02:43 -07:00
Travis Nielsen 63e9e65815 Merge pull request #2803 from SUSE/typo
Ceph file/mds: fix typo: mgr -> mds
2019-03-12 11:23:11 -07:00
Travis Nielsen c58e82df61 Merge pull request #2799 from JoeWrightss/patch-3
Fix typo in config.go
2019-03-12 08:37:29 -07:00
Ramana Raja 828d2dd366 ceph filesystem: don't use mds deactivate from mimic onwards
From ceph mimic (13.x) onwards, `mds deactivate` command is
deprecated. To scale down the number of active MDSes of a filesystem,
it's sufficient to set the desired number of active MDSes using
'max_mds' setting, and is no longer required to individually
deactivate the unwanted MDSes.

Resolves: #2725
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-03-12 15:04:11 +05:30
Alexander Trost 5a055ec6f3 Merge pull request #2798 from dimm0/patch-1
Added PSP RBAC for rook-edgefs-cluster SA
2019-03-12 09:37:35 +01:00
Dmitry Mishin 0aa1d788ef Added PSP RBAC for rook-edgefs-cluster SA
Fixes https://github.com/rook/rook/issues/2795

Signed-off-by: Dmitry Mishin <dmitry.mishin@gmail.com>
2019-03-11 21:57:37 -07:00
Blaine Gardner 64d8b6d66b Ceph file/mds: fix typo: mgr -> mds
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-03-11 09:46:52 -06:00
zhoulin xie 7f8d3a35c5 Fix typo in config.go
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-03-10 20:32:04 +08:00
zhangyue 1859096041 test: add ci logs when build is successful
Signed-off-by: zhangyue <zy675793960@yeah.net>
2019-03-10 12:18:23 +08:00
Alexander Trost 70196e5f5f Merge pull request #2786 from nakabonne/add-wget
Add wget to required tool list
2019-03-09 12:19:52 +01:00
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
Ryo Nakao 64de987cde Add wget to required tool list
Signed-off-by: Ryo Nakao <nakabonne@gmail.com>
2019-03-08 12:59:32 +09: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