It seems GitHub has an issue with the Fedora 40 container image,
extracting the Golang tarball fails. The Fedora 39 image does not have
this problem, so use that for the time being.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 60e2527917262349676d09d4678003f7beec3cf7)
use rbd secret for rbd storageclass
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 9fb374328077daf791526b1e48f5c07cbf84db34)
added volumesnapshotclasses yaml and script for
external-storage test
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 307a2f130b25ec4933bffc503fedd56343562da1)
the chart currently lacks access to configmap and secrets
this causes the mounting of encrypted file systems to fail
Signed-off-by: NymanRobin <nyman.robin@gmail.com>
(cherry picked from commit 5224d58c130d08db5b1bf79e0d2c1aaedf28a923)
allow to change value of fsGroupPolicy parameter for CSI Driver spec
Signed-off-by: maximus13th <maxym.pariy@gmail.com>
(cherry picked from commit 51decb097c25561f9f615e4795d972db9cc8f784)
This commit logs sitestatues and description in
GetVolumeReplicationInfo RPC call for better
debuging.
Fixes: #4430
Signed-off-by: Yati Padia <ypadia@redhat.com>
(cherry picked from commit fbaf9d548543652066bb06b8d5d406aab83257df)
currently we are not logging the RequestID
for the replication RPC calls. This PR
adds the replication case to the getReqID
function.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 4e296bf65e37e1141481f29c85371683c07c48f6)
Signed-off-by: Niels de Vos <ndevos@ibm.com>
fsName is optional and its required
to mount the filesystem incase if we have
multiple filesystem in the cluster.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 200fbdbf28591c404a85888d8bfc9561fa23dbb8)
added e2e test case to verify static
pvc with and without fsName in the PV
object.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit e008e1609551a58460cb9857e8c6f97bb60fec09)
consider fsName optional for static volume
as it is not required to be set during mount
operation with fuse and kernel client.
fixes: #4311
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 1d176004014ddc18ea9f3d86ce2593e5b475d183)
By reading the contents of /proc/filesystems, and checking if "ceph" is
included there, running "modprobe ceph" can be skipped.
Fixes: #4376
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit ab87045afb0c15ca4d30ae01003ed0f331843181)
Sometimes the Ceph container images seem to have a broken scriptlet
while installing/updating Ceph packages. It is relatively common for
them to fail when `/etc/selinux/config` does not exist. By ensuring the
file directory and file exist (even if empty), the package installation
or upgrades succeed.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 24d6b5fe3fa9aa54a138a6ef91dede253902ee76)
The image is now available in the release repository and can be fetched from
there instead of the staging repository.
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
(cherry picked from commit b25a02e0dfd22d38bf7c9f69cdbae09871996072)
this commit replaces user id requirement with
admin id
Signed-off-by: Riya Singhal <rsinghal@redhat.com>
(cherry picked from commit 51faa2ad7f218cd317827cc308f714d91db58c60)
node labels are fetched only if controller is running in k8s and is nodeserver
Signed-off-by: Jan Nemcik <jan.nemcik@solargis.com>
(cherry picked from commit 344354637056cd27a79ec2fd77b132639101e468)
added permission to get nodes for rbd and cephfs nodeplugin daemonset
Signed-off-by: Jan Nemcik <jan.nemcik@solargis.com>
(cherry picked from commit 1fb6d8f891f7414ee5ba4520d2077aeea9a73c1e)
This is to pre-emptively add check for EAGAIN error returned from
ceph as part of https://github.com/ceph/ceph/pull/52670 if all the
clone threads are busy and return csi compatible error.
Fixes: #3996
Signed-off-by: karthik-us <ksubrahm@redhat.com>
This commit exposes CSI ConfigMap over an API.
This will allow projects like Rook to consume CSI configMap
directly from Ceph-CSI.
Signed-off-by: Praveen M <m.praveen@ibm.com>
The ceph fs subvolume resize support is available
in all the active ceph releases. Hence removing the
code to check the supportability of the feature.
Signed-off-by: karthik-us <ksubrahm@redhat.com>
this commit updates the version of go-ceph imported to
latest, so we can make use of github.com/ceph/go-ceph/cephfs
Signed-off-by: Riya Singhal <rsinghal@redhat.com>
This commit makes use of crush location labels from node
labels to supply `crush_location` and `read_from_replica=localize`
options during mount. Using these options, cephfs
will be able to redirect reads to the closest OSD,
improving performance.
Signed-off-by: Praveen M <m.praveen@ibm.com>