Commit Graph
8740 Commits
Author SHA1 Message Date
Alexander Trost b13bb0bdb7 helm: use recommended value for helm managed-by label
This changes the `app.kubernetes.io/managed-by` label to use the helm
`{{ .Release.Service }}` for it's value.
This is recommended by the Helm labels and annotations standard labels
doc page, see https://helm.sh/docs/chart_best_practices/labels/#standard-labels

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 455508ea14)
2022-07-07 17:57:38 +00:00
Travis Nielsen 53e51db44a Merge pull request #10554 from rook/mergify/bp/release-1.9/pr-10547
manifest: use `Recreate` strategy for operator upgrade (backport #10547)
2022-07-07 10:48:10 -06:00
Travis Nielsen 05714cd72c Merge pull request #10549 from parth-gr/backport-1.9-subvolume
external: add support for subvolumegroup and rados namespace (backport #10459)
2022-07-06 10:51:35 -06:00
parth-gr d6a4187bdd csi: add support for subvolumegroup and rados namespace
Using subvolume group and rados namespace for external deployment
was complicated and not documented,
Automating the process for the users, so they just need to pass
the respective names by cli flag for creation

Closes: rook#10427

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit c9a864ccdb)
Signed-off-by: parth-gr <paarora@redhat.com>
2022-07-06 19:15:04 +05:30
mergify[bot] 51c4c9dbba Merge pull request #10550 from rook/mergify/bp/release-1.9/pr-10506
docs: Refactor cluster crd doc for subtopics (backport #10506)
2022-07-05 18:54:40 +00:00
Travis Nielsen 89e81fb0ee docs: refactor cluster crd doc for subtopics
The cluster CR doc is extremely long and in need of refactoring.
Now we have four new sub-topics for a host-based cluster,
PVC-based cluster, stretch cluster, and an external cluster.
Each of those topics has its own description and examples.
The main cluster CR topic still contains the details about
all the possible cluster CR settings.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 34ca5d661b)
2022-07-05 12:10:07 -06:00
mergify[bot] 96f54be7ea Merge pull request #10553 from rook/mergify/bp/release-1.9/pr-10539
ci: skip nfs e2e to avoid flaky e2e (backport #10539)
2022-07-05 17:54:43 +00:00
Santosh Pillai cd9333394f manifest: use Recreate strategy for operator upgrade
Use `Recreate` strategy instead of `RollingUpdate` for
rook-ceph-operator deployement upgrade

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 693c2d9306)
2022-07-05 17:41:41 +00:00
Rakshith R eddc8289ac ci: make sure PVC is deleted before proceeding for file test
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 034c4756d3)
2022-07-05 17:25:53 +00:00
Rakshith R 0ea2c87e63 ci: skip nfs csi e2e to avoid flaky e2e
Skip nfs csi e2e until https://github.com/rook/rook/issues/10518
is resolved to avoid flakiness.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 16d34e1425)
2022-07-05 17:25:53 +00:00
Travis Nielsen 3cbc8b665e Merge pull request #10527 from rook/mergify/bp/release-1.9/pr-10495
ci: rename EnableCSINFS to TestNFSCSI & explain "nolock" mountOption (backport #10495)
2022-06-30 15:31:41 -06:00
Rakshith R a9bf553f5e ci: explain why "nolock" mountOption is needed for nfs
"nolock" mountOptions has been added to prevent the following error in ci:
Output: mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 621dd2a159)
2022-06-29 14:00:22 +00:00
Rakshith R 92a4733126 ci: rename TestCephSettings.EnableCSINFS to TestNFSCSI
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 928dd46593)
2022-06-29 14:00:22 +00:00
mergify[bot] d8c86ee19c Merge pull request #10524 from rook/mergify/bp/release-1.9/pr-10154
helm: use correct namespace for provisioner in cephobjectstore template (backport #10154)
2022-06-28 15:22:35 +00:00
Markus Schmidleitner b11622fbcd docs: added upgrade note (#10153)
Signed-off-by: Markus Schmidleitner <markus.schmidleitner@ocilion.com>
(cherry picked from commit 506c266f2f)
2022-06-28 14:54:34 +00:00
Markus Schmidleitner 16dedbf3fe test: delete object sc before upgrade tests (#10153)
Signed-off-by: Markus Schmidleitner <markus.schmidleitner@ocilion.com>
(cherry picked from commit 00689476df)
2022-06-28 14:54:34 +00:00
Markus Schmidleitner 0d8a46d266 helm: use correct namespace for provisioner in cephobjectstore template (fixes #10153)
Signed-off-by: Markus Schmidleitner <markus.schmidleitner@ocilion.com>
(cherry picked from commit 36a9374555)
2022-06-28 14:54:34 +00:00
Travis Nielsen 31a69cba99 Merge pull request #10517 from rook/mergify/bp/release-1.9/pr-10505
mon: Disable insecure global ids for new deployments (backport #10505)
2022-06-27 17:18:45 -06:00
Travis Nielsen 6d9ecf48bc mon: disable insecure global ids for new deployments
In new deployments we always want to disable the insecure global id.
If the mgr deployment is newly created, we know it's a new cluster
and the mons are in quorum, so we can go ahead and disable the
insecure global IDs.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 28957b3ff1)
2022-06-27 21:54:07 +00:00
Travis Nielsen 9f42987feb mon: fix typo in log message for msgr2
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit ecbc438d7a)
2022-06-27 21:54:07 +00:00
mergify[bot] 7f2302ad25 Merge pull request #10512 from rook/mergify/bp/release-1.9/pr-10490
csi: fix stagingpath (backport #10490)
2022-06-27 19:18:58 +00:00
Prasanna Kumar Kalever 19c72a31a3 csi: fix stagingpath
Kubernetes 1.24 and newer use a different path for staging the volume.
That means the CSI-driver is requested to mount the volume at an other
location, compared to previous versions of Kubernetes.

The backward compatibility should be taken care by the CSI driver.

See-also: kubernetes/kubernetes#107065
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit 2627f32d51)
2022-06-27 16:23:17 +00:00
Travis Nielsen ba67a90f10 Merge pull request #10500 from travisn/release-1.9.6
build: Update release version to v1.9.6
v1.9.6
2022-06-23 14:56:33 -06:00
Travis Nielsen c48c68c07c build: update release version to v1.9.6
The patch release is updated in the docs and examples to v1.9.6

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-23 14:10:46 -06:00
mergify[bot] 5d12bb4a7f Merge pull request #10488 from rook/mergify/bp/release-1.9/pr-10354
e2e: add tests for nfs csi pvc (backport #10354)
2022-06-23 20:03:57 +00:00
mergify[bot] 0a97462f2f Merge pull request #10498 from rook/mergify/bp/release-1.9/pr-10480
core: delete v1beta1 cronjob only when v1 not found (backport #10480)
2022-06-23 16:41:00 +00:00
mergify[bot] 11a8c36e08 Merge pull request #10497 from rook/mergify/bp/release-1.9/pr-10496
osd: increase memory of osd prepare pods (backport #10496)
2022-06-23 16:11:27 +00:00
subhamkrai 842c630562 core: delete v1beta1 cronjob only when v1 not found
earlier we're deleting v1beta1 always before creating
v1 job. Now, we delete only when k8s version is
latest(which supports v1  job) and v1 job is not created
which means this is the first time and this is the only time we'll
delete v1beta1.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 196f5da635)
2022-06-23 16:08:30 +00:00
parth-gr 95ec5ba437 osd: increase memory of osd prepare pods
In helm charts default value of osd prepare pods
limit was less so increased it to 400Mi

closes: https://github.com/rook/rook/issues/10477

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit bf1342b2b3)
2022-06-23 15:41:21 +00:00
Rakshith R 941e551cae ci: add tests for nfs csi pvc
This commit adds nfs csi pvc test into
ceph smoke suite.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 5b017cfd67)
2022-06-22 16:31:42 -06:00
mergify[bot] 73da09a399 Merge pull request #10471 from rook/mergify/bp/release-1.9/pr-9915
file: block deletion on more dependents (backport #9915)
2022-06-22 22:27:16 +00:00
Blaine Gardner 1dbcce22d3 file: block deletion on more dependents
Block deletion of CephFilesystems when there are any raw Ceph
subvolumegroups present that have subvolumes in them. Empty
subvolumegroups will not block deletion.

One important subvolume group is "csi" which is the default location
where CSI subvolumes are kept. If this group is empty, it means that
there are no PVCs created based on the CephFilesystem in question. This
also holds true if there are external consumers of the filesystem in
external cluster mode.

Similarly, if there are any subvolumegroups (for example "_nogroup",
which includes subvolumes in the filesystem root) that contain
manually-created subvolumes, Rook will also see this and block deletion.
This comes into play currently with manually-created NFS exports.

A work-in progress aims to create a Ceph-CSI NFS export provisioner
which will likely create subvolumes in the "csi" group as well. This
implementation will catch this case also.

Rook still checks for CephFilesystemSubVolumeGroups explicitly in
addition to the check added here. This is to ensure that even empty
groups will block deletion if they are created via this CR type.

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

# Conflicts:
#	tests/framework/utils/k8s_helper.go
#	tests/integration/ceph_base_file_test.go
2022-06-22 15:34:43 -06:00
mergify[bot] e5d330a509 Merge pull request #10479 from rook/mergify/bp/release-1.9/pr-10478
doc: update k8s-csi-addons controller links to v0.4.0 (backport #10478)
2022-06-21 14:47:31 +00:00
Rakshith R d61b622290 docs: update k8s-csi-addons controller links to v0.4.0
This commit updates doc to point the k8s-csi-addons
controller links to release v0.4.0.
Refer: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.4.0

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 2cd32336cb)
2022-06-21 14:16:18 +00:00
mergify[bot] 57070e2636 Merge pull request #10469 from rook/mergify/bp/release-1.9/pr-10460
core: increase liveness probe timeout to 2s (backport #10460)
2022-06-19 07:25:40 +00:00
mergify[bot] 77ded95fa1 Merge pull request #10475 from rook/mergify/bp/release-1.9/pr-10442
csi: add token create rbac for rbd csi clusterrole (backport #10442)
2022-06-19 05:08:48 +00:00
Rakshith R 54bf464c56 csi: add token create rbac for rbd csi clusterrole
This rbac is required to fetch serviceaccount
token for vault tenant sa encryption type on k8s 1.24+.
refer: https://github.com/ceph/ceph-csi/pull/3174

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 623c5159d5)
2022-06-19 02:42:02 +00:00
Travis Nielsen bd689ba6cc Merge pull request #10457 from rook/mergify/bp/release-1.9/pr-10234
doc: update ceph external cluster flags (backport #10234)
2022-06-17 12:14:36 -06:00
subhamkrai f16ac1dfd0 core: increase liveness probe timeout to 2s
we have noticed multiple failures because of the probe
failing, most of the time it's due to fewer resources.
But increasing timeout fixes that, so increasing the
probe timeout to 2s from default 1s so that it will
give more time to probe before failing.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 62f0fb2b1d)
2022-06-17 18:12:21 +00:00
Satoru Takeuchi 096f08287e Merge pull request #10461 from rook/mergify/bp/release-1.9/pr-10445
osd: add lvm flag for lvm osd activate (backport #10445)
2022-06-17 08:13:18 +09:00
mergify[bot] 66846e2f76 Merge pull request #10462 from rook/mergify/bp/release-1.9/pr-10454
ceph: update CSI-Addons side-car to latest (v0.4.0) release (backport #10454)
2022-06-16 18:17:33 +00:00
Niels de Vos 217dd10e3c csi: update CSI-Addons side-car to latest (v0.4.0) release
A new version of the CSI-Addons side-car has been released, fixing
several bugs and adding small enhancements.

See-also: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.4.0
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 5dbb9a919d)
2022-06-16 17:41:31 +00:00
Sébastien Han 2ceb8c905c osd: add lvm flag for lvm osd activate
Ancient OSDs based on LVM and activated by the Rook binary are still in
production. They fail on the deactivation of the VolumeGroup due to
incorrect filter. Setting the OSD as LVM adjusts the filter and make the
deactivate call working.

Repro without and with the correct filter:

```
[root@ca862389706c /]# vgchange -an -vv ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d
  global/use_lvmpolld not found in config: defaulting to 1
  devices/sysfs_scan not found in config: defaulting to 1
  devices/scan_lvs not found in config: defaulting to 0
  devices/multipath_component_detection not found in config: defaulting to 1
  devices/md_component_detection not found in config: defaulting to 1
  devices/fw_raid_component_detection not found in config: defaulting to 0
  devices/ignore_suspended_devices not found in config: defaulting to 0
  devices/ignore_lvm_mirrors not found in config: defaulting to 1
  devices/scan_lvs not found in config: defaulting to 0
  devices/allow_mixed_block_sizes not found in config: defaulting to 0
  devices/hints not found in config: defaulting to "all"
  activation/activation_mode not found in config: defaulting to "degraded"
  metadata/record_lvs_history not found in config: defaulting to 0
  devices/search_for_devnames not found in config: defaulting to "auto"
  activation/monitoring not found in config: defaulting to 1
  global/locking_type not found in config: defaulting to 1
  global/wait_for_locks not found in config: defaulting to 1
  global/prioritise_write_locks not found in config: defaulting to 1
  global/locking_dir not found in config: defaulting to "/run/lock/lvm"
  devices/md_component_detection not found in config: defaulting to 1
  devices/md_component_checks not found in config: defaulting to "auto"
  devices/multipath_wwids_file not found in config: defaulting to "/etc/multipath/wwids"
  global/use_lvmlockd not found in config: defaulting to 0
  report/output_format not found in config: defaulting to "basic"
  log/report_command_log not found in config: defaulting to 0
  devices/use_devicesfile not found in config: defaulting to 0
  /dev/log: stat failed: No such file or directory
  devices/global_filter not found in config: defaulting to global_filter = [ "a|.*|" ]
  Setting devices/filter to filter = [ "a|^/mnt/.*|", "r|.*|" ]
  devices/global_filter not found in config: defaulting to global_filter = [ "a|.*|" ]
  Setting devices/filter to filter = [ "a|^/mnt/.*|", "r|.*|" ]
  devices/devicesfile not found in config: defaulting to "system.devices"
  Obtaining the complete list of VGs to process
  VG name on command line not found in list of VGs: ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d
  Processing VG ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d
  Locking /run/lock/lvm/V_ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d WB
  Unlocking /run/lock/lvm/V_ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d
  Volume group "ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d" not found
  Cannot process volume group ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d
  global/notify_dbus not found in config: defaulting to 1
[root@ca862389706c /]# echo $?
5
[root@ca862389706c /]# vi /etc/lvm/lvm.conf
[root@ca862389706c /]# vgchange -an -vv ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d
  global/use_lvmpolld not found in config: defaulting to 1
  devices/sysfs_scan not found in config: defaulting to 1
  devices/scan_lvs not found in config: defaulting to 0
  devices/multipath_component_detection not found in config: defaulting to 1
  devices/md_component_detection not found in config: defaulting to 1
  devices/fw_raid_component_detection not found in config: defaulting to 0
  devices/ignore_suspended_devices not found in config: defaulting to 0
  devices/ignore_lvm_mirrors not found in config: defaulting to 1
  devices/scan_lvs not found in config: defaulting to 0
  devices/allow_mixed_block_sizes not found in config: defaulting to 0
  devices/hints not found in config: defaulting to "all"
  activation/activation_mode not found in config: defaulting to "degraded"
  metadata/record_lvs_history not found in config: defaulting to 0
  devices/search_for_devnames not found in config: defaulting to "auto"
  activation/monitoring not found in config: defaulting to 1
  global/locking_type not found in config: defaulting to 1
  global/wait_for_locks not found in config: defaulting to 1
  global/prioritise_write_locks not found in config: defaulting to 1
  global/locking_dir not found in config: defaulting to "/run/lock/lvm"
  devices/md_component_detection not found in config: defaulting to 1
  devices/md_component_checks not found in config: defaulting to "auto"
  devices/multipath_wwids_file not found in config: defaulting to "/etc/multipath/wwids"
  global/use_lvmlockd not found in config: defaulting to 0
  report/output_format not found in config: defaulting to "basic"
  log/report_command_log not found in config: defaulting to 0
  devices/use_devicesfile not found in config: defaulting to 0
  /dev/log: stat failed: No such file or directory
  /dev/block/7:0: size is 2097152 sectors
  /dev/nbd0: size is 0 sectors
  /dev/nbd8: size is 0 sectors
  /dev/vda: size is 83886080 sectors
  /dev/block/7:1: size is 0 sectors
  /dev/vda1: size is 83883999 sectors
  /dev/block/7:2: size is 0 sectors
  /dev/block/7:3: size is 0 sectors
  /dev/block/7:4: size is 0 sectors
  /dev/block/7:5: size is 0 sectors
  /dev/block/7:6: size is 0 sectors
  /dev/block/7:7: size is 0 sectors
  /dev/vdb: size is 83886080 sectors
  /dev/nbd1: size is 0 sectors
  /dev/nbd9: size is 0 sectors
  /dev/vdc: size is 83886080 sectors
  /dev/vdd: size is 83886080 sectors
  /dev/nbd2: size is 0 sectors
  /dev/nbd10: size is 0 sectors
  /dev/nbd3: size is 0 sectors
  /dev/nbd11: size is 0 sectors
  /dev/nbd4: size is 0 sectors
  /dev/nbd12: size is 0 sectors
  /dev/nbd5: size is 0 sectors
  /dev/nbd13: size is 0 sectors
  /dev/nbd6: size is 0 sectors
  /dev/nbd14: size is 0 sectors
  /dev/nbd7: size is 0 sectors
  /dev/nbd15: size is 0 sectors
  devices/global_filter not found in config: defaulting to global_filter = [ "a|.*|" ]
  Setting devices/filter to filter = [ "a|^/mnt/.*|", "r|^/dev/loop.*|", "a|^/dev/.*|", "r|.*|" ]
  /dev/block/7:0: using cached size 2097152 sectors
  /dev/block/7:0: using cached size 2097152 sectors
  /dev/block/7:0: No lvm label detected
  /dev/vda: using cached size 83886080 sectors
  /dev/vda1: using cached size 83883999 sectors
  /dev/vda1: using cached size 83883999 sectors
  /dev/vda1: No lvm label detected
  /dev/vdb: using cached size 83886080 sectors
  /dev/vdb: using cached size 83886080 sectors
  /dev/vdc: using cached size 83886080 sectors
  /dev/vdc: using cached size 83886080 sectors
  /dev/vdd: using cached size 83886080 sectors
  /dev/vdd: using cached size 83886080 sectors
  devices/global_filter not found in config: defaulting to global_filter = [ "a|.*|" ]
  Setting devices/filter to filter = [ "a|^/mnt/.*|", "r|^/dev/loop.*|", "a|^/dev/.*|", "r|.*|" ]
  devices/devicesfile not found in config: defaulting to "system.devices"
  /dev/block/7:0: using cached size 2097152 sectors
  /dev/nbd0: using cached size 0 sectors
  /dev/nbd8: using cached size 0 sectors
  /dev/vda: using cached size 83886080 sectors
  /dev/block/7:1: using cached size 0 sectors
  /dev/vda1: using cached size 83883999 sectors
  /dev/block/7:2: using cached size 0 sectors
  /dev/block/7:3: using cached size 0 sectors
  /dev/block/7:4: using cached size 0 sectors
  /dev/block/7:5: using cached size 0 sectors
  /dev/block/7:6: using cached size 0 sectors
  /dev/block/7:7: using cached size 0 sectors
  /dev/vdb: using cached size 83886080 sectors
  /dev/nbd1: using cached size 0 sectors
  /dev/nbd9: using cached size 0 sectors
  /dev/vdc: using cached size 83886080 sectors
  /dev/vdd: using cached size 83886080 sectors
  /dev/nbd2: using cached size 0 sectors
  /dev/nbd10: using cached size 0 sectors
  /dev/nbd3: using cached size 0 sectors
  /dev/nbd11: using cached size 0 sectors
  /dev/nbd4: using cached size 0 sectors
  /dev/nbd12: using cached size 0 sectors
  /dev/nbd5: using cached size 0 sectors
  /dev/nbd13: using cached size 0 sectors
  /dev/nbd6: using cached size 0 sectors
  /dev/nbd14: using cached size 0 sectors
  /dev/nbd7: using cached size 0 sectors
  /dev/nbd15: using cached size 0 sectors
  Obtaining the complete list of VGs to process
  Processing VG ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d VxbTWs-fMrC-KErD-Pc2l-NBs6-xffp-7n1qab
  Locking /run/lock/lvm/V_ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d WB
  metadata/lvs_history_retention_time not found in config: defaulting to 0
  /dev/vdd: using cached size 83886080 sectors
  Running command for VG ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d VxbTWs-fMrC-KErD-Pc2l-NBs6-xffp-7n1qab
  Deactivating logical volume ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d/osd-block-058f4926-6ee7-4165-9a55-db5a1fd22d2f.
  activation/verify_udev_operations not found in config: defaulting to 0
  Getting driver version
  Removing ceph--a8ae9f01--a440--4a0e--8e4d--592d3bce3a9d-osd--block--058f4926--6ee7--4165--9a55--db5a1fd22d2f (252:2)
  Deactivated 1 logical volumes in volume group ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d.
  0 logical volume(s) in volume group "ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d" now active
  Unlocking /run/lock/lvm/V_ceph-a8ae9f01-a440-4a0e-8e4d-592d3bce3a9d
  global/notify_dbus not found in config: defaulting to 1
[root@ca862389706c /]# echo $?
0
```

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 1bcb884571)
2022-06-16 13:55:58 +00:00
Sébastien Han 96989adf0e osd: do not return if deactivate fail
Let it fail further once we run c-v activate. The error reported by LVM
could potentially ignored. If there is a failure, the c-v command will
fail anyways.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit bfe4f7c111)
2022-06-16 13:55:58 +00:00
parth-gr 745fbf486d docs: update ceph external cluster flags
Some optional Flags are already added
for external script but not documented,
So to expose the functionality to users
adding them to the doc list

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 65a0d81d00)
2022-06-16 09:33:44 +00:00
mergify[bot] 251125fc6b Merge pull request #10453 from rook/mergify/bp/release-1.9/pr-10448
docs: Remove obsolete limitation from multus docs (backport #10448)
2022-06-16 08:06:16 +00:00
Travis Nielsen d5e537c116 docs: remove obsolete limitation from multus docs
With the new holder pod that was implemented for the csi
driver to maintain a consistent network endpoint across
csi plugin restarts, there is no longer a limitation
that needs to be documented.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b5f57f7124)
2022-06-16 07:38:26 +00:00
Blaine Gardner 66b3b5d3ba Merge pull request #10439 from parth-gr/backport-external-sc
csi: make storage class updated with csi-users in external cluster (backport #10278)
2022-06-14 09:24:37 -06:00
parth-gr 82cdc5b94e csi: make storage class updated with csi-users in external cluster
For using restricted auth users we need to update the
restricted users in the Storage class, so updating
it in the json output for external cluster

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b7c165b411)
Signed-off-by: parth-gr <paarora@redhat.com>
2022-06-13 18:30:07 +05:30
parth-gr 5ac9624e80 csi: update restricted auth flag
remove the restriction of per rados namespace as
there can be multiple namespaces and the csi-users
can only have 1 type in a storage class

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit dcba689129)
2022-06-13 18:24:42 +05:30