Commit Graph
3904 Commits
Author SHA1 Message Date
travisn 7bd850e7fc flex: base driver name on the namespace
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-11 14:02:16 -07:00
travisn fc9118f7b2 remove support for k8s 1.6 and TPRs
Signed-off-by: travisn <tnielsen@redhat.com>
2018-05-08 10:09:38 -07:00
Huamin Chen 6c11ff52d4 add device discovery daemon to operator:
run "rook discover" on storage nodes and discover devices on each node. The discovered disks are saved in a per node configmap, local-device-nodename.
Device information consits of name and persistent names, uuid, partition, filesystem, rotational, readonly, size, etc.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-05-07 17:49:02 +00:00
Alexander Trost 526bf9d76d Start new mons when there are less in the mon map
Fixed TestCheckHealth test

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-05-02 15:34:13 +02:00
rohan47 c80decbba8 updated storage class parameter clusterName to clusterNamespace
cluster name and namespace are required to match.
clusterName still works for backward compatiblity

Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
2018-04-25 18:24:13 +00:00
Alvaro Aleman 681f2999af Add standard Prometheus annotations to mgr deployment
This allows users to scrape their ceph-mgr deployment without being
forced to use the Prometheus operator

Signed-off-by: Alvaro Aleman <alv2412@googlemail.com>
2018-04-23 17:17:39 +02:00
travisn 94839d5b43 allow multiple containers in rook pods
Signed-off-by: travisn <tnielsen@redhat.com>
2018-04-20 11:13:41 -07:00
Travis Nielsen f42569da9c Merge pull request #1640 from galexrt/rook-agent-ds_update
operator: Update rook-agent DaemonSet if it already exists
2018-04-18 11:37:50 -04:00
Tony Allen 82d7a6de33 Replace Core() with CoreV1().
Signed-off-by: Tony Allen <cyril0allen@gmail.com>
2018-04-15 01:09:40 -07:00
Alexander Trost 57f51838bd operator: Update rook-agent DaemonSet if it already exists
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-04-12 17:30:44 +02:00
Illya Chekrygin c27bfc3bb4 Define CRD's as a part of the operator provisionning and remove it from operator init phase
Remove empty try/catch (erroneous commit)
Update Teardown documentation
Update PendingReleaseNotes with Operator resource changes

Signed-off-by: Illya Chekrygin <illya.chekrygin@gmail.com>
2018-04-05 09:54:22 -07:00
Travis Nielsen 6cddcbc179 Merge pull request #1598 from galexrt/mon_quorum_message
Log when mon is back in quorum and exceeded timeout
2018-03-26 08:25:27 -07:00
Alexander Trost 886176dabd Log when mon is back in quorum and exceeded timeout
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-03-26 15:12:58 +02:00
travisn 3840dd1c66 osd: bluestore is the default for devices and filestore for dirs
Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-20 15:39:42 -07:00
travisn b121357215 api: completed removal of api service
remove dependency of e2e tests on api service
remove the obsolete model package

Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-16 08:31:34 -07:00
travisn 9e4baf4c96 (ichekrygin) Remove the rook api service from production code
Remove controller api component and api daemon
Remove rookctl and  endpoints from Docker image

Signed-off-by: travisn <tnielsen@redhat.com>
2018-03-16 08:30:54 -07:00
Dan Mick e01beb0a87 Properly terminate controller threads on cluster delete
The stopCh value was only present in struct cluster, whose instance was
local to the onAdd function; save it to ClusterController.

Second, it was not initialized.

Third, ClusterController's "devicesInUse" needs to be set false on
cluster delete.

With this fix, Ceph clusters can be deleted and recreated without
restarting the Rook operator.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2018-03-09 18:57:29 -08:00
Alexander Trost de60740d67 Fix assignment of node address to mon in failover
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-03-07 17:41:39 +01:00
Jared Watts 2746b499ef Merge pull request #1493 from dgonzalezruiz/fixMGRcrashes
RGWs: Make multiple instances do not interfere with MGRs
2018-02-19 19:46:51 -08:00
David González Ruiz 7e06c84654 RGWs: Make multiple instances do not interfere with MGRs
Signed-off-by: David González Ruiz <godboole@gmail.com>
2018-02-16 12:32:01 +01:00
Jared Watts f06dd0009e When marking an OSD device to be removed, ensure the correct data partition name is used.
If watching the osd orchestration status map fails, ensure the loop is broken out of so a new watcher can be created.
Log the osd device/dir mapping structures in a more friendly way

Signed-off-by: Jared Watts <jbw976@gmail.com>
2018-02-15 13:48:50 -08:00
Travis Nielsen 60fc63d9cc Merge pull request #1473 from kokhang/agent-upgradable
Make daemonset use rolling update controller
2018-02-12 12:41:30 -08:00
Travis Nielsen 59334b19ed Merge pull request #1489 from travisn/crd-cleanup
Set owner reference on remaining components
2018-02-12 12:31:58 -08:00
Travis Nielsen f13a6ec43a cluster: set owner reference on remaining components
Signed-off-by: Travis Nielsen <travisn@live.com>
2018-02-12 11:09:32 -08:00
John Spray 35e92c1a30 Remove unused constants in Filesystem operator
Signed-off-by: John Spray <john.spray@redhat.com>
2018-02-12 17:20:25 +00:00
Omri Shiv e8c5836313 fixing typo
Signed-off-by: Omri Shiv <omri.shiv@teradata.com>
2018-02-10 15:15:13 -08:00
Steve Leon 686a371f5d Make daemonset use rolling update controller
- Daemonsets deployed by rook currently use the "delete" update
  controller. Which means the pods have to be manually deleted
  before being upgraded.

- Using the update controller will make daemonset behave like
  deployments when it comes to upgrade.

Partially fixes https://github.com/rook/rook/issues/997

Signed-off-by: Steve Leon <kokhang@gmail.com>
2018-02-06 15:40:13 -08:00
Travis Nielsen 24e112e333 rgw: correct host name and set blank dns name
Signed-off-by: Travis Nielsen <travisn@live.com>
2018-01-26 13:01:39 -08:00
Jared Watts 202650f6f5 Add and remove storage nodes 2018-01-24 14:31:20 -08:00
Travis Nielsen 4531987311 pools: allow setting crush root on the pool 2018-01-23 11:55:52 -08:00
Alexander Trost 9eb3693b29 Improved warnings for monCount values 2018-01-22 17:37:13 +01:00
Travis Nielsen 01bff8543b Merge pull request #1409 from travisn/hostname-label
Mon affinity to nodes based on correct hostname
2018-01-19 16:39:21 -08:00
Travis Nielsen 8725170077 operator: mon affinity to nodes based on node hostname 2018-01-17 14:47:22 -08:00
Christian Hüning ec8b2da4af added agentDaemonsetTolerationKeyEnv Var to be able to set a Toleration Key
added new option to example rook-operator.yaml

updated tests for the AGENT_TOLERATION_KEY env var
2018-01-12 07:59:03 +01:00
Travis Nielsen 107839fc65 tests: call rook clientset to create test cluster and consolidate cleanup 2018-01-10 10:48:17 -08:00
Travis Nielsen 4c22dc4fc2 operator: implement a finalizer for the cluster 2018-01-10 10:48:17 -08:00
Travis Nielsen e874bfa751 cluster: set owner reference on child resources 2018-01-10 10:48:17 -08:00
Jared Watts 9305bd88e3 Merge pull request #1154 from galexrt/feature/1111
Enable Prometheus metrics on Ceph mgr
2018-01-04 12:50:47 -08:00
Alexander Trost 0e42343e73 Create http-metrics service for mgrs
Enable prometheus module on mgr with pkg/ceph/client.MgrEnableModule()

Added force option to MgrEnableModule()
2018-01-04 08:47:27 +01:00
Travis Nielsen 6f80f23795 Merge pull request #1370 from travisn/consolidate-kvstore
Consolidate the kvstore interface
2018-01-03 11:34:07 -08:00
Travis Nielsen 93cadf6491 Merge pull request #1372 from galexrt/feature/remove_mon_pod_affinity
Removed mon Pod(Anti)Affinity
2018-01-03 11:33:22 -08:00
Alexander Trost 8c9a31ad64 Removed mon Pod(Anti)Affinity
Clarify docs for mon Pod(Anti)Affinity
2018-01-03 19:35:25 +01:00
Travis Nielsen 9b94111dd2 consolidate the kvstore interface 2018-01-03 08:36:43 -08:00
Travis Nielsen 4f44ace92b clean up the licenses that are not actually from etcd-operator 2018-01-02 22:46:14 -08:00
Travis Nielsen 4c47adc80a move ceph sources under ceph folders 2017-12-28 13:34:05 -08:00
Alexander Pinnecke 83c718ccb7 Add a warning to OSC cluster operator when no nodes are specified 2017-12-26 16:57:03 +01:00
Alexander Trost c3938626e0 Revert "Run two MGRs to have one in standby mode" 2017-12-20 16:59:22 +01:00
Jared Watts c1a87fac61 Merge pull request #1294 from galexrt/fix/1293
op/osd: Replace directories usages with selection.directories
2017-12-18 09:55:35 -08:00
Travis Nielsen 82cce0d8af operator: remove versionTag in favor of container image version 2017-12-13 10:12:09 -08:00
Travis Nielsen 52d97ea938 Merge pull request #1300 from kokhang/agent-toleration
Add toleration for agent daemonset
2017-12-13 09:46:48 -08:00