Repository navigation
qa/d4n: Fix valkey installation fallback on Debian-based distros - #71293
Conversation
The d4n suite failed on Ubuntu because it was looking for valkey, while Ubuntu provides it as valkey-server. Updated the install to use Ubuntu’s valkey-server package and removed the unnecessary Percona fallback. Also now let systemd start Valkey instead of starting it manually. This avoids conflicts on port 6379 and prevents false success reports before the server is actually ready. Signed-off-by: Oguzhan Ozmen <[email protected]>
8343634 to
1afb18a
Compare
|
@adamemerson / @samarahu - I tested the original (1st) fix (see https://pulpito.ceph.com/?sha1=45be1a834d2ba184228f843b399cc9404aa4ebbe) but d4n for Debian (ubuntu 24.04) failed again but for a different reason. The original fix made the expected progress ... now "fallback to installing from the 3rd party pkg provider Percona" worked. The installer ran correctly and got all the way to the final step: "No such file or directory," is misleading here as in earlier lines we see the creation of the symlink: So folder exists. looks like Percona package is simply built wrong for Ubuntu 24 as it tries to install the same startup file to both /lib and /usr/lib. I think we decided to use Percona workaround on the premise that "Ubuntu doesn't have Valkey" but Ubuntu has added it in Noble. Yes, Jammy doesn't have it but we don't run d4n tests on Jammy but only in Noble (see https://github.com/ceph/ceph/tree/main/qa/distros/supported-random-distro) Since Ubuntu ship valkey-server natively, we can start using it as Percona pkg seems to be broken on Noble anyways. The only concern would be Ubuntu ships valkey 7.2.13 while Rocky/CentOS ship 8.x, so this introduces a version skew across distros that the Percona didn't have. BUT, D4N's command set (HSET/ZADD/ZRANGE/HGET/ZREM/EXISTS/COPY/INCR/HGETALL) is well within 7.2 so this skewness doesn't really cause any issues. So, I just pushed a new evidence that uses Ubuntu's native "valkey-server" and tested this new (2nd) fix:
@adamemerson / @samarahu / @ivancich Let me know what you think. We can easily change the task to support Jammy (by bringing back the logic to fall back to Percona just for Jammy) but since we don't seem to support d4n test suite on Jammy, I don't think it's needed so just using the native packages gives us a clean solution. Please take a look at the latest state of the PR which now carries the 2nd fix. When/If approved again, I'll do a full rgw QA testing and some multiple d4n suite tests again. |
|
This is an automated message by src/script/redmine-upkeep.py. I have resolved the following tracker ticket due to the merge of this PR: No backports are pending for the ticket. If this is incorrect, please update the tracker |
Fixes: https://tracker.ceph.com/issues/79807
Related to #68193
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.