Commit Graph
495 Commits
Author SHA1 Message Date
Madhu Rajanna 09da4e3a3e Correct SYSTEM spelling
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-24 09:32:36 +05:30
Travis Nielsen ba2b8724ce Merge pull request #3946 from sebastian-philipp/crd-validation-network-provider
CephCluster CRD: Added additional network attributes to validation
2019-09-23 10:22:41 -06:00
Travis Nielsen 1969a4f4fb Merge pull request #3944 from Madhu-1/correct-ns
correct namespace for csi resources  in upgrade doc
2019-09-23 10:22:00 -06:00
Travis Nielsen 1e695283c9 Merge pull request #3945 from Madhu-1/disable-flex
Disable Flexdriver in helm chart and operator-openshift
2019-09-23 09:52:10 -06:00
Madhu Rajanna d71d57f0e9 Add KUBELET_DIR_PATH to operator-openshift.yaml
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 20:26:03 +05:30
Madhu Rajanna 7a407fb045 Disable flex driver in operator-openshift.yaml
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 20:26:03 +05:30
Madhu Rajanna 15f36e9c63 Disable Flexdriver in helm chart
in commit https://github.com/rook/rook/commit/c7b861a21d729da0a4e5a86349efc8a290130bb8
flexdriver got enabled  by mistake, This will fix it

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 20:26:03 +05:30
Sébastien Han 2e482d15a3 ceph: common.yaml remove empty line
We don't need this empty line.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-23 12:10:38 +02:00
Sébastien Han 0b4129c856 rook-ceph olm: add missing nfs crd example
When displaying the CRDs OLM looks into the alm-examples field in the
CSV file, the NFS CRD example was missing so let's add it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-23 12:08:15 +02:00
Sébastien Han cf091d3773 Merge pull request #3928 from rohantmp/csvBump
Generate OLM clusterserviceversion v1.1.1
2019-09-23 11:46:55 +02:00
Sebastian Wagner 82329a0bc6 Ceph CRDs: sync between copies
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-09-23 09:57:49 +02:00
Sebastian Wagner 965dc93f11 CephCluster CRD: Added network.provider to validation
(and `network.selectors`)

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-09-23 09:57:05 +02:00
Madhu Rajanna 04a276abf1 correct namespace for csi resources
CSI pods should look for the resources
created in ROOK_SYSTEM_NAMESPACE instead
of ROOK_NAMESPACE

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 10:20:51 +05:30
Travis Nielsen f96960cfcc Merge pull request #3904 from sebastian-philipp/crd-validation-disruptionManagement
Fix CRD Validation: disruptionManagement and mgr modules
2019-09-20 17:06:45 -06:00
Travis Nielsen 5f37de8abc Merge pull request #3927 from Madhu-1/fix-3921
Make kubelet path configurable in operator for csi
2019-09-20 10:45:27 -06:00
Sébastien Han 78d21c5758 Merge pull request #3918 from rohantmp/nfsCSV
Add CephNFS to OLM's clusterserviceversion
2019-09-20 18:07:26 +02:00
Madhu Rajanna 3235676a5a group csi variables under single if check
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-20 18:57:55 +05:30
Madhu Rajanna 345f099bbc Make kubelet path configurable in operator
currently CSI templates have hardcoded kubelet
path which will  be used for  mounting PVC,this
will not work if kubelet is configured to use
different path, with this PR  kubelet path
can be configured for CSI.

Fixes: #3921

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-20 18:51:44 +05:30
Sebastian Wagner ec77c21f9b examples/ceph/cluster.yaml: comment out mgr.modules
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-09-20 09:55:46 +02:00
Sebastian Wagner 1987480dc5 Added missing properties
* volumeClaimTemplate
* storageClassDeviceSets
* external.enable

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-09-20 09:55:46 +02:00
Sebastian Wagner f66f6c1ce3 disruptionManagement: Added missing CRD validation
Also:
* `cluster.yaml`: spec.mgr.modules is not explicily nullable
* Removed `required: mon` in `ceph_manifests.go`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-09-20 09:55:46 +02:00
Rohan CJ e480aa8ddf Generate CSV v1.1.1
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-09-20 12:04:16 +05:30
Blaine Gardner f97820a088 Merge pull request #3902 from Madhu-1/fix-3868
update cephcsi upgrade document
2019-09-19 12:14:37 -06:00
Rohan CJ d332c6a654 Add CephNFS to CSV
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-09-19 19:08:12 +05:30
Sébastien Han 087d71106b ceph: add a new CR property to force upgrades
On rare occasion, the ceph checks might not be 100% correct and the user
might decide to force an upgrade anyway.
Correctly, if we are in an upgrade, we perform `ok-to-stop` check for
each daemon, if one of them fails, we retry and eventually fail.
They are corner-cases where users would like to force the upgrade anyway.

Enhance the new CR property: "skipUpgradeChecks: true".

Closes: https://github.com/rook/rook/issues/3872
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-19 10:55:56 +02:00
Madhu Rajanna 4a8b821c79 update csi upgrade document
updated required rules for upgrading CSI from
v1.0 to v1.1 and also updated the document with
required steps

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-19 12:00:22 +05:30
Madhu Rajanna c7b861a21d Include CSI image in helm chart values
The Helm Chart should include values for the CSI
images so Rook with CSI can pull the required
images from a private container registry.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-18 14:29:39 +05:30
Sébastien Han 9c86f40a6e Merge pull request #3724 from leseb/disable-flex
operator: ceph disable flexdriver
2019-09-18 10:08:07 +02:00
Travis Nielsen 480312c976 Merge pull request #3889 from leseb/use-v14.2.4-20190917
ceph: bump to v14.2.4
2019-09-17 16:56:51 -06:00
Sébastien Han 7f359ba41b operator: ceph disable flexdriver
Since Ceph CSI is stable and deployed by default, we don't need to
deploy the rook-ceph-agent daemonset.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-18 00:28:25 +02:00
Blaine Gardner 346bce2430 Merge pull request #3862 from krig/ssl-enabled-by-default
Ceph: Enable SSL for dashboard by default
2019-09-17 11:40:52 -06:00
Sébastien Han bc6dcb9995 ceph: bump to v14.2.4
v14.2.4 just got released so let's use it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-17 15:08:15 +02:00
Madhu Rajanna 3c7dc1efe4 corrent liveness container socket file
liveness container is deployed as part of
the provisioner pod so it has to connect to
the provisioner container and check the liveness.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-17 15:43:20 +05:30
Dinar Valeev df7580e86c Remove helm incompatible chars from values.yaml
Remove %% around VERSION in charts yaml, so helm can process it.

Otherwise helm complains:
"unmarshal vendor values: yaml: line 7: found character that cannot start any token"

Signed-off-by: Dinar Valeev <k0da@opensuse.org>
2019-09-16 10:29:10 +02:00
Kristoffer Grönlund 35109e69f2 Ceph: Enable SSL for dashboard by default
With #3626, the default value for ssl changed
from enabled to disabled, so to get SSL for
the dashboard we will need to enable it
explicitly.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2019-09-16 10:04:35 +02:00
Umanga Chapagain ddb006152b Changed description for CephDataRecoveryTakingTooLong alert
Previous alert description was confusing. This makes it more
generic and user understandable.

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-09-13 13:58:51 +05:30
travisn c77a64fbaa ceph: add final upgrade changes from v1.0
The upgrade was missing some final features that were added recently
such as the pod disruption budgets. The namespaced RBAC changes also
needed to have the appropriate namespaces included if they had installed
the operator in a different namespace from rook-ceph.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-12 14:08:10 -06:00
travisn dc39129877 ceph: use consistent storage class name for at least one environment
Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-12 11:04:01 -06:00
Deng Zhou e679b2742c replace hard code namespace with release namespace
Signed-off-by: Deng Zhou <deng.zhou@petuum.com>
2019-09-11 13:23:16 -07:00
Travis Nielsen ba74cc9361 Merge pull request #3806 from travisn/helm-allow-settings-disable
Helm: Always apply boolean settings
2019-09-10 06:58:44 +03:00
travisn 86968c5064 ceph: boolean settings not applied if set to false and default
THe boolean helm settings were only being applied if their value was true.
If the desired value was false, the value would be skipped in the chart
instead of adding it with the value of false.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-09 23:27:35 +03:00
Travis Nielsen 3eb4586827 Merge pull request #3808 from Madhu-1/csi-timeout
Increase sidecar timeout from 60s to 150s
2019-09-09 23:06:46 +03:00
Travis Nielsen 69c6c20494 Merge pull request #3805 from Madhu-1/fix-3777
Add leases rules to csi roles in helm chart
2019-09-09 20:57:38 +03:00
Alexander Trost 5c04dc0c9a Merge pull request #3789 from umangachapagain/MonLeaderChangesAlert
Fixed HighMonLeaderChanges Alert
2019-09-09 17:55:18 +02:00
Umanga Chapagain 332c9993b1 Fixed HighMonLeaderChanges Alert
rounded the value of MonLeaderChange Rate to 2 decimal points (e.g. 2.44)
previously, we had 16 decimal points (e.g. 2.4406779661016946).
This makes the alert notification more sensible and readable.

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-09-09 10:34:00 +05:30
Madhu Rajanna 1830c68947 Increase sidecar timeout from 60s to 150s
At present, the request timeout of sidecars
are at 60s and this is a request to increase
this time out value to 150s or higher. The
higher timeout value can help to reduce the
load of our backend ceph cluster and also can
avoid throttling issues at sidecars to an extend.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-09 08:37:14 +05:30
Madhu Rajanna dceaf29a00 Add leases rules to csi roles
update helm chats roles for leases roles

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-09 08:21:12 +05:30
Blaine Gardner 9bdc301f2b Merge pull request #3800 from SUSE/nfs-operator-line-endings
NFS: Fix operator.yaml line endings
2019-09-06 16:53:58 -06:00
Travis Nielsen 82a2d018a2 Merge pull request #3715 from ashishranjan738/rohan
Adds MDB controller and machineLabel controller required for fencing
2019-09-06 16:51:56 -06:00
Blaine Gardner 9f6cbd382e NFS: Fix operator.yaml line endings
NFS operator.yaml example file had Windows (CRLF) line endings instead
of the Unix (LF) line endings used elsewhere. Fix this.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-06 16:43:02 -06:00