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
Steve Leon
b73d5ddeb5
Add toleration for agent daemonset
...
Fixes https://github.com/rook/rook/issues/1295
2017-12-12 18:33:44 -08:00
Alexander Trost
c9f9c930d7
op/osd: Replace directories usages with selection.directories
2017-12-12 14:39:02 -06:00
Travis Nielsen
021046792b
Merge pull request #1153 from bassam/pr-kube-1.8
...
Upgrading client to kubernetes 1.8 with code generation
2017-12-12 12:35:18 -08:00
Steve Leon
735d2e7155
Not create rbac roles on k8s cluster that have rbac disabled.
...
Fixes https://github.com/rook/rook/issues/1221
2017-12-11 14:55:11 -08:00
Travis Nielsen
2a2d0774e7
agent: consume the generated clientset for attachments
2017-12-11 14:35:07 -08:00
Travis Nielsen
e2bd9276bf
consume the generated rook clientset
2017-12-11 14:35:07 -08:00
Travis Nielsen
0298d1fb29
completed conversion for k8s 1.8 client conversion
...
move core rados packages under cluster folder
move daemons under daemon pkg
rename flex crd package to attachment
pin dep to k8s 1.8.2
2017-12-11 14:35:07 -08:00
Bassam Tabbara
9b611abda7
inital attempt at upgrading to kubernetes 1.8
...
Update all K8s dependencies to the release-1.8 branches.
Added build and make file support for generating code.
Fixed our use of client-go to match changes in new release.
2017-12-11 14:34:24 -08:00
Alexander Trost
ad4242cdd2
Add cluster wide directories path
2017-11-30 17:25:19 +01:00
Jared Watts
9da4d286d2
api: recreate mon endpoint watcher when the result channel is closed
2017-11-29 17:00:50 -08:00
Jared Watts
d250f5694e
Merge pull request #1253 from Ulexus/bug-1252
...
operator: add existence checks for FlexVolume spec on Delete
2017-11-28 11:44:18 -08:00
Jared Watts
faa2baee4b
Unmarshal volume plugin dir from kubelet config response for 1.8
2017-11-27 10:06:20 -08:00
Seán C McCord
39e68a3c2b
Add existence checks for FlexVolume on Delete
...
This is a rather noisesome way of checking something which will only
happen during legacy conversion, so this may not be a desirable patch.
2017-11-20 21:47:27 -05:00