Skip to content

qa/tasks/cephadm: set objecstore optionally during OSD deployment - #67855

Closed
adk3798 wants to merge 1 commit into
ceph:mainfrom
adk3798:cephadm-task-bootstrap-objectstore-flag
Closed

adk3798 wants to merge 1 commit into
ceph:mainfrom
adk3798:cephadm-task-bootstrap-objectstore-flag

Conversation

@adk3798

@adk3798 adk3798 commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Otherwise upgrade tests starting from earlier versions fail to deploy OSDs. The attempted command ends up being

Command failed on trial017 with status 22: 'sudo /home/ubuntu/cephtest/cephadm --image quay.ceph.io/ceph-ci/ceph:squid shell -c /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring --fsid 7dfd9f3b-207a-11f1-bde4-d404e6e7d460 -- ceph orch daemon add osd trial017:vg_nvme/lv_4 --objectstore bluestore'

2026-03-15T14:24:26.506 INFO:teuthology.orchestra.run.trial017.stderr:--objectstore not valid: --objectstore not in raw|lvm
2026-03-15T14:24:26.506 INFO:teuthology.orchestra.run.trial017.stderr:Invalid command: unused arguments: ['--objectstore', 'bluestore']

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.

Otherwise upgrade tests starting from earlier versions
fail to deploy OSDs. The attempted command ends up being

Command failed on trial017 with status 22: 'sudo /home/ubuntu/cephtest/cephadm
--image quay.ceph.io/ceph-ci/ceph:squid shell -c /etc/ceph/ceph.conf
-k /etc/ceph/ceph.client.admin.keyring --fsid 7dfd9f3b-207a-11f1-bde4-d404e6e7d460
-- ceph orch daemon add osd trial017:vg_nvme/lv_4 --objectstore bluestore'

2026-03-15T14:24:26.506 INFO:teuthology.orchestra.run.trial017.stderr:--objectstore not valid:  --objectstore not in raw|lvm
2026-03-15T14:24:26.506 INFO:teuthology.orchestra.run.trial017.stderr:Invalid command: unused arguments: ['--objectstore', 'bluestore']

Signed-off-by: Adam King <[email protected]>
Comment thread qa/tasks/cephadm.py Resolved
@yaarith

yaarith commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

@adk3798 can we add the Fixes line to the commit message please?
Fixes: https://tracker.ceph.com/issues/75440

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

LGTM

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

LGTM.

@vshankar

Copy link
Copy Markdown
Contributor

vshankar added a commit to vshankar/ceph that referenced this pull request Mar 24, 2026
* refs/pull/67855/head:

Reviewed-by: Redouane Kachach <[email protected]>
Reviewed-by: Venky Shankar <[email protected]>
@vshankar

Copy link
Copy Markdown
Contributor

@adk3798 @rkachach - I ran into failures when deploying OSDs with this PR included in my test branch (but I am not 100% sure). Sample failure: https://pulpito.ceph.com/vshankar-2026-03-24_04:28:47-fs-wip-vshankar-testing-20260323.164129-testing-default-trial/118486/

2026-03-24T04:44:40.124 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_teuthology_c5deb799f72d19919e24da00a297c31b33741ccf/teuthology/contextutil.py", line 30, in nested
    vars.append(enter())
                ^^^^^^^
  File "/usr/lib/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/home/teuthworker/src/github.com_vshankar_ceph_48896dbc0dc72a50de77fa8c04e5ed97fe322324/qa/tasks/cephadm.py", line 1170, in ceph_osds
    while proceed():
          ^^^^^^^^^
  File "/home/teuthworker/src/git.ceph.com_teuthology_c5deb799f72d19919e24da00a297c31b33741ccf/teuthology/contextutil.py", line 134, in __call__
    raise MaxWhileTries(error_msg)
teuthology.exceptions.MaxWhileTries: reached maximum tries (120) after waiting for 120 seconds

In the interest of time, I have dropped this change from my test branch. Will revisit this in my next.

@rkachach

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jun 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants