Commit Graph
8462 Commits
Author SHA1 Message Date
Sébastien Han 2c09bbb91b ci: add multus integration test
This new integration test will deploy a cluster with multus enabled. It
will be comprised of two network interfaces for ceph public and cluster
communications.
For now, it only deploys a Ceph cluster up to the OSDs.

Closes: https://github.com/rook/rook/issues/9784
Signed-off-by: Sébastien Han <seb@redhat.com>
2022-04-12 17:30:47 +02:00
Travis Nielsen 26907b8923 Merge pull request #10042 from travisn/toc-consistency
docs: Consistent toc headers for crds
2022-04-12 08:41:30 -06:00
Travis Nielsen 73b8412c66 Merge pull request #10044 from subhamkrai/update-doc
docs: update design doc path in multus design
2022-04-12 08:05:23 -06:00
Sébastien Han ebe2e10a3a Merge pull request #9903 from leseb/multus-design-change-for-csi
csi: update multus design to mitigate csi-plugin pod restart
2022-04-12 15:49:29 +02:00
subhamkrai 9e56987d81 docs: update design doc path in multus design
update design doc path in multus design.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-04-12 15:06:02 +05:30
Sébastien Han 77c955a151 csi: update multus design to mitigate csi-plugin pod restart
This is the latest version of the design to mitigate the bug encountered
when restarting the `csi-plugin` pod.

Signed-off-by: Sébastien Han <seb@redhat.com>
2022-04-12 09:36:43 +02:00
Travis Nielsen a71e361cef docs: consistent toc headers for crds
The titles for the CRD documentation pages in the table
of contents were not consistent. The full name for the CRD
can be included in the full doc page, but in the TOC
we abbreviate the names for simplicity and readability.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-11 16:49:20 -06:00
Travis Nielsen 7ace343a70 Merge pull request #10027 from travisn/prometheus-formatting
helm: Correctly check external cluster for prometheus rules
2022-04-11 11:59:06 -06:00
Travis Nielsen 7eaef3871d Merge pull request #10009 from humblec/remove-update
csi: remove node object update rbac for csi deamonset pods
2022-04-11 09:55:10 -06:00
Sébastien Han aae4e79a3d Merge pull request #10035 from leseb/fix-ibm-kms-corner-case
osd: only set kek to env var on encryption scenario
2022-04-11 17:26:04 +02:00
Travis Nielsen e0ff39bd29 Merge pull request #9934 from subhamkrai/automate-adm
core: start admission controller without any script
2022-04-11 09:07:27 -06:00
Sébastien Han 6bc7827150 osd: only set kek to env var on encryption scenario
There is a corner case where an env variable populated with the prepare
job could influence and trigger some encryption code. We have an env
variable to discover whether the prepare job will encrypt a drive or not
so let's use that instead of running code as a noop and sometimes
trigger a corner case. In this scenario, the prepare job had an "IBM_"
env variable present in the OS image (IBM OS) so the setKEKinEnv()
  function would get called for no reason.

Signed-off-by: Sébastien Han <seb@redhat.com>
2022-04-11 16:54:18 +02:00
subhamkrai f6f03d272b core: start admission controller without any script
finally, admission controller will be enabled default
without any script/manual step. But it still requires cert-manager
to be installed which I believe is already installed in clusters.

**Note**
Code doesn't return error it just logs the error since
we don't want to stop reconciling if the admission controller fails.
We can work on this once the admission controller is stable.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-04-11 19:44:54 +05:30
Sébastien Han 1db2ecf99b Merge pull request #10029 from travisn/default-test-pool-size
test: Default pool replica size for test cluster is 1
2022-04-11 10:04:50 +02:00
Travis Nielsen e5a3cbd08c test: default pool replica size for test cluster is 1
The default replica count for test clusters should be 1.
This was causing the rgw-multisite integration test to
fail because the PGs were attempting to use the default
replication instead of the replication of 1 expected
for test clusters.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-08 15:58:43 -06:00
Travis Nielsen 257dc61391 helm: correctly check external cluster for prometheus rules
When the prometheus rules are created, if external settings
were not specified, the helm chart would fail due to a nil ref
in the external settings. Now we check both for the existence
of external settings and whether the external settings are enabled.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-08 13:28:54 -06:00
Travis Nielsen d23b117dea Merge pull request #10018 from travisn/render-doc-links
docs: Add missing references to branch name script
2022-04-07 16:01:49 -06:00
Travis Nielsen 82125ddf40 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>
2022-04-07 15:58:08 -06:00
Travis Nielsen 178e0a4958 Merge pull request #10016 from travisn/upgrade-doc
docs: Remove obsolete section of upgrade guide
2022-04-07 15:42:35 -06:00
Travis Nielsen c400ffa233 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>
2022-04-07 15:36:51 -06:00
Travis Nielsen 44f7271783 Merge pull request #9919 from travisn/obsolete-cross-container
build: Remove obsolete cross build container
2022-04-07 14:42:26 -06:00
Travis Nielsen 738a300827 build: remove obsolete cross build container
The cross build container is not used anymore since the conversion
to github actions. Now the obsolete scripts and makefiles are
cleaned up to remove some confusing leftovers from the
cross container.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-07 13:42:18 -06:00
Travis Nielsen 4e8536afa0 Merge pull request #10010 from parth-gr/doc-links
docs: fix design doc link
2022-04-07 10:01:13 -06:00
parth-gr d0c47589f4 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>
2022-04-07 21:28:18 +05:30
Humble Chirammal e2a95ac51e csi: remove node object update rbac for csi deamonset pods
The CSI driver pods dont need to update the node objects for
its operations. This commit remove the unwanted access to node
object update in the RBAC of CSI pods.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-04-07 11:11:16 +05:30
Blaine Gardner 7adba6cc86 Merge pull request #9997 from BlaineEXE/upgrade-docs-for-1.9
Upgrade docs for 1.9
2022-04-06 09:51:26 -06:00
Blaine Gardner 8d619501fe 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>
2022-04-06 09:06:26 -06:00
Travis Nielsen 3c83c62d21 Merge pull request #10002 from Madhu-1/fix-9973
csi: update cephcsi to v3.6.0 release
2022-04-06 08:01:18 -06:00
Madhu Rajanna a1ded0f27f 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>
2022-04-06 09:51:46 +05:30
Blaine Gardner 5b393bb884 Merge pull request #9998 from BlaineEXE/remove-prometheusrules-from-rbac
monitoring: remove prometheusrules kind from RBAC
2022-04-05 13:59:49 -06:00
Blaine Gardner 0e08aeedac 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>
2022-04-05 12:38:35 -06:00
Travis Nielsen 38407c4416 Merge pull request #9974 from thotz/add-route-https-endpoint-rgw
object: add details about route for rgw's https endpoint
2022-04-05 12:34:10 -06:00
Jiffin Tony Thottan 68dced0409 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>
2022-04-05 23:33:20 +05:30
Travis Nielsen 8b6e2c792e Merge pull request #9952 from parth-gr/upstream-external-cluster
csi: make use of create-external-cluster-resources.py upstream
2022-04-05 08:53:47 -06:00
parth-gr 63945df72d 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>
2022-04-05 19:33:36 +05:30
parth-gr 7ce49aee5b 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>
2022-04-05 19:33:29 +05:30
Travis Nielsen 62a31f1d0b Merge pull request #9968 from thotz/add-update-client-documentation-for-s3
docs: update the s3 client example for accesing RGW
2022-04-05 07:58:49 -06:00
Travis Nielsen 9a06367194 Merge pull request #9981 from subhamkrai/skip-lable
ci: skip few ci when pr labled skip-ci
2022-04-05 07:43:47 -06:00
Travis Nielsen 9b6c0c9e20 Merge pull request #9733 from Madhu-1/fix-7035
radosnamespace: add new CRD
2022-04-05 07:33:12 -06:00
subhamkrai e4a2a06d2e ci: skip few ci when pr labled skip-ci
skip build, codegen and unit test ci test when
skip-ci labled is marked in PR.

Closes: https://github.com/rook/rook/issues/9972
Signed-off-by: subhamkrai <srai@redhat.com>
2022-04-05 11:35:38 +05:30
Jiffin Tony Thottan 7f8dcb4c5d 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>
2022-04-05 11:35:09 +05:30
Madhu Rajanna b0fc7c9b92 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>
2022-04-05 10:10:04 +05:30
Travis Nielsen b80e922a7f Merge pull request #9980 from subhamkrai/update-golangci
ci: update golangci linter version
2022-04-04 10:17:08 -06:00
subhamkrai 24802c559e core: fix golangci linter
fix golangci linter

Signed-off-by: subhamkrai <srai@redhat.com>
2022-04-04 20:59:31 +05:30
subhamkrai 0cdb32a403 ci: update golangci linter version
update golangci linter version

Signed-off-by: subhamkrai <srai@redhat.com>
2022-04-04 19:37:20 +05:30
Travis Nielsen 2357cb7a1e Merge pull request #9964 from thotz/add-service-account-rgw
object: add service account for RGW pod
2022-04-04 07:41:13 -06:00
Sébastien Han 87c431936f Merge pull request #9967 from nazarewk/patch-1
osd: add NixOS specific PATHs
2022-04-04 10:17:25 +02:00
Jiffin Tony Thottan 5e72b26948 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>
2022-04-04 11:24:50 +05:30
Travis Nielsen d847fc86b1 Merge pull request #9969 from travisn/mergify-1.9
build: Add mergify rules for release-1.9
2022-04-01 11:09:20 -06:00
Travis Nielsen bc5013e487 build: remove auto merge rules for master branch
The rules for auto merging PRs from master have not been used.
Instead we follow a pattern of a maintainer deciding when is
the best time to merge the PR in case it is not ready even after
being approved.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-01 10:48:34 -06:00