Commit Graph
468 Commits
Author SHA1 Message Date
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
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
David González Ruiz eb59858124 Recognize crypt type as avaiable type and test the feature
Signed-off-by: David González Ruiz <godboole@gmail.com>
2018-02-01 15:13:31 +01:00
David González Ruiz 093d881b9f [OSD] Add crypt type to the array of supported block devices
[skip ci]

Signed-off-by: David González Ruiz <godboole@gmail.com>
2018-01-31 17:41:22 +01:00
Travis Nielsen cec49a67f1 Merge pull request #1444 from travisn/default-ceph-commands
Skip ceph config args for default ceph cluster
2018-01-29 15:11:11 -08:00
Travis Nielsen 18e36255dd ceph: skip config args for default ceph cluster
Signed-off-by: Travis Nielsen <travisn@live.com>
2018-01-29 11:22:14 -08:00
Travis Nielsen 40dbdb05d5 build: consistent capnslog log import path
Signed-off-by: Travis Nielsen <travisn@live.com>
2018-01-29 10:28: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