Commit Graph
9037 Commits
Author SHA1 Message Date
Travis Nielsen eab01f8821 bot: fix automerge for 1.10 backports
The success of all the CI actions must exactly match the
list for the mergify config. The config was missing a
paren, so the merges were not happening automatically.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-06 11:27:42 -06:00
Travis Nielsen 8468c23efe Merge pull request #10900 from travisn/release-notes-4.11
docs: Reset pending release notes for 4.11
2022-09-06 09:09:12 -06:00
Travis Nielsen 7548c18f50 docs: reset pending release notes for 4.11
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-06 09:05:46 -06:00
Travis Nielsen c840fd7903 Merge pull request #10854 from humblec/fsgroup-rbd
csi: change the default fsgroup policy for CSI driver object
2022-09-06 07:23:16 -06:00
Satoru Takeuchi c7ab01b946 Merge pull request #10858 from cybozu-go/osd-refactoring
osd: refactor code
2022-09-03 06:25:17 +09:00
Travis Nielsen 4a55e0dbe8 Merge pull request #10882 from travisn/helm-uninstall-test
test: Wait for resource deletion during helm uninstall
2022-09-02 10:16:01 -06:00
Travis Nielsen 5c478e5e04 test: wait for resource deletion during helm uninstall
The helm integration test was immediately removing both the cluster
and the operator charts, without waiting for any resource deletion
between the deletions. This causes intermittent failures in the
test since the cluster CR and mon secret and configmap to never
be deleted because the operator will be stopped before their
finalizers can be removed. Now we wait for their finalizers
to be removed before removing the operator chart.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-02 09:37:47 -06:00
Travis Nielsen 0209a39198 Merge pull request #10875 from Madhu-1/fix-holder-name
csi: fix holder pod creation in openshift multus cluster
2022-09-02 08:13:45 -06:00
Travis Nielsen 65b6ea859c Merge pull request #10874 from subhamkrai/fix-helm
ci: fix release tests configuration
2022-09-02 07:49:13 -06:00
Satoru Takeuchi 00b3d0f323 osd: refactor code
Simplify osd management code.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-09-02 11:17:05 +00:00
Madhu Rajanna 32943b64e3 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>
2022-09-02 13:20:47 +05:30
Madhu Rajanna 2dae7f6778 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>
2022-09-02 11:30:41 +05:30
subhamkrai bfa78b7ea2 ci: fix release tests configuration
I missed to remove older config for release
tests yaml.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-09-02 10:52:50 +05:30
Travis Nielsen 0fc4170055 Merge pull request #10871 from travisn/latest-docs-1.10
docs: Update the latest-release docs to 1.10
2022-09-01 14:20:54 -06:00
Travis Nielsen c4304e4b92 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>
2022-09-01 12:45:25 -06:00
Travis Nielsen af5f63ec87 Merge pull request #10856 from subhamkrai/rever-old-config
ci: remove older k8s config since we moved to 1.19
2022-09-01 10:29:41 -06:00
Blaine Gardner 40893f43f5 Merge pull request #10861 from BlaineEXE/nfs-doc-fix
docs: add missed sssdConfigFile params for NFS CRD
2022-09-01 09:39:27 -06:00
Satoru Takeuchi e0b68c92f4 Merge pull request #10855 from cybozu-go/osd-disallow-to-create-osd-on-lv-with-metadata-device
osd: disallow to create osd on lv with metadata device
2022-09-02 00:30:38 +09:00
Travis Nielsen 093f0de37c Merge pull request #10857 from cybozu-go/ci-ignore-max-line-length-error-in-commitlint
ci: ignore body-max-line-length
2022-09-01 09:24:31 -06:00
Travis Nielsen 4a153bb807 Merge pull request #10781 from ideepika/wip-issue-10361
docs/storage-config: add yaml way of configuring pg_num and pgp_num
2022-09-01 09:06:04 -06:00
Travis Nielsen 260b6b39f1 Merge pull request #10381 from guimou/doc-sharing-cephfs-volumes-across-namespaces
doc: add documentation for sharing a CephFS PVC across namespaces
2022-09-01 08:22:22 -06:00
Blaine Gardner f027140a97 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>
2022-09-01 08:12:13 -06:00
Guillaume Moutier 85244d187a 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>
2022-09-01 08:34:01 -04:00
Deepika Upadhyay 5a27780e91 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>
2022-09-01 13:21:44 +05:30
Satoru Takeuchi 2f66e7d15b 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>
2022-09-01 06:53:00 +00:00
subhamkrai 80be5b5fc0 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>
2022-09-01 11:28:14 +05:30
Satoru Takeuchi 8b513a4a74 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>
2022-09-01 05:12:43 +00:00
Humble Chirammal 32ecc37d37 csi: change the default fsgroup policy for CSI driver object
This commit change the default fsgroup policy for csi driver object
to "File" type which is the better/correct setting for the CSI volumes
We have been using default value which is "ReadWriteOnceWithFSType".
with this change backward compatibility should be preserved.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-01 10:11:39 +05:30
Travis Nielsen 1283180c7a Merge pull request #10848 from travisn/ibm-test
ci: Revert ibm canary test to ubuntu 18
2022-08-31 12:25:00 -06:00
Travis Nielsen 109c685961 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>
2022-08-31 11:31:46 -06:00
Travis Nielsen 5677587133 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>
2022-08-31 10:53:38 -06:00
Travis Nielsen b6ccbffc11 Merge pull request #10804 from zhucan/bugfix-10743
object: gateway.port partially ignored when hostNetwork disabled
2022-08-31 09:27:00 -06:00
Travis Nielsen 3f4f3269d0 Merge pull request #10840 from humblec/sidecar
csi: use the latest sidecars for ceph csi driver
2022-08-31 09:15:26 -06:00
Travis Nielsen edc4a9b3b3 Merge pull request #10827 from Abirdcfly/master
csi: remove duplicate word in comments
2022-08-31 07:33:43 -06:00
Satoru Takeuchi 07620ee34c Merge pull request #10834 from travisn/min-k8s-version-support
build: Update min version to k8s 1.19
2022-08-31 19:28:28 +09:00
Humble Chirammal 6ef366dc34 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>
2022-08-31 14:43:00 +05:30
Abirdcfly 7224bb8499 csi: remove duplicate word in comments
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-08-31 14:09:26 +08:00
Satoru Takeuchi 0e63c01ef3 Merge pull request #10779 from taki-d/fix-osd-detection
osd: fix osd detection logic for old lsblk
2022-08-31 14:44:05 +09:00
zhucan b94f080548 object: gateway.port partially ignored when hostNetwork disabled
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
2022-08-31 10:19:22 +08:00
taki-d ca73efa1e5 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>
2022-08-31 11:02:25 +09:00
Travis Nielsen 32d720f3ef Merge pull request #10806 from andy108369/fix-doc
docs: change [null] to []
2022-08-30 16:26:21 -06:00
Travis Nielsen a6dfb77827 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>
2022-08-30 15:15:20 -06:00
Andrey Arapov ea36313270 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>
2022-08-30 22:44:06 +02:00
Travis Nielsen 9d47cd95fe Merge pull request #10821 from travisn/rbd-mirror-log-rotate
rbdmirror: Rotate all rbd mirroring logs
2022-08-30 09:17:42 -06:00
Alexander Trost 62d27cfc05 Merge pull request #10813 from koor-tech/docs_docs 2022-08-30 16:10:12 +02:00
Travis Nielsen 5bfbfc7ec6 Merge pull request #10803 from subhamkrai/update-k8s-version
ci: upgrade to latest k8s version v1.25.0 for ci test
2022-08-30 07:46:48 -06:00
Alexander Trost aade41a88f docs: improve documentation about documentation building
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2022-08-30 15:46:21 +02:00
Travis Nielsen 4028b50de5 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>
2022-08-29 16:44:09 -06:00
Travis Nielsen 0cd9361b3e test: upgrade from v1.9.10 to pick up psp changes
K8s 1.25 is not capable of creating PSPs, so we need to pick
up v1.9.10 as the base for the upgrade test before upgrading
to master.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-29 15:50:42 -06:00
Travis Nielsen 055c22f4c4 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>
2022-08-29 14:45:44 -06:00