Commit Graph
9003 Commits
Author SHA1 Message Date
Deepika Upadhyay 674bdfd89b docs: add yaml way of configuring pg_num and pgp_num
- adds description on how to configure default pg_num and pgp_num
  parameters on per pool basis while deploying rook based ceph cluster.
- advices user to declare them during initial startup.

uptil now, docs only covered cli way of configuring them.

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

Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit 5a27780e91)
2022-09-01 15:06:56 +00:00
Travis Nielsen 78be3b3252 Merge pull request #10850 from travisn/release-1.10.0
build: Update the release version to v1.10.0
v1.10.0
2022-08-31 15:41:41 -06:00
Travis Nielsen 9f852ac798 build: update the release version to v1.10.0
For the minor release update the docs and examples to
v1.10.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-31 14:49:21 -06:00
Travis Nielsen dd85997fb6 Merge pull request #10771 from rook/mergify/bp/release-1.10/pr-10736
CSI: provide a way to supply `--setmetadata` and `--clustername` to the csi driver (backport #10736)
2022-08-31 14:40:16 -06:00
Travis Nielsen 1eb9c81176 Merge pull request #10770 from rook/mergify/bp/release-1.10/pr-10503
csi: change the fsgrouppolicy for CephFS driver to "File" mode (backport #10503)
2022-08-31 14:39:20 -06:00
Travis Nielsen 77b61034a1 Merge pull request #10849 from rook/mergify/bp/release-1.10/pr-10848
ci: Revert ibm canary test to ubuntu 18 (backport #10848)
2022-08-31 12:44:32 -06:00
Travis Nielsen b4d1b92104 ci: setup helm upgrade test on the latest config
The older k8s version config is not setup properly for the
helm upgrade test, and also is not necessary.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 109c685961)
2022-08-31 18:25:18 +00:00
Travis Nielsen abebb786cc ci: revert ibm canary test to ubuntu 18
The ibm test has been failing since the move to ubuntu 20
was merged a couple days ago. Reverting back to 18 for now.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5677587133)
2022-08-31 18:25:18 +00:00
Travis Nielsen 228b2858ff Merge pull request #10800 from rook/mergify/bp/release-1.10/pr-10795
docs: fix html rendering of nested list items -- "because markdown" (backport #10795)
2022-08-31 10:39:57 -06:00
Travis Nielsen eba9343c21 Merge pull request #10843 from rook/mergify/bp/release-1.10/pr-10834
build: Update min version to k8s 1.19 (backport #10834)
2022-08-31 10:35:08 -06:00
Travis Nielsen adb5b66f1c Merge pull request #10844 from rook/mergify/bp/release-1.10/pr-10840
csi: use the latest sidecars for ceph csi driver (backport #10840)
2022-08-31 10:34:16 -06:00
Travis Nielsen 0c6a447b0a Merge pull request #10846 from rook/mergify/bp/release-1.10/pr-10804
object: gateway.port partially ignored when hostNetwork disabled (backport #10804)
2022-08-31 10:32:28 -06:00
zhucan d70d04d021 object: gateway.port partially ignored when hostNetwork disabled
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
(cherry picked from commit b94f080548)
2022-08-31 15:27:28 +00:00
Humble Chirammal c425c52c9e csi: use the latest sidecars for ceph csi driver
at present, the csi sidecars are older versions and not in parity
with the latest ceph csi release v3.7.0. This commit update the
same to make it.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 6ef366dc34)
2022-08-31 15:15:52 +00:00
Travis Nielsen 8436437116 build: update min version to k8s 1.19
Rook will support the most recent seven K8s releases,
so we update the min version to 1.19 for Rook v1.10.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit a6dfb77827)
2022-08-31 09:10:52 -06:00
Travis Nielsen 212adcdf48 Merge pull request #10832 from rook/mergify/bp/release-1.10/pr-10821
rbdmirror: Rotate all rbd mirroring logs (backport #10821)
2022-08-31 09:02:26 -06:00
Travis Nielsen 28090e40d2 Merge pull request #10833 from rook/mergify/bp/release-1.10/pr-10803
ci: upgrade to latest k8s version v1.25.0 for ci test (backport #10803)
2022-08-31 09:01:11 -06:00
Satoru Takeuchi bd3bb52df9 Merge pull request #10836 from rook/mergify/bp/release-1.10/pr-10806
docs: change [null] to [] (backport #10806)
2022-08-31 18:33:56 +09:00
mergify[bot] 8eed159c18 Merge pull request #10839 from rook/mergify/bp/release-1.10/pr-10779
osd: fix osd detection logic for old lsblk (backport #10779)
2022-08-31 06:10:10 +00:00
taki-d 8815dae4ae osd: fix osd detection logic for old lsblk
Old lsblk can't detect bluestore signature.
So read the head of device and verify signature
as a workaround.

closes: https://github.com/rook/rook/issues/10665

Signed-off-by: taki-d <mail@orangepla.net>
(cherry picked from commit ca73efa1e5)
2022-08-31 05:44:50 +00:00
Andrey Arapov c4cbd62e27 docs: change [null] to []
otherwise it will fail with the following message:

```
The CephCluster "rook-ceph" is invalid:
* metadata.finalizers: Invalid value: "": name part must be non-empty
* metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-',
  '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',
  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]')
* metadata.finalizers: Forbidden: no new finalizers can be added if the object is being deleted,
  found new finalizers []string{""}
```

Signed-off-by: Andrey Arapov <andrey.arapov@nixaid.com>
(cherry picked from commit ea36313270)
2022-08-30 22:26:30 +00:00
Travis Nielsen c99adf2596 test: remove obsolete gateway type setting
Long ago the gateway type for s3 was removed from the object
store CRD, and k8s 1.25 is now complaining about the obsolete
setting still included in the test.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4028b50de5)
2022-08-30 14:18:14 -06:00
subhamkrai 5a8f1f1f97 ci: upgrade to latest k8s version for ci test
integration test now run on the latest k8s v1.25.0.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 4623087ef4)
2022-08-30 14:18:06 -06:00
Travis Nielsen 338ea8b697 Merge pull request #10808 from rook/mergify/bp/release-1.10/pr-10807
build: Test upgrade from 1.9 to master (backport #10807)
2022-08-30 14:15:28 -06:00
Travis Nielsen f4f39512e4 rbdmirror: rotate logs for rbd mirroring
The rbd mirror daemon logs to two files, one for the
lodal mirror daemon and one log from the other cluster
where the mirroring is taking place. The log rotation
was only rotating one of the logs. Now we make the
log rotation more general to catch all of the rbd mirror
logs from different clusters.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 055c22f4c4)
2022-08-30 15:18:12 +00:00
Travis Nielsen 069c4f18c1 Merge pull request #10794 from rook/mergify/bp/release-1.10/pr-10768
docs: add krew plugin to the troubleshooting docs (backport #10768)
2022-08-30 07:58:02 -06:00
Travis Nielsen 50df56d599 Merge pull request #10824 from rook/mergify/bp/release-1.10/pr-10822
core: Only log errors with v1beta1 cron job deletion (backport #10822)
2022-08-29 14:57:28 -06:00
Travis Nielsen b39c2827f6 core: only log errors with v1beta1 cron job
v1beta1 cron jobs have not been created by rook since k8s 1.21
and now are fully removed in 1.25. As long as we still support
older than 1.21 we still need to attempt to delete the v1beta1
cron jobs in case they had been created before an upgrade.
If the deletion fails, now we just log a debug statement since
it is a normal condition, and continue with the v1 cron job
creation.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 538025111a)
2022-08-29 20:00:17 +00:00
mergify[bot] 959df0185d Merge pull request #10819 from rook/mergify/bp/release-1.10/pr-10816
build: remove psp from common.yaml generation (backport #10816)
2022-08-29 18:08:24 +00:00
Blaine Gardner 5cf947a243 build: remove psp from common.yaml generation
Due to an oversight, PSP resources were left in generation of
common.yaml from #10797. Resolve that by setting
pspEnable=false when generating common.yaml.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 6c8f2e414f)
2022-08-29 17:17:23 +00:00
mergify[bot] d879b105e0 Merge pull request #10815 from rook/mergify/bp/release-1.10/pr-10699
ci: ubuntu 18.04 is deprecated upgrade to ubuntu 20.04 (backport #10699)
2022-08-29 16:35:26 +00:00
subhamkrai 8d6bee5d94 ci: update minikube version to 1.26.1
update minikube version to 1.26.1 for the
latest k8s version and using 1.24.0 for older
k8s version.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 9f68afaeef)
2022-08-29 16:09:16 +00:00
subhamkrai 99b6759364 ci: update minikube setup action to 2.7.0
update minikube setup action to v2.7.0 for lastest
k8s version and for older k8s version still use v2.6.1

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit e825166075)
2022-08-29 16:09:16 +00:00
subhamkrai 278a2d4623 ci: ubuntu 18.04 is deprecated upgrade to ubuntu 22.04
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit aec9ac3060)
2022-08-29 16:09:15 +00:00
subhamkrai aa1f9e5cbd docs: update vscode setting
I have update vscode setting.json file
according to the uses.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 5a274b71e3)
2022-08-29 16:09:15 +00:00
subhamkrai ee7830bf18 ci: add right indentation for ci yaml and sh files
these indenation where added by vscode extentions.
for yaml I have extention ` YAML` by Red Hat
for bash I have `shell-format` and `shellCheck`.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 0ae55eb472)
2022-08-29 16:09:15 +00:00
Travis Nielsen 99f7275d29 build: test upgrade from 1.9 to master
With the pending release of 1.10, the upgrade tests
in master should be testing the upgrade from 1.9
to the master branch.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 3696a560d8)
2022-08-26 16:44:50 +00:00
mergify[bot] 5878c002c3 Merge pull request #10802 from rook/mergify/bp/release-1.10/pr-10797
docs: move PSPs from common.yaml to psp.yaml (backport #10797)
2022-08-26 01:40:16 +00:00
Blaine Gardner b950fd0e46 docs: move PSPs from common.yaml to psp.yaml
Also update docs. Use `make gen-rbac` to generate psp.yaml.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 1e9bbae583)
2022-08-26 01:09:31 +00:00
Joshua Hoblitt 716ff7f693 docs: fix html rendering of nested list items -- "because markdown"
Nested list items need to be intended 3 spaces in order for markdown to
consistently handle nested lists.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 5b01da877c)
2022-08-25 18:21:21 +00:00
parth-gr 9be315e8d7 docs: add debug mode steps to troubleshooting docs
Debug mode spport is added in the krew plugin
So adding it in the docs so user can use it

Closes: https://github.com/rook/rook/issues/5709
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit f59374b7a8)
2022-08-25 15:21:45 +00:00
parth-gr 30006f958c docs: add krew plugin to the troubleshooting docs
It's been a while we have the krew plugin capability for
troubleshooting that makes it easier but not added to rook
docs.
So adding it to rook docs and bug template

Closes: https://github.com/rook/rook/issues/10765
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 13f916df7d)
2022-08-25 15:21:45 +00:00
Blaine Gardner 8fe1861748 Merge pull request #10787 from rook/mergify/bp/release-1.10/pr-10772
docs: update upgrade docs for v1.10 (backport #10772)
2022-08-24 15:28:10 -06:00
Blaine Gardner 3c1657d2e9 docs: update upgrade docs for v1.10
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit e768ebb1a2)
2022-08-24 15:26:52 -06:00
mergify[bot] 02ab753ce3 Merge pull request #10789 from rook/mergify/bp/release-1.10/pr-10735
docs: add steps to convert existing cephobjectstore into multisite (backport #10735)
2022-08-24 17:58:58 +00:00
Jiffin Tony Thottan 59d4ff3439 docs: add steps to convert existing cephobjectstore into multisite
Most of the users starts with single site, provide the steps to convert
existing cephobjectstore into multisite configurations.

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
(cherry picked from commit d05bcc61f8)
2022-08-24 17:27:01 +00:00
mergify[bot] e188a988f6 Merge pull request #10778 from rook/mergify/bp/release-1.10/pr-10774
csi: make cephcsi 3.6.0 as minimum supported version (backport #10774)
2022-08-24 16:26:56 +00:00
mergify[bot] 6f5bbc5552 Merge pull request #10786 from rook/mergify/bp/release-1.10/pr-10717
mon: Improve mon failover reliability to better handle failure and topology (backport #10717)
2022-08-24 15:24:17 +00:00
Travis Nielsen cb0fa60ccb mon: improve mon failover reliability
Mon failover reliability is improved in two scenarios with these changes.
First, if the failover is aborted because of failing to start the new mon
and wait for it to join quorum, the new mon will be fully removed and
the failover rolled back. Previously, the operator would leave the new
mon pod running even if it never joined quorum. Now the timeout for the failover
is increased to wait longer for the new mon, but if it times out, there
are no leftovers from the cancelled failover.

Second, if the operator is failed in the middle of a failover
before the old mon is removed, the operator needs to remove an extra
mon. The operator was only selecting a random mon for removal instead
of honoring the stretch cluster topology or looking for mons
on the same node that could be removed to restore the correct
desired number of mons.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 72a4245fbf)
2022-08-24 14:55:06 +00:00
Madhu Rajanna 9c35bf17be csi: make cephcsi 3.6.0 as minimum supported version
Setting the min version to 3.7 will make upgrade
difficult. If someone is using any different/custom
version, this means they won't be able to upgrade to
rook v1.10 unless they also update their csi image
at the same time. If we set the min version to 3.6,
it will give some time buffer to allow them to
change the csi driver later.

ref: https://github.com/rook/rook/pull/10759#discussion_r953014295

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 6a650e1c9d)
2022-08-24 05:05:04 +00:00