Skip to content

ceph-volume: add seastore OSDs support#64323

Merged
adk3798 merged 1 commit intoceph:mainfrom
guits:cv-seastore
Jul 29, 2025
Merged

ceph-volume: add seastore OSDs support#64323
adk3798 merged 1 commit intoceph:mainfrom
guits:cv-seastore

Conversation

@guits
Copy link
Contributor

@guits guits commented Jul 3, 2025

This adds the seastore OSD objectstore support to ceph-volume.

Fixes: https://tracker.ceph.com/issues/71414

@guits
Copy link
Contributor Author

guits commented Jul 3, 2025

jenkins ceph-volume unit tests

Copy link
Contributor

@Matan-B Matan-B left a comment

Choose a reason for hiding this comment

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

That's great, thank you!

if self.identity.daemon_type == 'osd' and config_json is not None:
if 'objectstore' in config_json:
objectstore = config_json['objectstore']
ctr.args = ctr.args + [f'--osd-objectstore={objectstore}']
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: this depends on #63817 as currently crimson expects --crimson-osd-objectstore.

Copy link
Contributor

@Matan-B Matan-B Jul 7, 2025

Choose a reason for hiding this comment

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

merged!
cc: @mohit84 @guits

@Matan-B Matan-B added this to Crimson Jul 3, 2025
@Matan-B Matan-B moved this to Needs QA in Crimson Jul 3, 2025
@Matan-B Matan-B requested a review from cyx1231st July 3, 2025 10:27
@Matan-B Matan-B added the crimson label Jul 3, 2025
@guits guits force-pushed the cv-seastore branch 3 times, most recently from f2789f5 to 45bcdb3 Compare July 3, 2025 12:35
This adds the seastore OSD objectstore support to ceph-volume.

Fixes: https://tracker.ceph.com/issues/71414

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
@guits
Copy link
Contributor Author

guits commented Jul 4, 2025

jenkins ceph-volume unit tests

@Matan-B Matan-B moved this from Needs QA to Tested in Crimson Jul 6, 2025
Copy link
Member

@cyx1231st cyx1231st left a comment

Choose a reason for hiding this comment

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

Mostly bluestore refactors I'm not familiar of.

LGTM as an initial step, as long as it works for seastore.

Please let me know if there is any question in interacting with seastore.


def has_seastore_label(device_path: str) -> bool:
is_seastore = False
seastore_disk_signature = b'seastore block device\n' # 23 bytes including newline
Copy link
Member

Choose a reason for hiding this comment

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

depends on #64333

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the has_seastore_label() function is not used anywhere in ceph-volume yet, it has been implemented in anticipation of potential future use.

Copy link
Contributor

@Matan-B Matan-B Jul 8, 2025

Choose a reason for hiding this comment

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

Can we add the the usage of seastore in this PR as well? Are there any missing deps?

Ah, this is needed for raw devices only

@adk3798 adk3798 merged commit 0300dce into ceph:main Jul 29, 2025
15 checks passed
@Matan-B Matan-B moved this from Tested to Merged (Main) in Crimson Jul 29, 2025
@guits guits deleted the cv-seastore branch July 29, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Merged (Main)

Development

Successfully merging this pull request may close these issues.

5 participants