Commit Graph
8286 Commits
Author SHA1 Message Date
Travis Nielsen 87f9e81c8a mon: disable startup probe on canary pods
The canary pods are very short-lived pods and are not
running ceph in any form. The startup probe was mistakenly
enabled for the canary pod, which could cause the pod
to fail unexpectedly if the startup probe was triggered
after the delay timeout.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 22dea0a1ef)
2022-03-10 19:54:24 +00:00
mergify[bot] a1687ec941 Merge pull request #9886 from rook/mergify/bp/release-1.8/pr-9884
osd: clarify vault auth error message (backport #9884)
2022-03-10 18:58:30 +00:00
Sébastien Han 3cf062243d osd: clarify vault auth error message
When kube authentication is used, let's clarify the error message and
hopefully lead to a better understanding on where to look for.
It could be misleading to print "token auth" when using kube auth,
although internally a token is used (the JWT from the Service
Account).

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 74081d90d3)
2022-03-10 17:25:29 +00:00
mergify[bot] 17a64b61f4 Merge pull request #9876 from rook/mergify/bp/release-1.8/pr-9847
core: sync ceph fsid on cephcluster status (backport #9847)
2022-03-10 08:27:19 +00:00
mergify[bot] a2a2dc3651 Merge pull request #9877 from rook/mergify/bp/release-1.8/pr-9868
core: fix empty string bug for applying csi resources (backport #9868)
2022-03-09 18:20:00 +00:00
mergify[bot] fff9115e21 Merge pull request #9875 from rook/mergify/bp/release-1.8/pr-9856
helm: add resources to rook-ceph-tools pod (backport #9856)
2022-03-09 18:02:25 +00:00
mergify[bot] 429eadb818 Merge pull request #9874 from rook/mergify/bp/release-1.8/pr-9863
helm: .Values.image.prefix is not referenced anywhere (backport #9863)
2022-03-09 17:51:29 +00:00
mergify[bot] a94f0bf400 Merge pull request #9869 from rook/mergify/bp/release-1.8/pr-9859
nfs: remove secret, configmap when downscaling CephNFS (backport #9859)
2022-03-09 17:41:54 +00:00
Tom Hellier 1cef5ea75d core: fix empty string bug
This function was always using an empty string, instead of the extracted resources

Closes: #9867
Signed-off-by: Tom Hellier <me@tomhellier.com>
(cherry picked from commit 59b4c57406)
2022-03-09 17:40:28 +00:00
parth-gr d07feea223 core: sync ceph fsid on cephcluster status
FSID will be updated with cephcluster CR status
when monitoring check get start

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 2e89ff0fd9)
2022-03-09 17:37:38 +00:00
Tom Hellier f889e212ef helm: add resources to rook-ceph-tools pod
Allow the configuration of the rook-ceph-tools pod's resource requests/limits.

Closes: #9855
Signed-off-by: Tom Hellier <me@tomhellier.com>
(cherry picked from commit 5e65f661cc)
2022-03-09 17:32:43 +00:00
kahirokunn 2e856e02da helm: .Values.image.prefix is not referenced anywhere
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
(cherry picked from commit 2e7e5e095c)
2022-03-09 17:24:54 +00:00
Blaine Gardner a7d78401ba nfs: remove secret, configmap when downscaling CephNFS
When downscaling CephNFS clusters, be sure to remove secrets and
configmaps. Also be sure to only downscale for the currently-reconciling
CephNFS cluster.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit b640969a64)
2022-03-09 16:32:16 +00:00
mergify[bot] 2aa3978df5 Merge pull request #9861 from rook/mergify/bp/release-1.8/pr-9854
helm: fix rook-ceph-cluster helm chart for cephobjectstore storageclass without/empty parameters (backport #9854)
2022-03-09 00:37:20 +00:00
Julien Girardin 311ce750ce helm: fix storageClass parameters handling
Test existence of parameters to avoid printing artifacts that
break yaml
Signed-off-by: Julien Girardin <jugirardin@free.fr>
(cherry picked from commit e8024cde8d)
2022-03-09 00:05:04 +00:00
mergify[bot] 3308c303e2 Merge pull request #9850 from rook/mergify/bp/release-1.8/pr-9841
helm: Remove obsolete setting for enabling multiple filesystems (backport #9841)
2022-03-08 00:38:21 +00:00
Travis Nielsen 83a10127fc helm: remove obsolete setting for enabling multiple filesystems
The multiple filesystem support was added in Pacific and no
need for a setting that allows the support. The setting was
already removed other places from rook in a previous change
https://github.com/rook/rook/pull/8350.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 8383d9ab87)
2022-03-07 23:13:44 +00:00
mergify[bot] b21e5ccb25 Merge pull request #9849 from rook/mergify/bp/release-1.8/pr-9842
osd: disable raw mode for specific disk configs (backport #9842)
2022-03-07 20:43:57 +00:00
Blaine Gardner cd5b5a8f49 osd: disable raw mode for specific disk configs
If a specific disk is configured to have more than one OSD per device,
or if it has a metadata device specified, exclude it from raw mode on an
individual basis.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 27ea49b9cd)
2022-03-07 17:39:58 +00:00
mergify[bot] c047fc8f5c Merge pull request #9848 from rook/mergify/bp/release-1.8/pr-9838
helm: add cephFileSystems storageClass.pool (backport #9838)
2022-03-07 15:38:34 +00:00
mtt0 20c2ccd006 helm: add cephFileSystems storageClass.pool
CephFileSystem StorageClass created by helm chart should use the specified pool
in values.yaml rather than hardcode 'data0'

Closes: #9826
Signed-off-by: mtt0 <retmain@foxmail.com>
(cherry picked from commit fd4cdc589f)
2022-03-07 15:09:54 +00:00
mergify[bot] 745f3606c5 Merge pull request #9833 from rook/mergify/bp/release-1.8/pr-9829
Documentation/ceph-teardown.md: fix typo (backport #9829)
2022-03-07 14:05:18 +00:00
Sébastien Han 678cc7dafc Merge pull request #9830 from rook/mergify/bp/release-1.8/pr-9821
operator: Document that the `rook-ceph-operator-config` ConfigMap is … (backport #9821)
2022-03-07 15:01:34 +01:00
mergify[bot] ffc2c1acf6 Merge pull request #9836 from rook/mergify/bp/release-1.8/pr-9834
core: Disruption controller log ceph errors in debug level (backport #9834)
2022-03-04 01:34:48 +00:00
Travis Nielsen a6f342b6a0 core: disruption controller log ceph errors in debug level
The controller for disruption budgets is verbose at cluster creation
when the cluster is not yet created, which generates a lot of noise
in the log that makes the cluster look unhealthy. This is an expected
condition, so we can change this logging to debug level.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit bc6381169e)
2022-03-04 01:07:41 +00:00
Brian_P 1c146fd55c docs: teardown typo
Fix typo in teardown documentation
demsetup -> dmsetup

Signed-off-by: spdfnet <32593931+spdfnet@users.noreply.github.com>
(cherry picked from commit 577f96efb1)
2022-03-03 17:39:12 +00:00
Matthias Rampke 2ed933a7ca operator: document that the rook-ceph-operator-config ConfigMap is needed
We discovered the hard way that configuration through the environment
does not work if this ConfigMap is not present altogether. Document this
as a common issue.

Closes #9806.

Signed-off-by: Matthias Rampke <matthias@rampke.de>
(cherry picked from commit 57d0fada7b)
2022-03-03 14:43:46 +00:00
Travis Nielsen 9d044e6619 Merge pull request #9818 from rook/mergify/bp/release-1.8/pr-9816
docs: correct ceph toolbox path (backport #9816)
2022-03-01 13:50:19 -07:00
Junyoung, Sung c892897e99 docs: correct ceph toolbox path
Signed-off-by: Junyoung, Sung <wnsdud1861@gmail.com>
(cherry picked from commit 8c19e5b260)
2022-03-01 15:59:24 +00:00
mergify[bot] 30003849a3 Merge pull request #9815 from rook/mergify/bp/release-1.8/pr-9814
build: Update ceph base image to v16.2.7-20220216 (backport #9814)
2022-02-28 21:58:20 +00:00
Travis Nielsen bde6d64308 build: update ceph base image to v16.2.7-20220216
The latest ceph image should be used for the base of
the rook image to pick up the latest security releases.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit a98678585a)
2022-02-28 21:27:17 +00:00
mergify[bot] bc83a7b694 Merge pull request #9813 from rook/mergify/bp/release-1.8/pr-9804
osd: Purge job will remove all pvcs for the osd (backport #9804)
2022-02-28 18:39:06 +00:00
Travis Nielsen 9285c2dd84 osd: purge job will remove all pvcs for the osd
The purge job is intended to clean up all the resources
related to an OSD that is to be removed. An OSD with
a metadata, wal, and data PVC was only cleaning up the
data PVC. Now the metadata and wal PVCs will also be
cleaned up.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b3ca0f1b87)
2022-02-28 18:09:03 +00:00
mergify[bot] 380fa7c223 Merge pull request #9812 from rook/mergify/bp/release-1.8/pr-9729
csi: default to ReadWriteOnceWithFSType for cephfs (backport #9729)
2022-02-28 15:31:18 +00:00
Humble Chirammal e324059a0d csi: default to ReadWriteOnceWithFSType for cephfs
```
ReadWriteOnceWithFSType: Indicates that volumes will be examined
to determine if volume ownership and permissions should be modified
to match the pod's security policy. Changes will only occur if the
fsType is defined and the persistent volume's accessModes contains
ReadWriteOnce.
```

In between considering we are giving 0777 permission on nodestage
of cephfs shares, we defaulted to NONE. However giving worldwide
permission to the volume is not the right thing and it has been
fixed in cephfs via https://github.com/ceph/ceph-csi/pull/2847

This commit brings it back to the value which is also in parity
with RBD driver.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 6561bdaf53)
2022-02-28 15:05:15 +00:00
Satoru Takeuchi 2035def1a4 Merge pull request #9811 from rook/mergify/bp/release-1.8/pr-9807
osd: Remove osd with purge instead of destroy (backport #9807)
2022-02-28 17:05:50 +09:00
Travis Nielsen bb6b90a4a7 osd: remove osd with purge instead of destroy
The osd destroy command leaves the osd id in use instead
of fully purging the osd id. If the osd id is not also
removed, it gives the impression that there is still
something that needs to be cleaned up from the old osd.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 879bde4416)
2022-02-27 23:13:46 +00:00
Travis Nielsen 0f71201bf3 Merge pull request #9805 from travisn/release-1.8.6
build: Update release version to v1.8.6
v1.8.6
2022-02-24 14:23:49 -07:00
Travis Nielsen d15cd5e300 build: update release version to v1.8.6
With the patch release we update the examples and docs to v1.8.6.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-02-24 13:48:17 -07:00
mergify[bot] de5a459076 Merge pull request #9803 from rook/mergify/bp/release-1.8/pr-9799
file: Allow filesystem removal even with failures (backport #9799)
2022-02-24 17:43:50 +00:00
Travis Nielsen 2dc4fb2759 file: allow filesystem removal even with failures
If the filesystem is in a bad state such as never being
created successfully in the first place, the filesystem
removal will continuously fail and prevent the CR from
being removed. Thus, we treat the filesystem removal
as a best effort and log the issue instead of failing
the uninstall reconcile.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1f8f71b396)
2022-02-24 17:16:27 +00:00
Satoru Takeuchi cbb690e371 Merge pull request #9780 from rook/mergify/bp/release-1.8/pr-9701
osd: re-enable raw mode on disk (backport #9701)
2022-02-24 20:34:39 +09:00
Satoru Takeuchi 143e0828c8 osd: re-enable raw mode on disk
We can re-enable raw mode OSD on disk if Ceph version is at least v16.2.6.

https://github.com/ceph/ceph/pull/42469

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-02-24 09:41:27 +00:00
mergify[bot] 7225f5c4c8 Merge pull request #9801 from rook/mergify/bp/release-1.8/pr-9682
core: eliminate unnecessary code (backport #9682)
2022-02-24 09:35:47 +00:00
Satoru Takeuchi 5b1e6763c7 core: eliminate unnecessary code
We can eliminate the OSD creation code for Ceph < v15.2.0 because Nautilus(v14.2.z)
is no longer supported. In other words, we can now expect that all newly-created
OSDs on PVC are raw mode.

Please note that the existing lvm mode OSDs on PVCs still be supported after this change.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 2d8f9b67c6)
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-02-24 08:42:15 +00:00
mergify[bot] ec8c949d7e Merge pull request #9798 from rook/mergify/bp/release-1.8/pr-9790
helm: Allow setting priority class on operator and toolbox (backport #9790)
2022-02-24 02:29:36 +00:00
Travis Nielsen 6655b82965 helm: allow setting priority class on operator and toolbox
The operator and toolbox pods were not configurable for
their priority class in the helm chart. Now the settings
are exposed in the values.yaml.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1d1de69f3e)
2022-02-23 21:35:35 +00:00
mergify[bot] 26bc14521b Merge pull request #9796 from rook/mergify/bp/release-1.8/pr-9794
monitoring: making alert firing timeout and the doc timeout same (backport #9794)
2022-02-23 17:05:49 +00:00
Arun Kumar Mohan 1296a28f34 monitoring: making alert firing timeout and the doc timeout same
Signed-off-by: Arun Kumar Mohan <amohan@redhat.com>
(cherry picked from commit 054d009af6)
2022-02-23 16:39:11 +00:00
mergify[bot] d0648e79f9 Merge pull request #9795 from rook/mergify/bp/release-1.8/pr-9781
test: collect fuller logs for CI tests (backport #9781)
2022-02-23 16:25:02 +00:00