diff --git a/deploy/cephcsi/image/Dockerfile b/deploy/cephcsi/image/Dockerfile index 741b6716851..6023c904c03 100644 --- a/deploy/cephcsi/image/Dockerfile +++ b/deploy/cephcsi/image/Dockerfile @@ -4,11 +4,6 @@ ARG BASE_IMAGE FROM ${BASE_IMAGE} as updated_base -# TODO: remove the following cmd, when issue -# https://github.com/ceph/ceph-container/issues/2034 is fixed. -RUN dnf config-manager --disable \ - tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true - RUN dnf -y update \ && dnf clean all \ && rm -rf /var/cache/yum @@ -34,6 +29,11 @@ RUN source /build.env && \ # test if the downloaded version of Golang works (different arch?) RUN ${GOROOT}/bin/go version && ${GOROOT}/bin/go env +# TODO: remove the following cmd, when issue +# https://github.com/ceph/ceph-container/issues/2034 is fixed. +RUN dnf config-manager --disable \ + tcmu-runner,tcmu-runner-source,tcmu-runner-noarch || true + RUN dnf -y install --nodocs \ librados-devel librbd-devel \ /usr/bin/cc \ diff --git a/internal/rbd/nodeserver.go b/internal/rbd/nodeserver.go index 25f51b35c12..825f9bc61a7 100644 --- a/internal/rbd/nodeserver.go +++ b/internal/rbd/nodeserver.go @@ -512,14 +512,6 @@ func resizeNodeStagePath(ctx context.Context, if err != nil { return status.Error(codes.Internal, err.Error()) } - - // If this is a AccessType=Block volume, do not attempt - // filesystem resize. The application is in charge of the data - // on top of the raw block-device, we can not assume there is a - // filesystem at all. - if isBlock { - return nil - } } // check stagingPath needs resize. ok, err = resizer.NeedResize(devicePath, stagingTargetPath) diff --git a/scripts/Dockerfile.devel b/scripts/Dockerfile.devel index 99ad3114ca3..b28bb6d79b4 100644 --- a/scripts/Dockerfile.devel +++ b/scripts/Dockerfile.devel @@ -17,11 +17,6 @@ RUN source /build.env \ && mkdir -p /usr/local/go \ && curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${GOARCH}.tar.gz | tar xzf - -C ${GOROOT} --strip-components=1 -# TODO: remove the following cmd, when issue -# https://github.com/ceph/ceph-container/issues/2034 is fixed. -RUN dnf config-manager --disable \ - tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true - RUN dnf -y install \ git \ make \