Skip to content

umbrella: qa/d4n: Import valkey as redis - #71451

Closed
adamemerson wants to merge 3 commits into
ceph:umbrellafrom
adamemerson:wip-78204-umbrella
Closed

adamemerson wants to merge 3 commits into
ceph:umbrellafrom
adamemerson:wip-78204-umbrella

Conversation

@adamemerson

@adamemerson adamemerson commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Original tracker: https://tracker.ceph.com/issues/78204
Original PR: #68193
Official backport tracker: https://tracker.ceph.com/issues/80026

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.

@adamemerson
adamemerson requested a review from a team as a code owner August 31, 2026 19:30
@github-actions github-actions Bot added this to the umbrella milestone Aug 31, 2026
@adamemerson
adamemerson requested a review from samarahu August 31, 2026 19:31

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ceph Release Engineering Audit Report

Automated Redmine Linkage Audit

The following tracking irregularities were found:

  • Missing PR Link: Backport tracker #79473 has no 'Pull Request ID' field set. Please link it to PR #71451.

Commit Parity Visualizer

BACKPORT PR #71451 SOURCE PR SOURCE STATUS
0857e88 qa/d4n: Import valkey as redis and fix installation PR #68193 0ba47aa qa/d4n: Import valkey as redis and fix installation
6f79c19 rgw/d4n: Move efs::space call so it's within try-catch block 3bdad5d rgw/d4n: Move efs::space call so it's within try-catch block
6d994a1 qa/d4n: Fix suite setting 00c6217 qa/d4n: Fix suite setting

🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Aug 31, 2026
@yuriw

yuriw commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri11-testing-20260831.192120-umbrella.

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.

why did this pr remove something from qa/distros/supported-random-distro? that applies across all suites

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.

ubuntu 22 was going away on main eventually, but we were waiting for the vampire kickoff pr to do that

but umbrella still has to support it (ref https://docs.ceph.com/en/latest/start/os-recommendations/#platforms)

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.

@cbodley What is the simplest/cleanest way to remove this change from main and this backport?

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.

ubuntu 22 was going away on main eventually, but we were waiting for the vampire kickoff pr to do that

i'm not sure it's worth the effort to revert that qa/distros change on main, given that we were planning to drop it anyway. what do you think @batrick?

@cbodley cbodley mentioned this pull request Aug 31, 2026
4 of 14 tasks

@chardan chardan left a comment

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.

Looks pretty good, but there is a bit of a semantic question about return values that probably should be settled, at least with a comment.

Comment thread src/rgw/rgw_ssd_driver.cc
this->free_space = space.available;
} catch (const efs::filesystem_error& e) {
ldpp_dout(dpp, 0) << "initialize::: ERROR initializing the cache storage space info: " << e.what() << dendl;
//return -EINVAL; Should return error from here?

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.

That's a good question-- should we? Since we're catching std::filesystem::filesystem_error, it may be worth pointing out that the code() member provides specific information that could be used to figure out what to return.

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.

The only other try-block in the function looks like it was pretty much cut-and-pasted here with the comment. That suggests to me that rather than repeating what looks like a bit of a problem, it might be worth considering a function-level try-block (i.e. void f() try { } catch(...) {}) to be sure things aren't leaked, or a function-body level block that accomplishes the same thing with less syntactic force (or less syntactic "gotcha", depending on your reader and their outlook on life). Might be worth thinking about.

As-written, it happily doesn't mention the failure to the caller, and perhaps that's the right thing to do?

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.

Since this is probably low-risk (and has passed tests/QA/etc. before backport) and looks to me like it should log the message correctly and keep it's behavior as it already is, I'll file a bug report and pass it-- apologies for the point-of-process confusion.

Comment thread src/rgw/rgw_ssd_driver.cc
Comment on lines 15 to 16
#include <errno.h>
namespace efs = std::filesystem;

@chardan chardan Aug 31, 2026 •

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.

I'm not sure this accomplishes much besides hiding std::filesystem (or saving "typing with the fingers")-- totally fine, but also can lead to some confusion. What does "e" mean, for instance? More common is "fs".
(I know this isn't part of the change and the changed code just follows suit, but it is worth wondering about as it did send me looking up the type.)

Comment thread src/rgw/rgw_ssd_driver.cc
try {
efs::space_info space = efs::space(partition_info.location);
this->free_space = space.available;
} catch (const efs::filesystem_error& e) {

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.

As this is actually std::filesystem::filesystem_error, I did a bit of a double-take. It is the correct type to catch, though.

Comment thread src/rgw/rgw_ssd_driver.cc
} catch (const efs::filesystem_error& e) {
ldpp_dout(dpp, 0) << "initialize::: ERROR initializing the cache storage directory '" << partition_info.location <<
"' : " << e.what() << dendl;
//return -EINVAL; Should return error from here?

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.

Should we return? Is it a bug when something above has failed to go into the section below..?

@batrick batrick modified the milestones: umbrella, v21.1.1 Sep 1, 2026
@batrick

batrick commented Sep 1, 2026

Copy link
Copy Markdown
Member

Removing this as a v21.1.1 blocker because of the QA change to drop Ubuntu 22.04. This will need more work.

@batrick batrick modified the milestones: v21.1.1, umbrella Sep 1, 2026

@chardan chardan left a comment

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.

This is not going to change the semantics of the error behavior from what's already there-- the code will log the message and continue, which is what's already happening, so it's more of a matter of resolving the semantic question and deciding whether or not (and what) to return-- as this is a backport I'll file a bug rather than holding up the works here, sorry for any confusion!

Comment thread src/rgw/rgw_ssd_driver.cc
this->free_space = space.available;
} catch (const efs::filesystem_error& e) {
ldpp_dout(dpp, 0) << "initialize::: ERROR initializing the cache storage space info: " << e.what() << dendl;
//return -EINVAL; Should return error from here?

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.

Since this is probably low-risk (and has passed tests/QA/etc. before backport) and looks to me like it should log the message correctly and keep it's behavior as it already is, I'll file a bug report and pass it-- apologies for the point-of-process confusion.

@cbodley

cbodley commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

@adamemerson @samarahu assuming that d4n is still very much experimental, it probably isn't worth the effort to maintain its test suite in tentacle/umbrella. after tentacle forked, we had removed the d4n subsuite in #63213 but it got added back later. consider removing it from stable release branches until it's a supported feature?

@chardan

chardan commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

@samarahu

samarahu commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

@adamemerson @samarahu assuming that d4n is still very much experimental, it probably isn't worth the effort to maintain its test suite in tentacle/umbrella. after tentacle forked, we had removed the d4n subsuite in #63213 but it got added back later. consider removing it from stable release branches until it's a supported feature?

I agree with this. I can open a new PR that removes the D4N subsuite, but which branch should it be against?

@cbodley

cbodley commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

@adamemerson @samarahu assuming that d4n is still very much experimental, it probably isn't worth the effort to maintain its test suite in tentacle/umbrella. after tentacle forked, we had removed the d4n subsuite in #63213 but it got added back later. consider removing it from stable release branches until it's a supported feature?

I agree with this. I can open a new PR that removes the D4N subsuite, but which branch should it be against?

against umbrella please

@samarahu

samarahu commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

@adamemerson @samarahu assuming that d4n is still very much experimental, it probably isn't worth the effort to maintain its test suite in tentacle/umbrella. after tentacle forked, we had removed the d4n subsuite in #63213 but it got added back later. consider removing it from stable release branches until it's a supported feature?

I agree with this. I can open a new PR that removes the D4N subsuite, but which branch should it be against?

against umbrella please

@cbodley Here is the PR: #71470

@adamemerson adamemerson closed this Sep 3, 2026
@adamemerson
adamemerson deleted the wip-78204-umbrella branch September 3, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releng-audit-fail Release engineering: failed backport verification audit. rgw tests wip-yuri11-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants