Skip to content

Conversation

nixpanic
Copy link
Member

@nixpanic nixpanic commented Feb 6, 2025

The Gluster project has not has a release in a few years, maintenance slowed down to the point it is almost standing still. Heketi as component for deploying parts of the storage platform has been archived in 2023.

Providing the storage-provisioner-gluster addon might give users the wrong expectations. There is no guarantee Gluster is working with recent minikube versions.

Migration away from GlusterFS

The last minikube release that contains the storage-provisioner-gluster addon is minikube v1.36.0. Because both the plugin and Gluster itself have not seen much maintenance, there is no guarantee that it works.

It is recommended to move data from Gluster PersistentVolumes to an other storage platform before upgrading to minikube v1.37. In order to do so, use a minikube version (<= 1.36) that contained the addon.


Updates: #20369

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 6, 2025
@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Feb 6, 2025
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 7, 2025
@nixpanic
Copy link
Member Author

nixpanic commented May 7, 2025

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 7, 2025
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 24, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: nixpanic
Once this PR has been reviewed and has the lgtm label, please assign prezha for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 26, 2025
@nixpanic
Copy link
Member Author

/retest

Jobs failed immediately while setting up Go.

@nixpanic nixpanic force-pushed the issue/20369 branch 2 times, most recently from 87944d5 to c55d0dd Compare May 26, 2025 11:42
@nirs
Copy link
Contributor

nirs commented May 27, 2025

@nixpanic do we have anything in the iso to support gluster that can be removed as well?

I see you already handled it.

@nixpanic
Copy link
Member Author

nixpanic commented Jul 8, 2025

@medyagh, do you have an opinion on removing the addon? Is it needed to report a deprecation message to users first (how? got an example?).

Thanks!

@nirs
Copy link
Contributor

nirs commented Jul 24, 2025

@medyagh gluster seems to be the reason why the iso build requires python2, which blocks us from moving to more modern build environment (24.04, Fedora, ...).

@wt
Copy link

wt commented Jul 24, 2025

I looked over the change. Seems more or less reasonable. Looks like it needs a rebase. Is @nixpanic able to do that?

@wt
Copy link

wt commented Jul 24, 2025

FWIW, gluster is dead. I would just remove all traces of it and maybe add a changelog for the fact that gluster was dropped and that you can continue to use older releases if you need to finish a migration.

@wt
Copy link

wt commented Jul 24, 2025

@nixpanic Can you please add an entry to the changelog indicating that gluster was removed and whatever the latest version is that supports it can be used to finish any kind of migration off of it?

@nixpanic
Copy link
Member Author

@nixpanic Can you please add an entry to the changelog indicating that gluster was removed and whatever the latest version is that supports it can be used to finish any kind of migration off of it?

Thanks for the suggestion, but I am not sure where to place it. The changelog seems to be generated from the merged PRs. I'll update the title of this PR a bit, and leave a message about migration in the description.

@nixpanic nixpanic changed the title remove stale storage-provisioner-gluster addon remove unmaintained storage-provisioner-gluster addon Jul 25, 2025
@nirs
Copy link
Contributor

nirs commented Jul 25, 2025

ok-to-build-iso

Copy link
Contributor

@nirs nirs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Need to wait for the iso build and run the tests with the new iso.

@minikube-bot
Copy link
Collaborator

Hi @nixpanic, we have updated your PR with the reference to newly built ISO. Pull the changes locally if you want to test with them or update your PR further.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 29, 2025
The Gluster project has not has a release in a few years, maintenance
slowed down to the point it is almost standing still. Heketi as
component for deploying parts of the storage platform has been archived
in 2023.

Providing the storage-provisioner-gluster addon might give users the
wrong expectations. There is no guarantee Gluster is working with recent
minikube versions.
@nixpanic
Copy link
Member Author

I'm going to rebase this, and drop the iso-update commit (as that has the conflict). Tests with the iso that is built from this PR look good. A screenshot for the archives:
image

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 30, 2025
@nixpanic nixpanic requested a review from nirs July 30, 2025 08:34
@nirs
Copy link
Contributor

nirs commented Aug 31, 2025

Fixex #21441

@nirs
Copy link
Contributor

nirs commented Aug 31, 2025

@nixpanic we still build glusters as part of the iso. This package requires python2 so we must build the issue on Ubuntu 22.04.

% git grep GLUSTER
deploy/iso/minikube-iso/package/gluster/Config.in:config BR2_PACKAGE_GLUSTER
deploy/iso/minikube-iso/package/gluster/gluster.mk:GLUSTER_VERSION = 4.1.5
deploy/iso/minikube-iso/package/gluster/gluster.mk:GLUSTER_SITE = https://download.gluster.org/pub/gluster/glusterfs/01.old-releases/4.1/$(GLUSTER_VERSION)
deploy/iso/minikube-iso/package/gluster/gluster.mk:GLUSTER_SOURCE = glusterfs-$(GLUSTER_VERSION).tar.gz
deploy/iso/minikube-iso/package/gluster/gluster.mk:GLUSTER_CONF_OPTS = --disable-tiering --disable-ec-dynamic --disable-xmltest --disable-crypt-xlator --disable-georeplication --disable-ibverbs --disable-glupy --disable-gnfs --disable-cmocka --without-server
deploy/iso/minikube-iso/package/gluster/gluster.mk:GLUSTER_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install

Do we have any reason to keep building gluster in the iso?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants