Skip to content

Add health warning for deprecated EC plugins and techniques - #69026

Merged
SrinivasaBharath merged 3 commits into
ceph:mainfrom
jamiepryde:ec-profile-deprecation-warning
Jun 1, 2026
Merged

SrinivasaBharath merged 3 commits into
ceph:mainfrom
jamiepryde:ec-profile-deprecation-warning

Conversation

@jamiepryde

Copy link
Copy Markdown
Contributor

We want to reduce the number of EC plugins and techniques we support in order to focus dev and test effort on the ones that are most useful.

We are deprecating the following plugins and techniques in Umbrella, and dropping support for them in the V release:

  • shec
  • clay
  • all non-reed_sol_van jerasure techniques

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

We want to reduce the number of EC plugins and techniques we support
in order to focus dev and test effort on the ones that are most
useful.

We are deprecating the following plugins and techniques in Umbrella,
and dropping support for them in the V release:
* shec
* clay
* all non-reed_sol_van jerasure techniques

This commit adds a health checker to print a warning message if the cluster
is using any of the deprecated plugins/techniques and instructs the user
to migrate objects to a different pool.

Signed-off-by: Jamie Pryde <[email protected]>
@jamiepryde
jamiepryde requested review from a team as code owners May 20, 2026 14:59
@jamiepryde
jamiepryde requested review from aainscow and batrick May 20, 2026 15:00
@jamiepryde jamiepryde changed the title Ec profile deprecation warning Add health warning for deprecated EC plugins and techniques May 20, 2026
@bluikko

bluikko commented May 21, 2026

Copy link
Copy Markdown
Contributor

If a health warning will be raised, should a relevant entry be added in the health checks doc?

We want to reduce the number of EC plugins and techniques we support
in order to focus dev and test effort on the ones that are most
useful.

We are deprecating the following plugins and techniques in Umbrella,
and dropping support for them in the V release:
* shec
* clay
* all non-reed_sol_van jerasure techniques

This commit updates the documentation to reflect these changes.

Signed-off-by: Jamie Pryde <[email protected]>
@jamiepryde
jamiepryde force-pushed the ec-profile-deprecation-warning branch from 98b84b6 to ce1cbb1 Compare May 21, 2026 15:55
@jamiepryde

Copy link
Copy Markdown
Contributor Author

If a health warning will be raised, should a relevant entry be added in the health checks doc?

Good point. I have added an entry. I think we will want to update this to also point to the pool migration documentation once that is added.

Comment thread src/mon/HealthMonitor.cc
ss << "1 or more EC profiles are using a plugin and/or technique that are "
<< "deprecated in the Umbrella release. This will be unsupported in the V release. "
<< "Migrate objects to a new pool that uses a supported plugin and technique. ";
auto &d = checks->add("DEPRECATED_EC_PLUGIN", HEALTH_WARN, ss.str(), deprecated_details.size());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OK!

@batrick batrick added this to the umbrella milestone May 26, 2026
@batrick

batrick commented May 26, 2026

Copy link
Copy Markdown
Member

Please share regular updates on this umbrella branch blocker in #ceph-upstream-releases-umbrella on Slack.

@rzarzynski

Copy link
Copy Markdown
Contributor

jenkins test make check

@ljflores ljflores left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hey @jamiepryde, the following errors were found in teuthology related to this PR:

/a/skanta-2026-05-27_06:21:57-rados-wip-bharath4-testing-2026-05-27-1003-distro-default-trial/

Failure: "2026-05-27T07:56:37.242364+0000 mon.c (mon.2) 205 : cluster [WRN] Health check failed: 1 or more EC profiles are using a plugin and/or technique that are deprecated in the Umbrella release. This will be unsupported in the V release. Migrate objects to a new pool that uses a supported plugin and technique.  (DEPRECATED_EC_PLUGIN)" in cluster log
9 jobs: ['240002', '240095', '239890', '239943', '240056', '239837', '239888', '239973', '239993']

It looks like this is an expected health warning, and not a major regression, but my guess is that it needs to be added to the ignorelist.

Testing ref: https://tracker.ceph.com/issues/76931

Add DEPRECATED_EC_PLUGIN to the list of health warnings to
ignore in the thrash-erasure-code-* tests that use deprecated
plugins or techniques. It is expected that this warning will
be raised.

Signed-off-by: Jamie Pryde <[email protected]>
@jamiepryde

Copy link
Copy Markdown
Contributor Author

@SrinivasaBharath I have pushed a new commit. Could you do another QA run for this now please?

@ljflores

Copy link
Copy Markdown
Member

@jamiepryde I rescheduled the failing tests against your new change. You can follow the progress here: https://tracker.ceph.com/issues/76931

@jamiepryde

Copy link
Copy Markdown
Contributor Author

@jamiepryde I rescheduled the failing tests against your new change. You can follow the progress here: https://tracker.ceph.com/issues/76931

Thanks!

@ljflores

ljflores commented Jun 1, 2026

Copy link
Copy Markdown
Member

@SrinivasaBharath
SrinivasaBharath merged commit ad14e4a into ceph:main Jun 1, 2026
6 checks passed
@batrick batrick modified the milestones: umbrella, v21.1.1 Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants