Repository navigation
umbrella: qa/d4n: Import valkey as redis - #71451
adamemerson wants to merge 3 commits into
Conversation
Signed-off-by: Samarah Uriarte <[email protected]> (cherry picked from commit 0ba47aa) Fixes: https://tracker.ceph.com/issues/80026 Signed-off-by: Adam C. Emerson <[email protected]>
Signed-off-by: Samarah Uriarte <[email protected]> (cherry picked from commit 3bdad5d) Fixes: https://tracker.ceph.com/issues/80026 Signed-off-by: Adam C. Emerson <[email protected]>
Signed-off-by: Samarah Uriarte <[email protected]> (cherry picked from commit 00c6217) Fixes: https://tracker.ceph.com/issues/80026 Signed-off-by: Adam C. Emerson <[email protected]>
There was a problem hiding this comment.
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.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
This PR has been added to wip-yuri11-testing-20260831.192120-umbrella. |
There was a problem hiding this comment.
why did this pr remove something from qa/distros/supported-random-distro? that applies across all suites
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
@cbodley What is the simplest/cleanest way to remove this change from main and this backport?
There was a problem hiding this comment.
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?
chardan
left a comment
There was a problem hiding this comment.
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.
| 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? |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
| #include <errno.h> | ||
| namespace efs = std::filesystem; |
There was a problem hiding this comment.
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.)
| try { | ||
| efs::space_info space = efs::space(partition_info.location); | ||
| this->free_space = space.available; | ||
| } catch (const efs::filesystem_error& e) { |
There was a problem hiding this comment.
As this is actually std::filesystem::filesystem_error, I did a bit of a double-take. It is the correct type to catch, though.
| } 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? |
There was a problem hiding this comment.
Should we return? Is it a bug when something above has failed to go into the section below..?
|
Removing this as a v21.1.1 blocker because of the QA change to drop Ubuntu 22.04. This will need more work. |
chardan
left a comment
There was a problem hiding this comment.
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!
| 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? |
There was a problem hiding this comment.
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.
|
@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 |
|
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.