Commit Graph
13292 Commits
Author SHA1 Message Date
Travis Nielsen 857a4bd04c Merge pull request #6920 from cybozu-go/ceph-describe-how-to-remove-healthy-osds
docs describe how to remove healthy Ceph OSDs
2021-01-07 08:46:42 -07:00
Satoru Takeuchi 1def3d0239 docs: describe how to remove healthy Ceph OSDs
Current document of OSD removal only describe the case of broken OSDs.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2021-01-07 23:22:39 +09:00
Travis Nielsen 464e332dc1 ceph: init rgw dashboard access key in goroutine
The command to set or disable the rgw dashboard started
hanging in some scenarios in v15.2.8. For now we start
the rgw dashboard config in a goroutine until this issue
is tracked down. After the issue is fixed in ceph, the
goroutines will no longer be necessary.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-07 07:08:20 -07:00
Sébastien Han 294f81f2e5 Merge pull request #6913 from zufardhiyaulhaq/patch-1
ceph: add namespace note in storageclass documentation
2021-01-07 09:15:35 +01:00
Sébastien Han 05fe296436 Merge pull request #6825 from binoue/rename-webhooks
ceph: rename webhooks
2021-01-07 09:08:14 +01:00
Zufar DhiyaulhaqandSébastien Han 449a0223e2 docs: fix colon
Co-authored-by: Sébastien Han <seb@redhat.com>
Signed-off-by: zufardhiyaulhaq <zufardhiyaulhaq@gmail.com>
2021-01-07 08:06:17 +01:00
Zufar Dhiyaulhaq 35514b7b56 docs: add namespace note in storageclass documentation
docs: add namespace note in object storage storageclass documentation

Signed-off-by: zufardhiyaulhaq <zufardhiyaulhaq@gmail.com>
2021-01-07 08:05:59 +01:00
Sébastien Han 8ef0b5ed00 Merge pull request #6088 from onmyflow/patch-1
docs: fix RGW AWS credential export commands
2021-01-06 17:08:00 +01:00
Sébastien Han 479787902f Merge pull request #6879 from leopaul36/fix-cephfs-doc-example
docs: added kube-system namespace to the registry sample's pvc in cephfs
2021-01-05 16:37:21 +01:00
Sébastien Han 1a0595227d Merge pull request #6907 from subhamkrai/remove-leftover
ceph: remove leftover line
2021-01-05 12:48:46 +01:00
subhamkrai f2ea2daf07 ceph: remove extra space
this commit removes extra space from
func test_csi.

Signed-off-by: subhamkrai <srai@redhat.com>
2021-01-05 14:58:35 +05:30
subhamkrai 6ea06713b6 ceph: remove leftover line
this commit removes the leftover line from PR #6800.

Signed-off-by: subhamkrai <srai@redhat.com>
2021-01-05 10:46:51 +05:30
Travis Nielsen 7d3f02c92d Merge pull request #6853 from subhamkrai/log-level
ceph: update to latest Kubernetes version 1.20.0
2021-01-04 12:58:04 -07:00
Travis Nielsen 857c1b277f Merge pull request #6749 from sp98/requeue_disruption_reconciler
ceph: requeue clusterDisruption controller more proactively
2021-01-04 12:41:08 -07:00
Travis Nielsen b606be8412 Merge pull request #6898 from travisn/doc-link
docs: Fix advanced config doc link on the quickstart guide
2021-01-04 09:58:45 -07:00
Travis Nielsen 9bff983753 Merge pull request #6899 from Madhu-1/fix-typo
ceph: fix typo in resource name in the snapshot instructions
2021-01-04 09:57:49 -07:00
Sébastien Han 18f6a9e5ac Merge pull request #6864 from marcnuri-forks/chore/upgrade-actions-setup-minikube
ci: Upgrade actions-setup-minikube to v2.2.0
2021-01-04 16:22:04 +01:00
Madhu Rajanna b108493042 ceph: fix typo in resource name in the snapshot instructions
updated few resource names in CSI snapshot documentation.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2021-01-04 20:45:21 +05:30
Travis Nielsen 1bb4228792 ceph: set correct v15.2.8 image name in upgrade guide
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-04 08:07:09 -07:00
Travis Nielsen 40c4923410 docs: fix quickstart and cluster cr broken links
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-04 07:44:38 -07:00
binoue 70ed282cc4 ceph: rename webhooks
Currently, ValidatingWebhookConfiguration has two same named webhooks.
This causes kube-apiserver to create error logs

Signed-off-by: binoue <banji-inoue@cybozu.co.jp>
2020-12-25 17:21:26 +09:00
Léo Schoukroun 56957e2d16 docs: added kube-system namespace to the registry sample's pvc in cephfs
The CephFS documentation page's kube-registry.yaml PVC definition was missing the namespace property.
The YAML shown in the docs now reflects the file in cluster/examples/kubernetes/ceph/csi/cephfs/kube-registry.yaml

Signed-off-by: Léo Schoukroun <leopaul36@yahoo.fr>
2020-12-23 16:43:30 +01:00
subhamkrai 0146eb3805 ceph: update to latest Kubernetes version 1.20.0
updating to latest Kubernetes version 1.20.0 fix
security issues. In the current version, it allows
for the token leak in logs when logLevel >= 9.

Signed-off-by: subhamkrai <srai@redhat.com>
2020-12-21 13:18:13 +05:30
Marc Nuri 801ee22887 ci: upgrade actions-setup-minikube to v2.2.0
Signed-off-by: Marc Nuri <marc@marcnuri.com>
2020-12-20 07:58:51 +01:00
Travis Nielsen 423bc3167d Merge pull request #6856 from travisn/obsolete-legacy-rgw-cleanup
ceph: No need for removal of legacy rgw deployments
2020-12-18 14:32:17 -07:00
Travis Nielsen a3619be9c0 Merge pull request #6857 from travisn/obsolete-operator-ns
ceph: Remove unused operator namespace parameter
2020-12-18 14:31:53 -07:00
Travis Nielsen dbe39c548f Merge pull request #6788 from BlaineEXE/update-lib-bucket-provisioner-again
ceph: update lib bucket provisioner
2020-12-18 13:10:34 -07:00
Blaine Gardner b8dc2a3214 ceph: update lib bucket provisioner
Update to the latest lib bucket provisioner code.
Fixes issue 6650

Modifies CRD for objectbucketclaims to fix an additional bug where an
ObjectBucket's 'ClaimRef' is lost due to the CRD validation being
specified incorrectly.

Changes OBC deletion/cleanup to delete the bucket before the user. A
user cannot be deleted without an unsafe purge option if the user has
buckets associated to it.

Does not reintroduce bug 6767 from previous fix for 6650

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2020-12-18 12:48:54 -07:00
Travis Nielsen e8ea6dc2f8 ceph: no need for removal of legacy rgw deployments
The legacy rgw deployments were removed in 1.0, so there is no more need
for the operator to keep checking for those!

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-18 12:03:50 -07:00
Travis Nielsen e56c68c9e9 ceph: remove unused operator namespace parameter
The operator namespace is not used in the StartOperatorSettingsWatch()
method. Instead, the method looks up the namespace from the
POD_NAMESPACE env var.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-18 11:45:14 -07:00
Travis Nielsen 0d4e6843ba Merge pull request #6839 from varshar16/remove-ganesha-prefix-rados-config-obj
ceph: remove 'ganesha-' from nfs-ganesha config object name
2020-12-18 08:54:59 -07:00
Travis Nielsen f13d1f1968 Merge pull request #6831 from jshen28/use-14-2-15
ceph: Allow using lvm batch for ceph 14.2.15
2020-12-18 08:23:04 -07:00
Varsha Rao 9530807179 ceph: remove 'ganesha-' from nfs-ganesha config object name
PR[1] in volume nfs plugin will remove it too. Since it can cause
inconsistencies.

This change will not affect exports created using dashboard. As it looks for
ganesha config object just by 'conf-' [2].  Exports cannot be created by using
volume/nfs plugin in Octopus version. Because the ceph rook module is broken.

[1] https://github.com/ceph/ceph/pull/38510

[2] https://github.com/ceph/ceph/blob/octopus/src/pybind/mgr/dashboard/services/ganesha.py#L1111

Signed-off-by: Varsha Rao <varao@redhat.com>
2020-12-18 17:18:52 +05:30
shenjiatong 8d3d460e70 ceph: refactor and remove duplicate codes
Signed-off-by: shenjiatong <yshxxsjt715@gmail.com>
2020-12-18 18:01:30 +08:00
shenjiatong 04aabb3896 ceph: analyze result for new typed return from lvm batch
Signed-off-by: shenjiatong <yshxxsjt715@gmail.com>
2020-12-18 11:11:03 +08:00
ushen 373b952988 ceph: allow ceph 14.2.15 for lvm batch
14.2.15 lvm batch command prepare report changes
output format. This commit skips md check if ceph version
is greater than 14.2.13.

Signed-off-by: shenjiatong <yshxxsjt715@gmail.com>
2020-12-18 11:11:02 +08:00
Travis Nielsen 85ff00f046 Merge pull request #6847 from travisn/ceph-v15.2.8
ceph: Update examples and operator to Ceph v15.2.8 and fix integration tests on partitions
2020-12-17 19:49:40 -07:00
Travis Nielsen ba0d7288d8 ceph: delete object store in test in a defer method
Always attempt to delete the object store in case some test
fails and aborts the remainder of the test.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-17 18:21:16 -07:00
Travis Nielsen 114a949cfb ceph: test latest ceph on raw devices and previous ceph on partitions
The latest ceph-volume does not support creating OSDs on partitions.
The github actions only have a partition available, so we will run
the github tests on v14.2.12 and v15.2.7 that still support partitions,
while the Jenkins environment has a raw device available where we
can run the latest versions of Ceph in the tests.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-17 18:21:16 -07:00
Travis Nielsen 3beb625f08 ceph: update examples and operator to Ceph v15.2.8
The latest octopus release is now out with v15.2.8. We update the
operator base image and the examples to run with this version.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-17 18:21:15 -07:00
Travis Nielsen d38119631b Merge pull request #6801 from binoue/remove-deplicated-env-var-in-mgr-pod
ceph: remove overlapping env values
2020-12-16 15:48:06 -07:00
Travis Nielsen 45e8ca7173 Merge pull request #6838 from synarete/ceph-crush-rule-with-device-class
ceph: Two step crush rule with device class
2020-12-16 13:08:52 -07:00
Travis Nielsen 98862ab650 Merge pull request #6841 from travisn/revert-node-watch-change
ceph: Revert new node is not provisioned when useAllNodes is true
2020-12-16 12:14:55 -07:00
Travis Nielsen 2f59a96bcf Merge pull request #6840 from travisn/snapshot-test-version
ceph: use the correct snapshot controller version in the tests
2020-12-16 11:40:17 -07:00
Travis Nielsen 64fc740d8a ceph: revert new node is not provisioned when useallnodes is true
This reverts commit a6ee5657ae.
The operator reconcile of the cephcluster was staying in an endless
loop in clusters that did not have OSDs configured on all nodes.
Now we revert this change for the patch release and will follow
up with a more complete fix in https://github.com/rook/rook/pull/6813.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-16 11:36:31 -07:00
Travis Nielsen c15499ed7e ceph: use the correct snapshot controller version in the tests
The snapshot controller is specifying to use the canary image instead
of the expected version. Update the tests to set the correct version.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-16 10:25:00 -07:00
Travis Nielsen 1ede13425f Merge pull request #6807 from travisn/test-k8s-1.20
ci: Enable K8s 1.20.0 to run the integration tests
2020-12-16 09:58:37 -07:00
Shachar Sharon 39a806f747 test: ceph add-rule via crush-map explicit decompile/compile
Test the code-flow when creating crush-rule via explicit
decompile/compile crushmap, when building two-steps crush rule. Relevant
for the case where 'PoolSpec.Replicated.ReplicasPerFailureDomain' is non
zeoro.

This test requires ceph's 'crushtool' to be installed on local machine.
Otherwise, it is ignored.

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
2020-12-16 17:43:49 +02:00
Shachar Sharon 53461dd2ef ceph: pass 'device-class' when creating explicit crush-rule
When 'pool.Replicated.ReplicasPerFailureDomain' is non zero, the code
goes via route of adding explicit crush-rule from template, but ignores
the 'pool.DeviceClass' if it is set. Added option to template to have
(optional) 'class hdd|ssd'

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
2020-12-16 17:42:27 +02:00
Travis Nielsen 55203f5069 build: replace hostpath provisioner with static pvs
The hostpath provisioner has never been supported and neither is it
working on K8s 1.20. For the tests we will simply use static
local PVs so we can avoid the whole problem of an unsupported
hostpath provisioner.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2020-12-15 22:13:25 -07:00