Commit Graph
16 Commits
Author SHA1 Message Date
Steve Leon c1882d4760 Ensuring volume lock is released when the same pod is requesting it
There is a case where a pod is trying to request a volume
attachment after the previous attachment failed. However even though this is
the same pod as the original attachment request, its UID could be different. This is normally caused when
the user manually deletes the pod and recreate it again. The name will be the same but the ID will be different

fixes https://github.com/rook/rook/issues/1214
2017-12-01 13:34:30 -08:00
Bassam Tabbara a8882929d3 Merge pull request #1212 from galexrt/feature/health_rebalance_mons
Failover mon when there is more than one mon on one node
2017-11-14 16:13:59 -08:00
Travis Nielsen 29ec997273 operator: update to latest operator kit with logging 2017-11-14 12:44:50 -08:00
Alexander Trost e7d20647aa Failover mon when there is more than one mon on one node
Added check to verify that the node a mon is running on is still valid
2017-11-10 16:35:58 +01:00
Steve Leon 7b71baba06 Handle cephfs mount for kernel older than 4.7
- If kernel is older than 4.7, a warning message
will be printed in the agent's logs

Fixes https://github.com/rook/rook/issues/1044
2017-11-06 17:50:15 -08:00
Jared Watts 3c1dd6e6eb clean up outstanding rbd devices during cluster deletion 2017-11-03 17:43:54 -07:00
Jared Watts 86441f95be Merge pull request #1115 from kokhang/flex-cephfs
Adding support to mount cephfs in rook flexvolume
2017-11-01 10:49:54 -07:00
Jared Watts b9625c1325 Add documentation for flexvolume common problems and add a friendly message to rook-agent. 2017-10-31 16:21:13 -07:00
Bassam Tabbara 293667b59f use rook/operator-kit instead of our private copy 2017-10-27 13:16:06 -07:00
Steve Leon 9e1c6af0ad Adding support to mount cephfs in rook flexvolume
fixes https://github.com/rook/rook/issues/1008
2017-10-26 13:50:04 -07:00
Travis Nielsen 4e6774c063 remove legacy standalone code 2017-10-17 12:23:57 -07:00
Steve Leon 08f67ba4c9 Allow attach request to proceed when VolumeAttachment is already created
Fixes https://github.com/rook/rook/issues/1082
2017-10-16 17:39:36 -07:00
Steve Leon 724a78cc6b Moving FindRBDMappedFile to ceph/util/
Fixes https://github.com/rook/rook/issues/1056
2017-10-12 15:51:59 -07:00
Steve Leon e290cee720 Executing modprobe in agent pod
Fixes https://github.com/rook/rook/issues/1062
2017-10-12 14:44:26 -07:00
Steve Leon 9f4df4f7ad Renaming flexvolume to rookflex
Fixes https://github.com/rook/rook/issues/1052
2017-10-12 13:19:55 -07:00
Steve Leon b4279e06fb Rook plugin for Kubernetes implemented as flexvolume
- Operator is deployed under namespace rook-system
- Operator deploys rook-agent on all nodes as daemonset also on
  rook-system
- Rook-agent installs flexvolume driver on hosts
- Rook-agent listens on unix socket for driver requests
- Rook-agent perform attach/detach on its node
- Rook-agent creates/delete CRD volumeattach objects
- Added fencing to support ROX and RWO
- Added unit and integration tests
- Updated examples and docks

fixes #432
2017-10-09 09:14:08 -07:00