Commit Graph
5106 Commits
Author SHA1 Message Date
Travis Nielsen b7b46b15e1 Merge pull request #5605 from subhamkrai/remove-drivers
ceph: remove csi drivers when disable
2020-07-07 11:16:07 -06:00
Sébastien Han fe482e2397 Merge pull request #5778 from shellwedance/ceph-fix-explanation-in-operator-option-cephfs-kernel
ceph: fix cephfs kernel comment in operator
2020-07-07 13:27:59 +02:00
taeuk_kim 2bd4b83d50 ceph: fix cephfs kernel comment in operator
Fix an ambiguous comment which explains about
CSI_FORCE_CEPHFS_KERNEL_CLIENT flag in operator.yaml.

Signed-off-by: taeuk_kim <taeuk_kim@tmax.co.kr>
2020-07-07 07:15:17 +00:00
Travis Nielsen 92200870c2 Merge pull request #5770 from travisn/enable-osd-logging
ceph: Capture logging from the OSD daemons
2020-07-06 23:12:04 -06:00
Travis Nielsen 902762364d Merge pull request #5769 from cybozu-go/tests-fix-aws_1.11.x-test-failure
tests: fix aws_1.11.x test failure
2020-07-06 15:47:09 -06:00
Sébastien Han 6640d90b9d Merge pull request #5771 from travisn/cleanup-target-ratio
ceph: remove legacy target_size_ratio example
2020-07-06 22:52:44 +02:00
Travis Nielsen 3af205d958 ceph: remove legacy target_size_ratio example
The target_size_ratio moved under the parameters element of
the pool settings. While the target size ratio is still supported
under the previous location for backward compatibility, the
example is preferred under parameters.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-07-06 14:45:21 -06:00
Travis Nielsen 8f9df75f7b ceph: capture logging from the osd daemon
The OSD daemon has been missing critical flags for logging to stderr
where k8s can capture the logs. Without the --log-to-stderr=true,
all the OSD logging was essentially lost until now.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-07-06 14:38:37 -06:00
Sébastien Han a451077023 Merge pull request #5768 from travisn/ceph-15.2.4
ceph: Update master to the latest Octopus release v15.2.4
2020-07-06 22:16:34 +02:00
Satoru Takeuchi 2cda00345a tests: fix aws_1.11.x test failure
kubelet in aws_1.11.x test requires kubernetes-cni 0.7.5.

Closes: https://github.com/rook/rook/issues/5711

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-07-07 04:43:45 +09:00
Travis Nielsen dbae36b2bb ceph: update to the latest octopus release
Update the base operator image and cluster examples to use the latest
octopus release v15.2.4. Also cleanup some old examples and unit tests
that were still based on mimic.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-07-06 12:11:47 -06:00
Travis Nielsen a11018d707 Merge pull request #5756 from thotz/upgradecrdsobjectstore
ceph: adding missing ceph object crds in upgrade-from-v1.3-crds
2020-07-06 11:24:56 -06:00
Travis Nielsen c806f66775 Merge pull request #5764 from travisn/disable-mgr-test
ceph: Disable ceph mgr test temporarily
2020-07-06 10:47:02 -06:00
Travis Nielsen 2d793cdc3f ceph: disable ceph mgr test temporarily
Due to an issue in ceph master, the mgr integration test is failing.
Until this is fixed, we will temporarily disable the test. A fix
is expected with https://github.com/ceph/ceph/pull/35915

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-07-06 09:19:41 -06:00
Travis Nielsen 9332d31196 Merge pull request #5755 from travisn/skip-mgr-test-in-master
ceph: Add logging for mgr integration test suite in master
2020-07-06 08:24:31 -06:00
Sébastien Han 3f97e1561e Merge pull request #5748 from stuartpb/patch-1
ceph: document the `deviceClass` setting for OSDs
2020-07-06 11:20:45 +02:00
subhamkrai 7f9f1690d2 ceph: remove csi drivers when disable
remove csi drivers and delete k8s
services that drivers create,when
the default setting of drivers changed
to false.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
2020-07-06 13:33:52 +05:30
Sébastien Han ab444f5b04 Merge pull request #5760 from cybozu-go/ceph-doc-fix-a-wrong-link
ceph: fix a wrong link
2020-07-06 08:59:57 +02:00
Satoru Takeuchi 48a87d192a ceph: fix a wrong link
`ceph-` suffix is necessary.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-07-06 00:34:23 +00:00
Jared Watts 556c027fee Merge pull request #5650 from prksu/nfs-controller-runtime
nfs: implement controller-runtime in nfs operator
2020-07-03 11:15:34 +02:00
Ahmad Nurus S 441e5edc33 nfs: add controller unit-test
Signed-off-by: Ahmad Nurus S <prksu.sh@gmail.com>
2020-07-03 14:34:55 +07:00
Ahmad Nurus S d324f15ec4 nfs: add kubebuilder marker and fix some documentation
Signed-off-by: Ahmad Nurus S <prksu.sh@gmail.com>
2020-07-03 14:33:36 +07:00
Ahmad Nurus S 90da5ec7b9 nfs: add validation admission webhook using controller-runtime
Signed-off-by: Ahmad Nurus S <prksu.sh@gmail.com>
2020-07-03 14:33:36 +07:00
Ahmad Nurus S f7f8270f58 nfs: rewrite nfs operator controller to use controller-runtime
Signed-off-by: Ahmad Nurus S <prksu.sh@gmail.com>
2020-07-03 14:33:25 +07:00
Jiffin Tony Thottan 33af005be1 ceph: adding missing ceph object crds in upgrade-from-v1.3-crds
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2020-07-03 12:09:10 +05:30
Stuart P. Bentley 35f202bd95 ceph: document the deviceClass setting for OSDs
This functionality was merged in with #3696, but not documented.

Signed-off-by: Stuart P. Bentley <s@stuartpb.com>
2020-07-03 00:37:33 +00:00
Travis Nielsen 5ec75c16e4 ceph: skip mgr integration test suite in master
The master CI is not expected to run the mgr test suite, which
runs against ceph master.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-07-02 17:00:38 -06:00
Sébastien Han eabedd7f79 Merge pull request #5697 from leseb/rgw-endpoint-healthcheck
ceph: add rgw endpoint healthcheck and external support
2020-07-02 18:30:44 +02:00
Sébastien Han e4eaa91ede ceph: add rgw endpoint healthcheck
We have introduced a new goroutine to check the state of the rgw
endpoint. It will run every minute and perform operations on a bucket.
The success or failure will be reported as part of the status field of
the CephObjectStore CR.

A good status will look like:

status:
  endpointStatus:
    lastChanged: "2020-06-25T13:47:45Z"
    lastChecked: "2020-06-25T13:48:46Z"
  phase: Connected

A failed status:

status:
  endpointStatus:
    details: |-
      error creating bucket "rook-ceph-internal-s3-bucket-checker": RequestError: send request failed
      caused by: Put http://rook-ceph-rgw-my-store.rook-ceph:8080/rook-ceph-internal-s3-bucket-checker: dial tcp 10.108.189.148:8080: connect: connection refused
    health: ERROR

This check works for both converged and external modes. Note that the
CephObjectStore CRD has a new field called "externalRgwEndpoints" which
allows you to define a list of IP addresses pointing to rgws.

Closes: https://github.com/rook/rook/issues/5692
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-07-02 16:34:10 +02:00
Sébastien Han f1bdd0e0c6 Merge pull request #5734 from travisn/kubeadm-start-error
CI: Stop downgrading the kubeadm components for the integration tests
2020-07-02 16:11:33 +02:00
Travis Nielsen fec3e02bbd ci: only install newer packages
Skip downgrading the kubernetes-cni, kubectl, or other components

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-07-01 16:59:18 -06:00
Alexander Trost 7229f5826e Merge pull request #5701 from cloudical-io/cassandra_alpine_update
cassandra: update base image to alpine:3.12
2020-07-01 14:59:46 +02:00
Sébastien Han 4636da67d3 Merge pull request #5679 from thotz/updateobcdoc
docs: update ROOK_OBC_WATCH_OPERATOR_NAMESPACE in obc doc
2020-07-01 11:15:50 +02:00
Travis Nielsen f834a2d2b1 Merge pull request #5686 from Madhu-1/snapshot-beta
ceph: update ceph-csi snapshot from Alpha to Beta
2020-06-30 23:42:47 -06:00
Travis Nielsen 1af713eb2a Merge pull request #5656 from thotz/libbucketprovisionerthreading
ceph: run bucket provisioner in multithreaded mode
2020-06-30 23:42:01 -06:00
Madhu Rajanna cc97b94953 ceph: add upgrade documentation for csi
as we are moving from alpha to beta snapshot,
we need to cleanup alpha resources to have successful
upgrade

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Madhu Rajanna 3f46b437c6 ceph: remove CSI_ENABLE_SNAPSHOTTER from CSI config
removed CSI_ENABLE_SNAPSHOTTER from the configuration
to enable or disable csi-snapshotter as snapshot
is moved to beta and enabled by default in kubernetes
1.17+

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Madhu Rajanna 02c9bfe00f ceph: update RBAC required for external-snapshotter
Updated the required RBAC for external-snapshotter
beta to work.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Madhu Rajanna 54f396ca0e ceph: add check for snapshotter deployment
as we need kubernetes v1.17+ for snapshotter
to work,Added code changes to disable snapshotter
sidecar deployment by default if the kubernetes version
is less than v1.17+

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Madhu Rajanna 6699dba25a ceph: update sidecar images version
updated snapshotter from v1.x to v2.x
as its supports snapshot beta, the required
provisioner version to support snapshot beta
is v1.5.x+.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Madhu Rajanna 37ddeda7af ceph: remove snapshotter sidecar from provisioner sts
ceph-csi will be deployed as statefulset if the kubernetes
version is less than 1.14, as snapshotter will work
with kube 1.17+, we dont need snapshotter sidecar
deployed as part of statefulset.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Madhu Rajanna 2e973d03ec ceph: update snapshot doc as per beta version
Updated the snapshot usage doc as per new
snapshot beta version.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Madhu Rajanna 9f596e4c9f ceph: update snapshot yaml as per snapshot beta
in kubernetes 1.17+ the snapshot CRD is changes
we need to update snapshot yaml file as per new CRD

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Madhu Rajanna e01cb7f527 ceph: update snapshotclass as per snapshot beta
few Parameters are changed in snapshotclass in
beta version.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-01 07:20:04 +05:30
Jiffin Tony Thottan e4fae54e3c ceph: run bucket provisioner in multithreaded mode
The latest lib-bucket provisioner library supports multithreading via
env "LIB_BUCKET_PROVISIONER_THREADS"

Closes: #4907
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2020-06-30 23:07:22 +05:30
Jiffin Tony Thottan 3bed313fbd docs: update ROOK_OBC_WATCH_OPERATOR_NAMESPACE in obc doc
Closes: 5675
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2020-06-30 23:04:26 +05:30
Travis Nielsen c456a7e03b Merge pull request #5720 from travisn/unstick-mons-on-reconcile
ceph: Force delete stuck mons in every reconcile instead of only in the health check
2020-06-29 22:27:23 -06:00
Alexander Trost 849cf84bf8 cassandra: update base image to alpine:3.12
Due to CVEs in the alpine:3.8, we need to update the base image.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2020-06-29 22:37:49 +02:00
Travis Nielsen 99f17d3a33 ceph: force delete stuck mons in every reconcile
The stuck mons were only being force deleted in the mon health checker.
After an operator restart, the health check may not be executed
for 20 minutes until after the timeout during the main reconcile
which is holding onto a lock for mon reconcile. Now the stuck mon
will be deleted during the reconcile as well.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-06-29 10:38:16 -06:00
Sébastien Han a246b157f7 Merge pull request #5730 from leseb/fix-get-user
ceph: fix GetUser
2020-06-29 18:04:17 +02:00