Commit Graph
7961 Commits
Author SHA1 Message Date
Sébastien Han 67c12a803e Merge pull request #6883 from jshen28/allow-disable-liveness-check-for-mds
ceph: allow disable liveness check for mds daemonset
2021-01-11 11:20:10 +01:00
Sébastien Han 6be647b03d Merge pull request #6915 from BlaineEXE/add-obc-upgrade-test
ceph: update smoke & upgrade tests to verify obc is bound
2021-01-11 11:00:21 +01:00
ushen d3416fcf2c ceph: allow disable liveness check for mds daemonset
Allow to disable liveness probes for mds pod

Signed-off-by: shenjiatong <yshxxsjt715@gmail.com>
2021-01-11 17:55:51 +08:00
Travis Nielsen b4ae718cdb Merge pull request #6932 from leseb/pacific-support
ceph: add pacific release name support and do no turn on the balancer since it is only on
2021-01-08 16:44:14 -07:00
Blaine Gardner 9b0ba6ae8b ceph: add obc to upgrade test
Add object bucket claim to Ceph upgrade test.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-01-08 09:56:00 -07:00
Sébastien Han 362637ec3d ceph: do not explicitly turn on the balancer
As of Pacific the balancer is now on by default in upmap mode.
In earlier versions, the balancer was included in the `always_on_modules` list, but needed to be
turned on explicitly using the ``ceph balancer on command.

Signed-off-by: Sébastien Han <seb@redhat.com>
2021-01-08 17:20:47 +01:00
Sébastien Han c4c7b151ac ceph: add pacific release name
When the version is detected it will print the name of the release
Pacific correctly where previously it was showing <unknown version>".

Signed-off-by: Sébastien Han <seb@redhat.com>
2021-01-08 17:20:47 +01:00
Sébastien Han 4a8f88ed4d Merge pull request #6933 from leseb/split-tests
ci: split the test into their own files
2021-01-08 16:48:11 +01:00
Sébastien Han adaa90b668 ci: split the test into their own files
If each has its own file we can restart them independently in case of
intermittent failures.

Signed-off-by: Sébastien Han <seb@redhat.com>
2021-01-08 16:21:36 +01:00
Travis Nielsen 2763e83988 Merge pull request #6918 from subhamkrai/osd-resources
ceph: apply OSD resources and placement for device sets
2021-01-08 08:02:55 -07:00
Sébastien Han 222d1bdbe7 Merge pull request #6930 from cybozu-go/doc-extend-timeout-in-readme
docs: extend timeout in readme
2021-01-08 14:14:50 +01:00
subhamkrai 9109cc6b8c ceph: apply OSD resources and placement for device sets
`.spec.resources.osd` resources and `placement: all:` placements
parameters for the OSD pod did not reflect the value like
it has for other pods mon,mgr.

this commit will allow to set those parameters for the OSD pod also.

Signed-off-by: subhamkrai <srai@redhat.com>
2021-01-08 18:05:21 +05:30
Satoru Takeuchi d1fc283404 docs: extend timeout in readme
1800s is too short to complete all suites. Let's make it the same
value as CI.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2021-01-08 12:16:54 +00:00
Sébastien Han 7929b1f68b Merge pull request #6888 from Zempashi/ceph-internal-rgw-on-ext-cluster
ceph: change external rgw detection, not relying on cluster
2021-01-08 12:04:02 +01:00
Julien Girardin d63d9b7d4d ceph: change external rgw detection, not relying on cluster
After #6217, internal rgw spawning on external cluster was still broken,
operator claiming:
```
ceph-object-controller: failed to reconcile failed to create object
store deployments: failed to reconcile external endpoint:
failed to create or update object store "arch-cloud" endpoint:
failed to create endpoint "rook-ceph-rgw-arch-cloud". Endpoints
"rook-ceph-rgw-arch-cloud" is invalid: subsets[0]:
Required value: must specify `addresses` or `notReadyAddresses`
```

To spawn internal rgw for external cluster, changes detection of
what mean 'internal' for rgw and only use the externalRgwEndpoints
list for that independently of the status of the cluster
Now there is multiple posibilities:

 * internal cluster and internal rgw pods: "normal case"
 * external cluster and internal rgw pods: <= now working with the PR
 * external cluster and external rgw pods: the external case
 * internal cluster and external rgw pods: <= new case that could exist

Signed-off-by: Julien Girardin <jugirardin@free.fr>
2021-01-08 11:28:41 +01:00
Satoru Takeuchi d643c59d75 Merge pull request #6925 from travisn/reconcile-error-message-on-restart
ceph: Suppress reconcile error after operator restart
2021-01-08 11:38:35 +09:00
Travis Nielsen afeb38417d ceph: suppress reconcile error after operator restart
After the operator restarts, the controllers will not all be able
to reconcile until the ceph config has been generated by the reconcile
of the CephCluster controller. The message printed to the operator log
is frequently seen as an error condition even though it is a normal
condition where we requeue the reconcile until the config is available.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-01-07 17:24:13 -07:00
Blaine Gardner 40fd80cf14 ceph: update smoke test to verify obc is bound
When verifying OBC creation, validating that secret and configmap exist
is good, but the definitive validation is to check that the OBC's phase
is "Bound".

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-01-07 13:58:22 -07:00
Travis Nielsen 9c12c50051 Merge pull request #6860 from travisn/object-test-cleanup
ceph: Setting rgw dashboard api key is frequently hanging in the integration tests since v15.2.8
2021-01-07 11:57:24 -07:00
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