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>
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>
- 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>
- 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
- multiple file systems are allowed
- multiple mds instances are allowed per file system.
- a keyring is created per mds instance
- double the desired mds instances are started, half in standby mode
separately (240s)
Added comments
operator/mon: made the doc for the nodeState better
Renamed the monHealth to monTimeoutList
Renamed the monOutInterval to monOutTimeout
operator/mon: Implemented the feedback
tests/smoke: Corrected mon_test comment
smoke/mon: set interval and timeout for health check
Added build constraint to smoke/mon_test for linux
As written here https://github.com/rook/rook/pull/958#issuecomment-327507930
Removed controller.go healthCheckInterval
Set the interval for mon_test in smoke_test SetupSuite()
Fixed the smoke test by adding the build constraint
Removed obsolete clientTimeout from operator/cluster
Ran gofmt on block_test and helm_test
Use flags for the mon healthcheck and mon out timeout config
Added helm chart value sfor healthCheckInterval and monOutTimeout
Fixed the timeout map in mon/health.go
Fixed issues with some tests stuff
Reference the operator/mon defaults in the flags
Added Documentation for Ceph mon failover times env vars
Added missing toc link in documentation
Removed "Tweak Ceph mon failover times" to comments in rook-operator.yml