travisn
e71c02c5f2
dashboard: update the cluster crd code generation
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-12 09:47:56 -07:00
Jared Watts
bb375e9408
Merge pull request #1772 from ganeshmaharaj/fix-bstore-partitions
...
Fix bluestore DB and WAL partition creation
2018-06-07 16:26:38 -07:00
travisn
756c00fc4b
mgr: enable the ceph dashboard
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-07 15:08:58 -07:00
Ganesh Maharaj Mahalingam
75d50b6f62
Fix bluestore DB and WAL partition creation
...
Bluestore is assumed as the default backend and string StoreType is left empty.
Propogating that assumption to device partitioning.
Resolves : #1748
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com >
2018-06-07 15:07:28 -07:00
Travis Nielsen
a0b8fb7cea
Merge pull request #1763 from galexrt/1732
...
Document discover DaemonSet toleration key
2018-06-07 13:54:50 -07:00
Travis Nielsen
ccc5acd98b
Merge pull request #1710 from galexrt/1386
...
ceph mon: Only run one mon on a node
2018-06-07 09:21:36 -07:00
Alexander Trost
098d4f2473
Update Rook Discover DaemonSet when it already exists
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-06-07 10:30:00 +02:00
Alexander Trost
86568cafd3
operator/ceph/mon: Cleaned up tests
...
To make it more applicable to what is actually running when using the
operator the used test mon names have been replaced by the actual format
used in normal operations: `rook-ceph-mon[0-9]` instead of `mon[0-9]`.
This also removes some duplicated test code and used the already
available function for it.
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-06-04 23:01:29 +02:00
Alexander Trost
edfa135560
ceph mon: Only run one mon on a node
...
This introduces a MonSpec to the Ceph Cluster CRD which contains settings for
mons, current options are the count and if more than one mon is allowed
to run per node.
Fixes #1386
Signed-off-by: Alexander Trost <galexrt@googlemail.com >
2018-06-02 13:36:30 +02:00
travisn
4078b1b7f9
osd: device discovery to load part uuid after restart
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-06-01 21:03:03 -07:00
Jared Watts
b2a35791b4
Merge pull request #1746 from benceszikora/fix-udevadm
...
Fix udevadm providing incomplete info by mounting /run/udev
2018-05-26 13:26:46 -07:00
Bence Szikora
144c9ee998
Fix udevadm providing incomplete info by mounting /run/udev
...
Signed-off-by: Bence Szikora <szikora0531@yahoo.de >
2018-05-26 07:13:49 +01:00
Jared Watts
c3b113cc73
Fixes for minor issues found in further testing of new multiple storage type support
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-05-24 21:34:18 -07:00
Ganesh Maharaj Mahalingam
f6498f48b0
Fix PV delete failure over operator restarts
...
This patch attempts to fix PV delete issues after an operator service
restart.
Resolves : #1721
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com >
2018-05-24 12:14:49 -07:00
Jared Watts
e48e951d1c
Rename toolbox to make it Ceph specific, short names for CRDs, upgrade guide tweaks
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-05-22 12:31:38 -07:00
Jared Watts
f3df68e573
operator, daemon, and cmd updates for supporting multiple storage types
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-05-18 14:32:20 -07:00
Jared Watts
984da07d20
clients: generated clients for rook.io/v1alpha2 and ceph.rook.io/v1alpha1
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-05-18 14:24:09 -07:00
Jared Watts
8b5fc8d55d
apis: CRDs and specs for rook.io/v1alpha2 and ceph.rook.io/v1alpha1
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-05-18 14:21:58 -07:00
Ganesh Maharaj Mahalingam
37d102a1ba
Ceph MDS: Control multi file system creation
...
Multiple file system support is still considered experimental in Ceph.
Disabling that as default in rook until such time it is production
ready.
A small code cleanup in filesystem file
Resolves #1720
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com >
2018-05-17 17:10:01 -07:00
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
6d7ca2c973
Modify pool creation for EC overwrite config.
...
Signed-off-by: Tony Allen <tony@upbound.io >
2018-04-18 00:19:55 -07: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
Jared Watts
6a2e20aaa8
include stderr output in CommandError.Error() output
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-03-28 13:26:00 -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
0c04c91a03
docs: add more instructions to collect logs and run ceph tools
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-03-23 14:23:30 -07:00
travisn
16dfbb1258
tools: copy ceph config to default folder
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-03-23 14:21:44 -07: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
2a1636d1ec
remove the ceph-exporter that was replaced by the ceph module
...
Signed-off-by: travisn <tnielsen@redhat.com >
2018-03-16 08:32:32 -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
Jared Watts
1f03c8a6be
osd: check ready file to see if OSD is new or not, clean up any stale state for new OSDs
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-02-14 17:42:28 -08:00
Jared Watts
1024cff51a
osd: ensure default dir is always used when no dirs or devices are specified
...
Signed-off-by: Jared Watts <jbw976@gmail.com >
2018-02-14 09:27:07 -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