Commit Graph
3382 Commits
Author SHA1 Message Date
travisn 962b4f22da osd: available devices should include previously configured devices
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-10 12:41:43 -06:00
travisn 86f6b3ccf0 avoid setting ownerref when not available for crds
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-06 16:35:31 -06:00
travisn 55e0ee26c0 monitor the OSDs for the lifetime of the cluster
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-06 15:08:59 -06:00
travisn c9406597e1 osd: remove storage nodes centrally in the operator
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:09:22 -06:00
Huamin Chen 0bb6005055 add osd health monitor
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-05 16:09:22 -06:00
travisn e7cbbab5db osd: register tini for subreaping
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:09:21 -06:00
travisn 604bb614ad tests: verify integrity after osd pod restart
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:09:21 -06:00
travisn 021e8e7a9e osd: watch provisioning status for all nodes and start osds as each node is ready
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:08:31 -06:00
travisn 330aa9b6c8 osd: cleanup mounts for filestore on a device and other refactor for one osd per pod
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:04:03 -06:00
travisn 3e1ef0d760 mount directory host path if needed
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 16:02:27 -06:00
Huamin Chen 82425aafcc prepare osd in a job per node. Once all osds are prepared, store osd info in orchestration configmap.
Operator watches the configmap, starts one osd replica set per osd.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-07-05 16:02:27 -06:00
travisn 89cfccd5a2 enable rook to run on openshift
Signed-off-by: travisn <tnielsen@redhat.com>
2018-07-05 11:20:43 -06:00
travisn 77cd878360 set default service account for the osd
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-25 12:57:25 -06:00
travisn 6502cda3b4 refactor cluster roles for minimal rbac access
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-25 12:57:25 -06:00
Travis Nielsen 858fb20037 Merge pull request #1791 from checkaayush/replaceCustomAwk
Replace custom Awk and remove related tests
2018-06-18 18:11:01 -07:00
Aayush Sarva 80f3e8ebf4 Replace custom Awk and remove related tests
Signed-off-by: Aayush Sarva <checkaayush@gmail.com>

Return error if field not found

Signed-off-by: Aayush Sarva <checkaayush@gmail.com>
2018-06-19 05:03:28 +05:30
Travis Nielsen dd5ef1a76a Merge pull request #1780 from galexrt/mon_doc_default_changes
Updated upgrade path for monCount
2018-06-18 10:04:37 -07:00
Alexander Trost c313899070 Updated upgrade path for monCount
Default to 3 mons when no `mon.count` is given.
The documentation and upgrade page has been updated accordingly to reflect the new
default.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-06-16 02:03:08 +02:00
travisn 0eaca4067b mgr: rename the daemon to mgr.a
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-15 11:00:11 -07:00
travisn ce0c705768 mds: daemon name is the full pod suffix
Signed-off-by: travisn <tnielsen@redhat.com>
2018-06-15 10:58:16 -07:00
Ganesh Maharaj Mahalingam aeb3c6a26d JournalPartition Code Cleanup
Cleaning out the below entities.
- JournalPartitionType is defined but will never be used given rook will always
place journal file in the filestore's block partition.
- GetMetadataPartitionType and getDataPartitionDetails functions are legacy
code and no longer used by any of the rook components.

Resolves: #1775

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2018-06-12 23:39:41 -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
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
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