Skip to content

mgr/orchestrator: accept device paths that contain colons - #72739

Merged
guits merged 1 commit into
ceph:mainfrom
guits:osd-deploy-pci-path
Oct 26, 2026
Merged

guits merged 1 commit into
ceph:mainfrom
guits:osd-deploy-pci-path

Conversation

@guits

@guits guits commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

ceph orch daemon add osd splits the host:device argument on every colon. PCI by-path names such as pci-0000:cd:00.0-nvme-1 contain extra colons and the unpack then fails with "too many values to unpack".

Only the first colon separates the host from the device spec.

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

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)

`ceph orch daemon add osd` splits the host:device argument on every
colon. PCI by-path names such as pci-0000:cd:00.0-nvme-1 contain
extra colons and the unpack then fails with "too many values to
unpack".

Only the first colon separates the host from the device spec.

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

Signed-off-by: Guillaume Abrioux <[email protected]>
@guits guits self-assigned this Oct 15, 2026
@guits
guits requested a review from a team as a code owner October 15, 2026 11:11
@guits

guits commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@guits
guits merged commit bcb5514 into ceph:main Oct 26, 2026
21 of 25 checks passed
@guits
guits deleted the osd-deploy-pci-path branch October 26, 2026 13:20
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.

2 participants