Commit Graph
9010 Commits
Author SHA1 Message Date
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
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
subhamkrai 4623087ef4 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>
2022-08-29 14:00:49 -06:00
Travis Nielsen 56bb1778d8 Merge pull request #10822 from travisn/avoid-cron-v1beta1
core: Only log errors with v1beta1 cron job deletion
2022-08-29 13:59:45 -06:00
Travis Nielsen 538025111a 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>
2022-08-29 13:31:24 -06:00
Travis Nielsen fa6002a6d9 Merge pull request #10816 from BlaineEXE/psp-fix
build: remove psp from common.yaml generation
2022-08-29 11:17:01 -06:00
Blaine Gardner 6c8f2e414f 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>
2022-08-29 10:41:41 -06:00
Travis Nielsen 44d62aaaaf Merge pull request #10699 from subhamkrai/upgrade-to-ubuntu22.04
ci: ubuntu 18.04 is deprecated upgrade to ubuntu 20.04
2022-08-29 09:51:25 -06:00
Travis Nielsen a61a9e4126 Merge pull request #10807 from travisn/upgrade-1.9
build: Test upgrade from 1.9 to master
2022-08-26 10:44:25 -06:00
Travis Nielsen 3696a560d8 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>
2022-08-26 10:04:37 -06:00
Travis Nielsen fb13df1d33 Merge pull request #10784 from subhamkrai/update-log-collector-script
test: update logcollector to get secrets -oyaml
2022-08-26 09:39:21 -06:00
subhamkrai 9f68afaeef 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>
2022-08-26 19:44:42 +05:30
subhamkrai d1e3023439 ci: collect operator logs in debug mode
collect operator logs in debug mode for both
canary tests and integration tests.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-26 19:32:59 +05:30
subhamkrai e825166075 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>
2022-08-26 15:19:40 +05:30
subhamkrai aec9ac3060 ci: ubuntu 18.04 is deprecated upgrade to ubuntu 22.04
Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-26 15:19:26 +05:30
subhamkrai 5a274b71e3 docs: update vscode setting
I have update vscode setting.json file
according to the uses.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-26 08:45:56 +05:30
subhamkrai 0ae55eb472 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>
2022-08-26 08:37:40 +05:30
Travis Nielsen 6dbf415492 Merge pull request #10797 from BlaineEXE/psp-move
docs: move PSPs from common.yaml to psp.yaml
2022-08-25 19:08:35 -06:00
Blaine Gardner 1e9bbae583 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>
2022-08-25 16:39:52 -06:00
Travis Nielsen 3fee4f7344 Merge pull request #10795 from jhoblitt/bugfix/markdown-nested-lists
docs: fix html rendering of nested list items -- "because markdown"
2022-08-25 12:20:05 -06:00
Joshua Hoblitt 5b01da877c 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>
2022-08-25 08:51:26 -07:00
Travis Nielsen a284f3690d Merge pull request #10768 from parth-gr/krew-docs
docs: add krew plugin to the troubleshooting docs
2022-08-25 09:21:00 -06:00
parth-gr f59374b7a8 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>
2022-08-25 00:07:15 +05:30
Travis Nielsen 386117de4b Merge pull request #10735 from thotz/doc-single-site-multisite-steps
docs: add steps to convert existing cephobjectstore into multisite
2022-08-24 11:26:38 -06:00
Blaine Gardner b03b28c5b2 Merge pull request #10772 from BlaineEXE/upgrade-guide
docs: update upgrade docs for v1.10
2022-08-24 10:40:27 -06:00
Blaine Gardner e768ebb1a2 docs: update upgrade docs for v1.10
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-08-24 10:11:47 -06:00
subhamkrai a9b7894fb4 test: update logcollector to get secrets -oyaml
in case of secrets we need to get `-oyaml` instead
of `describe` since in describe it will be hidden.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-08-24 21:41:42 +05:30
Satoru Takeuchi b68bef7522 Merge pull request #10717 from travisn/mon-failover-error
mon: Improve mon failover reliability to better handle failure and topology
2022-08-24 17:26:57 +09:00
Jiffin Tony Thottan d05bcc61f8 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>
2022-08-24 12:20:49 +05:30