Commit Graph
8479 Commits
Author SHA1 Message Date
Blaine Gardner 9dd8e00c46 docs: add info about mounting NFS exports externally
Add some information to NFS docs about how LoadBalancer Service endpoint
and PersistentVolume share field can be used when mounting NFS exports
manually.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit fa27b994c4)

# Conflicts:
#	Documentation/ceph-nfs-crd.md
2022-04-14 15:44:29 +00:00
mergify[bot] 92358e374c Merge pull request #10055 from rook/mergify/bp/release-1.9/pr-9927
csi: add nfs nodeplugin & provisioner (backport #9927)
2022-04-14 14:42:20 +00:00
Travis Nielsen f3a44ece6b Merge pull request #10068 from travisn/release-1.9.0
build: Update release version to v1.9.0
v1.9.0
2022-04-13 16:22:32 -06:00
Travis Nielsen 7e7f46a471 build: update release version to v1.9.0
With the minor release we update manifest versions
and documentation to v1.9.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-13 15:52:25 -06:00
Travis Nielsen 6c705464ad Merge pull request #10067 from rook/mergify/bp/release-1.9/pr-10066
docs: Clarify helm install documentation (backport #10066)
2022-04-13 15:38:42 -06:00
Travis Nielsen 372eee6390 docs: clarify helm install documentation
Update the formatting so third-level headers are more visible,
sections are more consistent between the operator and cluster
chart docs, and a few other minor updates.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 0acf7d616c)
2022-04-13 21:22:05 +00:00
mergify[bot] a3dc540b28 Merge pull request #10065 from rook/mergify/bp/release-1.9/pr-10046
ceph: add webhooks to reject update on subvolume group and radosnamespace (backport #10046)
2022-04-13 17:35:12 +00:00
Madhu Rajanna 30d8f61275 build: provide 775 permission for deploy_cert_manager.sh
provided 775 permission like other scripts for
deploy_cert_manager.sh

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 4425ef1ce2)
2022-04-13 17:06:45 +00:00
Madhu Rajanna 1d8aa05a23 subvolumegroup: add webhook for subvolumegroup
As we are not suppose to update the filesystem name
once the subvolumegroup is created.
added webhook validation for subvolumegroup update.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 74c4397973)
2022-04-13 17:06:45 +00:00
Madhu Rajanna c0697432fd namespace: add webhook for radosnamespace
As we are not suppose to update the pool name
once the rados namespace is created.
added webhook validation for radosnamespace
update.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 6aea438288)
2022-04-13 17:06:44 +00:00
Madhu Rajanna 106171a68e core: add code to update the webhook configurations
As we are adding new webhook configuration we
need to update the webhooks validations.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 024c034a95)
2022-04-13 17:06:44 +00:00
Travis Nielsen 20aa0dfa5c Merge pull request #10052 from rook/mergify/bp/release-1.9/pr-10003
core: support arbitrary node affinity inputs (backport #10003)
2022-04-13 08:43:29 -06:00
Travis Nielsen 1b6cf7259b Merge pull request #10047 from rook/mergify/bp/release-1.9/pr-9903
csi: update multus design to mitigate csi-plugin pod restart (backport #9903)
2022-04-13 08:43:01 -06:00
Travis Nielsen 93ab24a878 Merge pull request #10041 from rook/mergify/bp/release-1.9/pr-10027
helm: Correctly check external cluster for prometheus rules (backport #10027)
2022-04-13 08:40:46 -06:00
Travis Nielsen 651e46ed65 Merge pull request #10051 from rook/mergify/bp/release-1.9/pr-10048
ci: add multus integration test (backport #10048)
2022-04-13 08:40:16 -06:00
Travis Nielsen a54923b891 Merge pull request #10050 from rook/mergify/bp/release-1.9/pr-10043
core: refactor webhook config (backport #10043)
2022-04-13 08:40:00 -06:00
Travis Nielsen 2386c22de9 Merge pull request #10049 from rook/mergify/bp/release-1.9/pr-10042
docs: Consistent toc headers for crds (backport #10042)
2022-04-13 08:39:47 -06:00
Blaine Gardner 46427dda6b Merge pull request #10057 from rook/mergify/bp/release-1.9/pr-10054
nfs: create config pool automatically (backport #10054)
2022-04-12 16:55:40 -06:00
Blaine Gardner 727d6dcf53 nfs: create config pool by default
Create the ".nfs" config pool by default so that users aren't required
to create it via CephBlockPool.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 254a7adb4c)
2022-04-12 19:33:10 +00:00
Blaine Gardner f72b2fa67b Merge pull request #10056 from rook/mergify/bp/release-1.9/pr-10053
pool: built-in pools must be replicated (backport #10053)
2022-04-12 13:32:39 -06:00
Blaine Gardner 0a1bbfed67 pool: built-in pools must be replicated
Built in Ceph pools (device_health_metrics, .mgr, .nfs) must be
replicated and not erasure coded.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit bcd5b66e43)
2022-04-12 17:55:26 +00:00
Rakshith R 3b82609b23 csi: add nfs example yamls
This commit adds example nfs storageclass,
pvc and pod yamls.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit f1953314d4)
2022-04-12 17:38:34 +00:00
Rakshith R d402f8b286 csi: add nfs provisioner deployment
This commit adds nfs provisioner deployment.
This will allow rook to deploy nfs provisioner
which can create backend cephfs subvolumes to be
exported as nfs volumes.

refer:
https://github.com/ceph/ceph-csi/blob/devel/docs/design/proposals/nfs.md

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 5f48ad8026)
2022-04-12 17:38:34 +00:00
Rakshith R 7eead51c6f csi: add nfs nodeplugin daemonset
This commit adds nfs nodeplugin daemonset.
This will allow rook to deploy nfs nodeplugin
which can mount/unmount nfs volumes.

refer:
- https://github.com/ceph/ceph-csi/blob/devel/docs/design/proposals/nfs.md
- https://github.com/kubernetes-csi/csi-driver-nfs

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 34162c3dc5)
2022-04-12 17:38:34 +00:00
Pranshu Srivastava 750e8efdc3 core: support arbitrary node affinity inputs
Adds support for valid arbitrary NodeAffinity JSON input by the user while
maintaining backward compatibility with the older parsing code.

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
(cherry picked from commit 6e49a090a3)
2022-04-12 16:32:32 +00:00
Sébastien Han 8f083d68a7 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>
(cherry picked from commit 2c09bbb91b)
2022-04-12 16:23:40 +00:00
subhamkrai 3eb5f0c7b8 core: refactor webhook config
refactor validating webhook config.

Closes: https://github.com/rook/rook/issues/10025
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 948e2851dc)
2022-04-12 15:45:49 +00:00
Travis Nielsen 6fda072613 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>
(cherry picked from commit a71e361cef)
2022-04-12 14:42:08 +00:00
Sébastien Han 1effc85c0a 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>
(cherry picked from commit 77c955a151)
2022-04-12 13:49:42 +00:00
Travis Nielsen 101c25cb63 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>
(cherry picked from commit 257dc61391)
2022-04-11 17:59:25 +00:00
Travis Nielsen a9dac1b5fa Merge pull request #10038 from rook/mergify/bp/release-1.9/pr-10035
osd: only set kek to env var on encryption scenario (backport #10035)
2022-04-11 11:47:36 -06:00
Travis Nielsen 55969c6787 Merge pull request #10036 from rook/mergify/bp/release-1.9/pr-9934
core: start admission controller without any script (backport #9934)
2022-04-11 11:47:08 -06:00
Travis Nielsen 1846ff4125 Merge pull request #10032 from rook/mergify/bp/release-1.9/pr-10029
test: Default pool replica size for test cluster is 1 (backport #10029)
2022-04-11 11:46:12 -06:00
Travis Nielsen 8e083abfc5 Merge pull request #10039 from rook/mergify/bp/release-1.9/pr-10009
csi: remove node object update rbac for csi deamonset pods (backport #10009)
2022-04-11 11:45:45 -06:00
Travis Nielsen 9c0a536c0a Merge pull request #10015 from rook/mergify/bp/release-1.9/pr-9919
build: Remove obsolete cross build container (backport #9919)
2022-04-11 10:42:09 -06:00
Humble Chirammal 214ac48e28 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>
(cherry picked from commit e2a95ac51e)
2022-04-11 15:55:47 +00:00
Sébastien Han d72d4ca19e 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>
(cherry picked from commit 6bc7827150)
2022-04-11 15:26:51 +00:00
subhamkrai 0cd2cbb0d4 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>
(cherry picked from commit f6f03d272b)
2022-04-11 15:07:56 +00:00
Travis Nielsen 070afb4d12 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>
(cherry picked from commit e5a3cbd08c)
2022-04-11 08:05:26 +00:00
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
Travis Nielsen 2f07c19aa8 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>
(cherry picked from commit 738a300827)
2022-04-07 20:43:06 +00: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