Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GlusterFS missing in OKD 4.12 #1537

Closed
danijelt opened this issue Mar 16, 2023 · 1 comment
Closed

GlusterFS missing in OKD 4.12 #1537

danijelt opened this issue Mar 16, 2023 · 1 comment

Comments

@danijelt
Copy link

FCOS in OKD 4.12 is missing GlusterFS packages, so the gluster PVs can't be mounted anymore and the containers are stuck in ContainerCreating state, with glusterfs mount errors in event log.

I'm aware that GlusterFS support has been stale for a while now both in Kubernetes and OpenShift, but this abrupt undocumented removal could cause issues for some users.

Kubernetes 1.25 did deprecate GlusterFS (more details here), but release notes for OKD 4.12 don't mention anywhere that glusterfs and glusterfs-fuse packages are not installed by default so this behavior is unexpected.

This can be worked around by installing glusterfs and glusterfs-fuse packages via FCOS image layering mechanism described here. Example configuration for 4.12.0-0.okd-2023-03-05-022504:

FROM quay.io/openshift/okd-content@sha256:{HASH_FOR_INSTALLED_VERSION}

RUN rpm-ostree install -y glusterfs glusterfs-fuse && \
    rpm-ostree cleanup -m && \
    ostree container commit
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
  labels:
    machineconfiguration.openshift.io/role: worker 
  name: os-layer-hotfix
spec:
  osImageURL: {CUSTOM_IMAGE_URL}

This change should either be reverted to include GlusterFS until upstream Kubernetes removes it, or clearly document it and warn users before the upgrade.

@vrutkovs
Copy link
Member

vrutkovs commented May 22, 2023

These RPMs were installed to pass conformance tests, so its a coincidence that you could use GlusterFS in-tree driver without additional packages. This was never mentioned in the documentation afaik, if it is we'll need to remove these mentions

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants