Commit Graph
9063 Commits
Author SHA1 Message Date
Rakshith R f8eb2a2fbc csi: add NFS clone support
This commit reqired yaml and docs
changes too for NFS clone support.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-09-08 16:15:37 +05:30
Rakshith R 73042c7531 csi: add NFS snapshot support
This commit adds snapshotter sidecar to
NFS driver and required yamls and docs too.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-09-08 16:15:37 +05:30
Blaine Gardner 270579e144 Merge pull request #10776 from motorailgun/better-healthcheck-message
operator: improve ProbeHandler error message
2022-09-07 11:49:59 -06:00
Travis Nielsen c6f45545bd Merge pull request #10908 from cybozu-go/ci-print-unknown-reason-of-intermittent-build-failure
ci: improve the log on intermittent build failure
2022-09-07 10:31:09 -06:00
Travis Nielsen 80e80ffeb2 Merge pull request #10906 from Madhu-1/fix-csi-config
csi: remove findCSIChange from predicate
2022-09-07 09:10:55 -06:00
Travis Nielsen e7f767cd38 Merge pull request #10904 from BlaineEXE/obc-controller-namespace-helm-fix
helm: set OBC storageclass name to right namespace
2022-09-07 08:28:11 -06:00
Travis Nielsen 08c787e8d6 Merge pull request #10777 from yati1998/remove-vol-rep
rbd-mirror: remove volume replication sidecar
2022-09-07 08:27:07 -06:00
Travis Nielsen 46a832fe98 Merge pull request #10899 from khrisrichardson/found-unexpected-end-of-stream
manifest: fix unexpected end of stream
2022-09-07 07:41:32 -06:00
Satoru Takeuchi 47f7aefa20 ci: improve the log on intermittent build failure
The build process sometimes fails with intermittent problems. Some of them
are known problems and then we retry build process. However, there still
are unknown problems. In this case, it's hard to find the reason because
the build process exits immediately.

ref.
https://github.com/rook/rook/runs/8225144002?check_suite_focus=true#step:3:926

```
+ case "$o" in
+ exit 1
Error: Process completed with exit code 1.
```

To make debugging easier, let's print the output of `make`. This log won't be
too long since `make` prints most messages to stderr.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-09-07 10:48:21 +00:00
yati1998 69a233be4e build: remove volume replication crd from build
This commit removes the creation of volume
replication crds from build.

Signed-off-by: yati1998 <ypadia@redhat.com>
2022-09-07 14:49:32 +05:30
yati1998 cc4fd0c547 csi: remove controller-ip from csi-addons
This commit removes controller-ip parameter from
csi-addons sidecar as it is no longer required to be
passed.

Signed-off-by: yati1998 <ypadia@redhat.com>
2022-09-07 14:49:32 +05:30
yati1998 9b4361b379 rbdmirror: remove volume replication sidecar
The volume replication operator is being moved to
kubernetes-csi-addons. This commit hence, removes
the volume replication sidecar and updates the
related documentation.
It will also update the csi-addons sidecar version
to the latest one.

Closes: #10655

Signed-off-by: yati1998 <ypadia@redhat.com>
2022-09-07 14:49:19 +05:30
Madhu Rajanna 5b843a17a1 csi: remove findCSIChange from predicate
findCSIChange will work only for single
line values/configration in the configmap,
If the value is multiline the regex will not
be able to indentify the change because of this
one no configurations will be applied to the
csi driver. Removing this check so that if there
is any update on the configmap we will
reconcile the csi driver.

Note:- This might looks heavy but updating of config
map is not a frequent event.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-09-07 13:08:56 +05:30
motorailgun ff0951738f operator: improve ProbeHandler error message
This commit implements more diagnostic error for unsccessful
Liveness- and Readiness-Probe of Pods.

Added codes are expected to catch failures of
`ceph status` and `ceph mon_status`, and report it.

Closes: https://github.com/rook/rook/issues/9846
Closes: https://github.com/rook/rook/issues/9852

Signed-off-by: motorailgun <motoi_public@mail.aria-on-the-planet.es>
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-09-07 07:35:33 +00:00
Khris Richardson 9614428f54 manifest: fix unexpected end of stream
Signed-off-by: Khris Richardson <khris.richardson@gmail.com>
2022-09-06 15:04:06 -07:00
Blaine Gardner 5f00d291c9 helm: set OBC storageclass name to right namespace
OBC storageclasses should have their names based on the cluster
namespace and not the operator namespace. Fix the chart to reflect this.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-09-06 11:37:58 -06:00
Travis Nielsen 69ccd11b97 Merge pull request #10903 from travisn/mergify-1.10-automerge
bot: Fix automerge for 1.10 backports
2022-09-06 11:35:18 -06:00
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 1bbf8f7a43 Merge pull request #10791 from Rakshith-R/use-cephcsi-nfsnodeplugin
csi: use cephcsi image for nfs nodeserver + holder design
2022-09-06 10:52:30 -06:00
Blaine Gardner 551f0870d0 Merge pull request #10732 from BlaineEXE/nfs-kerberos-design
docs: add kerberos to nfs-ganesha design
2022-09-06 09:22:04 -06:00
Travis Nielsen cdc2a5e8a5 Merge pull request #10893 from subhamkrai/fix-working-dir
ci: no need to copy working dir to GOPATH
2022-09-06 09:15:05 -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
subhamkrai c2cc8d3a66 ci: no need to copy working dir to GOPATH
this commits remove using working-dire and copying
files to GOPATH since they are not required anymore.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-09-06 19:22:45 +05:30
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
Rakshith R 07aac106df ci: add e2e for csi-nfsplugin restart
This commit adds e2e for csi-nfsplugin restart
when it is not on host-networking.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-09-02 14:16:15 +05:30
Rakshith R 7722226521 csi: remove nfs image
This commit remove nfs image
since it is no longer needed.
Cephcsi itself will act as nfs
nodeserver.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-09-02 14:16:15 +05:30
Rakshith R 7c6e4d71bc csi: add holder pod support for nfs
This commit adds holder pod support
for nfs to be able to work in non-host
networking scenario, without being
affected by restarts of csi-nfsplugin.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-09-02 14:16:15 +05:30
Rakshith R 9405b59ff4 csi: use cephcsi image for nfs nodeserver
Cephcsi v3.7 now supports nfs nodeserver.
This commit changes nfs nodeserver image to
cephcsi image and makes other necessary
modifications to template.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-09-02 14:16:15 +05:30
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
Blaine Gardner 748680be62 docs: add kerberos to nfs-ganesha design
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-09-01 15:09:17 -06:00
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