Skip to content

tests/ceph: bluestore, dmcrypt, and IPv6 test - #336580

Closed
benaryorg wants to merge 1 commit into
NixOS:masterfrom
benaryorg:ceph-dmcrypt-test
Closed

benaryorg wants to merge 1 commit into
NixOS:masterfrom
benaryorg:ceph-dmcrypt-test

Conversation

@benaryorg

Copy link
Copy Markdown
Contributor

Description of changes

Added a Ceph test incorporating both bluestore on top of dmcrypt as well as the ceph-volume tooling, and explicit IPv6.

This should cover the breakage of #334975 and in turn depends on #335684 being merged, otherwise the tests will fail.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Aug 22, 2024
@ofborg ofborg Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Aug 22, 2024

@nh2 nh2 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.

I will make the requested changes myself and merge them together in PR #335684 since this added tests covers the functionality fixed there.

Comment thread nixos/tests/all-tests.nix
ceph-multi-node = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-multi-node.nix {};
ceph-single-node = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-single-node.nix {};
ceph-single-node-bluestore = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-single-node-bluestore.nix {};
ceph-single-node-bluestore-dmcrypt = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./ceph-single-node-bluestore-dmcrypt.nix {};

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.

Also needs to be added to the lists of tests in ceph/default.nix.

{
name = "basic-single-node-ceph-cluster-bluestore-dmcrypt";
meta = with pkgs.lib.maintainers; {
maintainers = [ nh2 ];

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'll add you @benaryorg here as well since I'm not using dmcrypt in Ceph myself.

@nh2 nh2 mentioned this pull request Aug 31, 2024
3 of 13 tasks
@nh2

nh2 commented Aug 31, 2024 •

Copy link
Copy Markdown
Contributor

Cherry-picked in #335684 (comment), closing.

@nh2 nh2 closed this Aug 31, 2024
@nh2

nh2 commented Aug 31, 2024

Copy link
Copy Markdown
Contributor

I'll add you @benaryorg here as well since I'm not using dmcrypt in Ceph myself.

@benaryorg I wanted to add you as maintainer to the test but it didn't work because you don't seem to be in the mainterners list yet:

#338619

Could you add yourself as maintainer in another PR?

@benaryorg benaryorg mentioned this pull request Aug 31, 2024
1 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants