Commit Graph
8714 Commits
Author SHA1 Message Date
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
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
mergify[bot] 7fda815ec8 Merge pull request #10436 from rook/mergify/bp/release-1.9/pr-10405
mon: update node labels as per new key value (backport #10405)
2022-06-10 14:29:04 +00:00
Humble Chirammal b439d46d27 mon: update node labels as per new key value
From kube v1.24 onwards, Kubeadm applies a "node-role" label to its
control plane Nodes.Currently this label key is node-role.kubernetes.io/master
and it will be renamed to node-role.kubernetes.io/control-plane. Kubeadm
also uses the same "node-role" as key for a taint it applies on control
plane Nodes. This taint key should also be renamed to
"node-role.kubernetes.io/control-plane".

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 750faa5747)
2022-06-10 14:03:58 +00:00
Travis Nielsen f40cacd0f8 Merge pull request #10430 from travisn/release-1.9.5
build: Update release version to v1.9.5
v1.9.5
2022-06-09 12:31:01 -06:00
Travis Nielsen 6d78b414dd build: update release version to v1.9.5
For the patch release update the examples and docs
to v1.9.5

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-09 11:26:29 -06:00
Travis Nielsen 4c7333624b Merge pull request #10426 from rook/mergify/bp/release-1.9/pr-10424
csi: update cephcsi from 3.6.1 to 3.6.2 (backport #10424)
2022-06-09 09:53:38 -06:00
Madhu Rajanna c52b8aa759 csi: update cephcsi from 3.6.1 to 3.6.2
As we have new cephcsi patch release i.e v3.6.2
updating Rook dependency to the same.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 3e70d278cb)
2022-06-09 09:01:16 -06:00
Travis Nielsen 2a71f13288 Merge pull request #10422 from subhamkrai/bp-10399
external: format python files using tool black
2022-06-09 07:56:29 -06:00
subhamkrai 5ebc27c0a0 core: format python files using tool black
`black` is python formatter tool which
automatically formats python files without
manual changing. just run `black <python-file>`
and done.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 00f21c0866)
Signed-off-by: subhamkrai <srai@redhat.com>
2022-06-09 13:10:17 +05:30
Sébastien Han 23e8aa8960 Merge pull request #10421 from subhamkrai/bp-10350
external-script: remove signature import
2022-06-09 09:22:11 +02:00
subhamkrai e5eadcf1e2 core: clean the import section
import all the libraries at top.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c8f11f3e62)
2022-06-09 12:17:41 +05:30
subhamkrai 6b119d6920 core: remove signature import
remove signature import as it is not required.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 60bf1f6e1c)
2022-06-09 12:17:33 +05:30
Satoru Takeuchi 95e9877e3e Merge pull request #10418 from rook/mergify/bp/release-1.9/pr-10333
test: Fix encrypted OSDs on latest Ceph releases and add canary test for encrypted osd in host-based cluster (backport #10333)
2022-06-09 10:51:04 +09:00
Satoru Takeuchi e9a50d370a test: add canary test for encrypted osd in host-based clusters
It's better to test the creation of encrypted devices in host-based clusters.
This test will reduce the potential risks of regression when modifying
the osd-creation code.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 6b0f539f61)
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-06-09 00:33:30 +00:00
Satoru Takeuchi dd1b3a0d19 osd: bypass ceph-conf validation failure in osd activation
"ceph.conf" must have the "fsid" global configuration to activate encrypted OSDs
after the following Ceph's PR is merged.

https://github.com/ceph/ceph/commit/25655e5a8829e001adf467511a6bde8142b0a575

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 66f745f11f)
2022-06-08 23:17:40 +00:00
mergify[bot] 6db90abba4 Merge pull request #10417 from rook/mergify/bp/release-1.9/pr-10341
core: Report basic cluster and version telemetry (backport #10341)
2022-06-08 17:16:55 +00:00
Travis Nielsen d4a7438897 core: report basic cluster and version telemetry
For the ceph telemetry report the csi version, k8s version,
and metrics from the desired state in the cephcluster CR such
as mon count, stretch cluster, number of device sets, and
so on.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit fe989ad773)
2022-06-08 10:51:36 -06:00
mergify[bot] 5035c6b0df Merge pull request #10407 from rook/mergify/bp/release-1.9/pr-10306
csi: update sidecar to latest release (backport #10306)
2022-06-07 19:10:24 +00:00
Madhu Rajanna 62e3665a8d csi: update sidecar to latest release
updating node-driver-registrar to v2.5.1 release
, nfsplugin to 4.0.0 and csi-snapshotter to v6.0.1

Note:- with snapshotter v6.0.1 v1beta1 snapshot CRD
is not supported. If you want betav1 snapshot support
please switch to v5.x.x snapshotter.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 767cfcbf09)
2022-06-07 12:43:22 -06:00
mergify[bot] 323fdb6f09 Merge pull request #10409 from rook/mergify/bp/release-1.9/pr-10342
ceph: Add holder pod if csi host networking is disabled (backport #10342)
2022-06-07 16:46:04 +00:00
Madhu Rajanna 6b37d9e9d1 csi: add holder pod if csi hostnetworking is disabled
If csi is configured not the use the
hostnetworking, deploy the holder
pod for executing the commands with nsenter.
The implementation is same as multus.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 276005cfd5)
2022-06-07 16:17:09 +00:00
Travis Nielsen 79243e1da1 Merge pull request #10388 from rook/mergify/bp/release-1.9/pr-10383
osd: ignore the region label when it is the same as zone label in topology (backport #10383)
2022-06-06 15:21:40 -06:00
Travis Nielsen c9ec2e86d9 Merge pull request #10401 from rook/mergify/bp/release-1.9/pr-10116
csi: Change sidecar images repo to registry.k8s.io (backport #10116)
2022-06-06 15:20:45 -06:00
Madhu Rajanna d15d61e44e csi: change sidecar images repo to new link
Change sidecar images repo to registry.k8s.io
which is a redirect to k8s.gcr.io.

Ref: https://github.com/kubernetes/k8s.io/wiki/
New-Registry-url-for-Kubernetes-(registry.k8s.io)

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 15da42cf0c)
2022-06-06 12:50:03 -06:00
mergify[bot] b4923adde4 Merge pull request #10393 from rook/mergify/bp/release-1.9/pr-10373
osd: do not hide the error (backport #10373)
2022-06-06 07:57:59 +00:00
mergify[bot] 0f99198aff Merge pull request #10392 from rook/mergify/bp/release-1.9/pr-10380
csi: do not block the reconcile if all clusters are not ready (backport #10380)
2022-06-06 07:51:58 +00:00
Sébastien Han fcf7943883 osd: do not hide the error
Return the error instead of hiding it, err could be non-nil for a lot of
reasons, eg: a canceled context or a non-existing object.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 219e017564)
2022-06-06 07:31:19 +00:00