Commit Graph
8439 Commits
Author SHA1 Message Date
Travis Nielsen 5a1ef784a9 Merge pull request #10020 from rook/mergify/bp/release-1.9/pr-10018
docs: Add missing references to branch name script (backport #10018)
2022-04-08 10:30:49 -06:00
Travis Nielsen 2a47bfd604 docs: add missing references to branch name script
The script to get the branch name was not being imported
on several doc pages, causing any links using
{{ branchName }} to be broken on those pages.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 82125ddf40)
2022-04-07 22:02:18 +00:00
Travis Nielsen 2f55e35519 Merge pull request #10017 from rook/mergify/bp/release-1.9/pr-10016
docs: Remove obsolete section of upgrade guide (backport #10016)
2022-04-07 16:01:32 -06:00
Travis Nielsen 72a2fb8060 docs: remove obsolete section of upgrade guide
The bluestore_fsck_quick_fix_on_mount fix was only needed when upgrading to
versions of Ceph older than v16.2.6. Everyone on pacific should now be
on v16.2.7, so we can remove this section from the v1.9 upgrade guide.

Also cleaning up a few other small issues in the guide.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c400ffa233)
2022-04-07 21:42:52 +00:00
Travis Nielsen c4c9fbe503 Merge pull request #10012 from rook/mergify/bp/release-1.9/pr-10010
docs: fix design doc link (backport #10010)
2022-04-07 14:45:32 -06:00
parth-gr 84c45c283f docs: fix design doc link
In the development section some
links where not working so fixed them

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

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit d0c47589f4)
2022-04-07 16:02:13 +00:00
Travis Nielsen 585f295655 Merge pull request #9992 from rook/mergify/bp/release-1.9/pr-9968
docs: update the s3 client example for accesing RGW (backport #9968)
2022-04-06 15:59:37 -06:00
Travis Nielsen 4afe52a51d Merge pull request #9993 from rook/mergify/bp/release-1.9/pr-9952
csi: make use of create-external-cluster-resources.py upstream (backport #9952)
2022-04-06 15:59:19 -06:00
Travis Nielsen 681c2db8d3 Merge pull request #9999 from rook/mergify/bp/release-1.9/pr-9974
object: add details about route for rgw's https endpoint (backport #9974)
2022-04-06 15:58:57 -06:00
Travis Nielsen ffe4640fd7 Merge pull request #10008 from rook/mergify/bp/release-1.9/pr-9997
Upgrade docs for 1.9 (backport #9997)
2022-04-06 13:28:06 -06:00
Travis Nielsen 81f5003510 Merge pull request #10005 from rook/mergify/bp/release-1.9/pr-10002
csi: update cephcsi to v3.6.0 release (backport #10002)
2022-04-06 13:27:52 -06:00
Travis Nielsen 04edb5d017 Merge pull request #10000 from rook/mergify/bp/release-1.9/pr-9998
monitoring: remove prometheusrules kind from RBAC (backport #9998)
2022-04-06 13:27:01 -06:00
Blaine Gardner 8e64993c5e docs: update docs for 1.9 release
Update upgrade and supporting docs for release of Rook v1.9.
Include pending release notes as part of this update.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 8d619501fe)
2022-04-06 15:52:16 +00:00
Travis Nielsen 19f8b25bb5 Merge pull request #9989 from rook/mergify/bp/release-1.9/pr-9733
radosnamespace: add new CRD (backport #9733)
2022-04-06 08:46:23 -06:00
Madhu Rajanna ad4c6ac92a csi: update cephcsi to v3.6.0 release
Removed v3.4.0 as its deprecated in cephcsi
and updated the templates to point to latest
v3.6.0 release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit a1ded0f27f)
2022-04-06 14:01:49 +00:00
Blaine Gardner 83ee051d33 monitoring: remove prometheusrules kind from RBAC
Minor update to remove prometheus rules from RBAC, which is no longer
managed by Rook.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 0e08aeedac)
2022-04-05 20:00:28 +00:00
Jiffin Tony Thottan 37d18ba45a object: add details about route for rgw's https endpoint
In the `object-openshift.yaml` details about exposing `Routes` for RGW
service, currently it exposes both ports if they are available. This is
very difficult to manage via same route like adding termination policy
etc.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 68dced0409)
2022-04-05 18:34:37 +00:00
parth-gr 152fb563cf rgw: change name of rgw admin keys
Corrected RGW_ADMIN_OPS_USER_ACCESS_KEY  and
RGW_ADMIN_OPS_USER_SECRET_KEY so it should be
output correctely when called script with
bash format output

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 63945df72d)
2022-04-05 14:54:18 +00:00
parth-gr 2e5680b98e csi: make use of create-external-cluster-resources.py upstream
Updated doc how to use create external cluster

Closes: https://github.com/rook/rook/issues/9591
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 7ce49aee5b)
2022-04-05 14:54:17 +00:00
Jiffin Tony Thottan 04c803a242 docs: update the s3 client example for accesing RGW
Couple of modification to existing example for s3 client regarding how
to access the ceph object store. Added details to fetch the
`BUCKET_NAME`, updated the `AWS_ENDPOINT` and `AWS_HOST` details.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 7f8dcb4c5d)
2022-04-05 13:59:23 +00:00
Madhu Rajanna baa2c90568 namespace: add new CRD
This introduces a new CRD to add the ability
to create rados namespace for a given
ceph block pool. Typically the name of the pool
is the name of the blockpool created by rook.

Closes: #7035

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit b0fc7c9b92)
2022-04-05 13:33:54 +00:00
Travis Nielsen 1a5ed03ee5 Merge pull request #9977 from rook/mergify/bp/release-1.9/pr-9967
osd: add NixOS specific PATHs (backport #9967)
2022-04-04 13:24:59 -06:00
Travis Nielsen f09215546c Merge pull request #9985 from rook/mergify/bp/release-1.9/pr-9980
ci: update golangci linter version (backport #9980)
2022-04-04 11:10:37 -06:00
subhamkrai 7ac76bd0d0 core: fix golangci linter
fix golangci linter

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 24802c559e)
2022-04-04 10:24:11 -06:00
subhamkrai 2d7f7b0b38 ci: update golangci linter version
update golangci linter version

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 0cdb32a403)
2022-04-04 10:23:53 -06:00
Travis Nielsen bfd3f8e42a Merge pull request #9979 from rook/mergify/bp/release-1.9/pr-9964
object: add service account for RGW pod (backport #9964)
2022-04-04 10:21:22 -06:00
Jiffin Tony Thottan 0b8440cff5 object: add service account for RGW pod
For supporting features like service account authentication for vault
KMS , a service account account need to attach with pod.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 5e72b26948)
2022-04-04 13:41:44 +00:00
Krzysztof Nazarewski fdcfd01ffa osd: add NixOS specific PATHs
This commits makes Rook usable on NixOS.

NixOS system holds "installed" binaries in `/run/current-system/sw/{bin,sbin}`.
The only binaries residing outside those paths are `/usr/bin/env` and `/bin/sh`.

I got a suggestion on Slack to simply add those NixOS specific paths

Signed-off-by: Krzysztof Nazarewski <3494992+nazarewk@users.noreply.github.com>
(cherry picked from commit 352df4e62f)
2022-04-04 08:18:02 +00:00
Travis Nielsen 0b11101040 Merge pull request #9970 from travisn/release-1.9.0-beta.0
build: Set the release version to v1.9.0-beta.0
v1.9.0-beta.0
2022-04-01 10:34:19 -06:00
Travis Nielsen 22eaff2e01 build: set the release version to v1.9.0-beta.0
For the new 1.9 branch we create the new v1.9.0-beta.0 manifests
and doc updates.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-01 09:21:56 -06:00
Sébastien Han 55a8fb9b8e Merge pull request #9962 from leseb/fix-9911
core: reload go routine after CR is edited
v1.9.0-alpha.0
2022-03-31 15:51:43 +02:00
Sébastien Han 05506e7a68 core: reload go routine after CR is edited
Previously, the struct maintaining the list of cluster was still
initialized with a cluster item. Then the monitoring check will see that
the cluster is part of the struct already and thus won't run the
monitoring go routine again.
Now each time we cancel the context, we also remove the cluster item
from the map so that when the controller runs again, the monitoring
struct is re-populated and the go routine runs and statuses are updated.

Closes: https://github.com/rook/rook/issues/9911
Signed-off-by: Sébastien Han <seb@redhat.com>
2022-03-31 08:49:42 +02:00
Travis Nielsen 6c50530737 Merge pull request #9685 from weirdwiz/context-remove
Remove context.TODO and add context parameter
2022-03-30 12:20:30 -05:00
Blaine Gardner 5a82a1cbd7 Merge pull request #9941 from Rakshith-R/csi/add-oidc-token
csi: mount serviceaccount oidc-token into csi-driver
2022-03-29 11:41:07 -06:00
Blaine Gardner b098e7ca72 Merge pull request #9951 from parth-gr/secret-external-cluster
csi: rbd node secret was misspelled
2022-03-29 10:00:21 -06:00
parth-gr 79db113aab csi: rbd node secret was misspelled
Corrected CSI_RBD_NODE_SECRET name so it should be
output correctely when called script with
bash format output

Signed-off-by: parth-gr <paarora@redhat.com>
2022-03-29 16:56:42 +05:30
Rakshith R ec6f2e31b1 csi: mount serviceaccount oidc-token into csi-driver
This oidc-token is used to authenticate with OpenID Connect (OIDC)
Provider. Currently, Ceph-CSI uses it to assume role with amazon STS
to get access to aws kms for encryption.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-03-29 14:04:28 +05:30
Sébastien Han 1569f39186 Merge pull request #9956 from parth-gr/externalcluster-pylint
ci: fixed pylint failure
2022-03-29 09:35:41 +02:00
parth-gr 339855f172 ci: fixed pylint failure
pylint was failing with used-before-assignment error
fixed it by making the variables assignmet before it was used
Also backward compatibility is removed from the ModuleNotFoundError import,
as we auto installed python3 version on ceph standalone

Signed-off-by: parth-gr <paarora@redhat.com>
2022-03-29 12:09:32 +05:30
Blaine Gardner ba3cf9cea6 Merge pull request #9898 from yuvalman/logcollector
core: fix GetLogCollectorResources to get the right resources
2022-03-28 12:27:33 -06:00
Blaine Gardner 4beb5da44b Merge pull request #9906 from thotz/use-region-us-east-1
object: remove region option from OBC StorageClass
2022-03-28 11:38:36 -06:00
Satoru Takeuchi 656e9466d4 Merge pull request #9946 from superbrothers/fix-invalid-nodeaffinity
helm: fix the invalid nodeAffinity configuration in the comment
2022-03-28 14:25:49 +09:00
Kazuki Suda bb98cf373a helm: fix the invalid nodeAffinity configuration in the comment
This commit fixes the missing indentation for nodeAffinity configuration
example in the comment. If users try to use the example configuration by
copy and paste, an error will occur.

Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
2022-03-26 22:55:35 +09:00
Jiffin Tony Thottan fc2b8012c6 object: use us-east-1 for aws go lang sdk
The aws go lang sdk needs value for region, it is set differently in
various part of current code. With PR the value is always `us-east-1` so
that it will work RGW server without any issues.

This reverts commit 280c29f330.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2022-03-24 14:37:39 +05:30
Divyansh Kamboj 9008409f87 core: add context parameter to functions
This commit adds context parameter to various functions, and remove the
usage of context.TODO.

Closes: https://github.com/rook/rook/issues/8701
Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
2022-03-22 08:19:07 +05:30
Travis Nielsen 8e3350a625 Merge pull request #9837 from travisn/helm-prometheus-rules
monitoring: Create prometheus rules with helm chart
2022-03-21 16:59:00 -06:00
Travis Nielsen 8dd4b77d8a monitoring: update to the latest ceph prometheus rules
Pick up the latest ceph prometheus rules from the ceph repo
found at https://github.com/ceph/ceph/blob/master/monitoring/ceph-mixin/prometheus_alerts.yml.
The updates include many new rules for monitoring of ceph.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-03-21 14:47:56 -06:00
Travis Nielsen 4edcff04f7 monitoring: create prometheus rules with helm chart
The prometheus rules had been previously created if the cephcluster CR
setting monitoring.enabled was set to true. The rules were not customizable
and therefore not flexible enough. Now the rules are installed by the helm
chart. To customize the rules, a post-processor can be applied to the helm
chart.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-03-21 14:47:52 -06:00
Travis Nielsen 4f9a72c1db Merge pull request #9894 from yuvalman/resources
helm: enable resource defaults on rook components
2022-03-21 13:58:17 -06:00
Yuval Manor ff7a5c2d2d helm: enable resource defaults on rook components
This PR assign default values to the resources of all Rook and Ceph components

Closes: https://github.com/rook/rook/issues/9858
Signed-off-by: Yuval Manor <yuvalman958@gmail.com>
2022-03-21 21:23:35 +02:00