Commit Graph
9020 Commits
Author SHA1 Message Date
Madhu Rajanna fa3eeef9dc csi: add missing serviceAccoutName to holder
Add missing serviceAccountName for the holder
daemonset to create the pods with required
access.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 32943b64e3)
2022-09-02 14:14:05 +00:00
Madhu Rajanna e9f001a8f9 csi: set daemonset set name as template name
Currently daemonset template.metadata.name is
empty and the way we are setting is not correct
use the daemonset name as the template.metadata.name

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 2dae7f6778)
2022-09-02 14:14:05 +00:00
Travis Nielsen 34e461693a Merge pull request #10878 from rook/mergify/bp/release-1.10/pr-10874
ci: fix release tests configuration (backport #10874)
2022-09-02 07:56:25 -06:00
subhamkrai 33c770d949 ci: fix release tests configuration
I missed to remove older config for release
tests yaml.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit bfa78b7ea2)
2022-09-02 13:49:47 +00:00
Travis Nielsen 4015c7bbe5 Merge pull request #10870 from rook/mergify/bp/release-1.10/pr-10856
ci: remove older k8s config since we moved to 1.19 (backport #10856)
2022-09-01 14:48:26 -06:00
Travis Nielsen 1c74bf537e Merge pull request #10873 from rook/mergify/bp/release-1.10/pr-10871
docs: Update the latest-release docs to 1.10 (backport #10871)
2022-09-01 14:23:03 -06:00
Travis Nielsen b1a4851df7 docs: update the latest-release docs to 1.10
With the v1.10.0 release out, the latest-release docs need
to point to the 1.10 release. With each release we will
update to the next release branch when we have shipped.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c4304e4b92)
2022-09-01 20:21:34 +00:00
Travis Nielsen f455efade5 Merge pull request #10862 from rook/mergify/bp/release-1.10/pr-10381
doc: add documentation for sharing a CephFS PVC across namespaces (backport #10381)
2022-09-01 12:09:14 -06:00
Travis Nielsen 00b21f4807 Merge pull request #10863 from rook/mergify/bp/release-1.10/pr-10781
docs/storage-config: add yaml way of configuring pg_num and pgp_num (backport #10781)
2022-09-01 12:09:02 -06:00
Travis Nielsen 3c6db35a4d Merge pull request #10865 from rook/mergify/bp/release-1.10/pr-10857
ci: ignore body-max-line-length (backport #10857)
2022-09-01 12:08:39 -06:00
Travis Nielsen 5449dd09e1 Merge pull request #10867 from rook/mergify/bp/release-1.10/pr-10855
osd: disallow to create osd on lv with metadata device (backport #10855)
2022-09-01 12:08:06 -06:00
subhamkrai f393379a9d ci: remove older k8s config since we moved to 1.19
no need of using older config to setup older k8s
since we moved to 1.19 as min k8s version.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 80be5b5fc0)
2022-09-01 10:46:26 -06:00
Blaine Gardner 321ff4803a Merge pull request #10868 from rook/mergify/bp/release-1.10/pr-10861
docs: add missed sssdConfigFile params for NFS CRD (backport #10861)
2022-09-01 09:40:22 -06:00
Blaine Gardner 2101fa5494 docs: add missed sssdConfigFile params for NFS CRD
Initial commit of NFS CRD docs missed two params, causing some users to
experience problems setting it up.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit f027140a97)
2022-09-01 15:39:42 +00:00
Satoru Takeuchi 16fffe09f7 osd: disallow to create osd on lv with metadata device
OSD on logical volume is raw mode. This mode can'set metadata device.
We should not mark a logical volume as available in this case.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 8b513a4a74)
2022-09-01 15:31:28 +00:00
Satoru Takeuchi 0e5a247ad1 ci: ignore body-max-line-length
We don't care the line length of commit message.

ref.
https://github.com/rook/rook/pull/10445

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 2f66e7d15b)
2022-09-01 15:27:02 +00:00
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
Guillaume Moutier 7c547e583a docs: add documentation for sharing a CephFS PVC across namespaces
Signed-off-by: Guillaume Moutier <guillaume.moutier@gmail.com>

various corrections following reviews

Signed-off-by: Guillaume Moutier <guillaume.moutier@gmail.com>
(cherry picked from commit 85244d187a)
2022-09-01 14:23:06 +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