Project

General

Profile

Actions

Feature #55576

closed

[RFE] Add a rescan subcommand to the orch device command

Added by Paul Cuzner almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
orchestrator
Target version:
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy, pacific
Reviewed:
Affected Versions:
Pull request ID:

Description

When disks are added/removed on a server (or enclosure) the bus/adapter may need to be rescanned to pick up the changes.

This is the kind of UX that should work.
ceph orch device rescan <host>

Running this with rook/k8s would be a no-op, but for cephadm it could run a cephadm subcommand on the host that rescans all scsi buses.


Related issues 2 (0 open2 closed)

Copied to Orchestrator - Backport #56743: pacific: [RFE] Add a rescan subcommand to the orch device commandResolvedAdam KingActions
Copied to Orchestrator - Backport #56744: quincy: [RFE] Add a rescan subcommand to the orch device commandResolvedAdam KingActions
Actions #2

Updated by Paul Cuzner almost 2 years ago

Sebastian Wagner wrote:

https://github.com/ceph/ceph/blob/524ef52573141c819a71f9da93dac8db9fb81fc0/src/pybind/mgr/cephadm/module.py#L2051

maybe this just needs proper documentation?

A rescan requires a "probe" against host adapters - this triggers device node creation from the kernel. Performing a ceph-volume inventory only processes what is already defined.

Actions #3

Updated by Paul Cuzner almost 2 years ago

  • Pull request ID set to 46420

added reference to PR

Actions #4

Updated by Paul Cuzner almost 2 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Paul Cuzner
Actions #5

Updated by Adam King over 1 year ago

  • Backport changed from quincy pacific to quincy, pacific
Actions #6

Updated by Adam King over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Backport Bot over 1 year ago

  • Copied to Backport #56743: pacific: [RFE] Add a rescan subcommand to the orch device command added
Actions #8

Updated by Backport Bot over 1 year ago

  • Copied to Backport #56744: quincy: [RFE] Add a rescan subcommand to the orch device command added
Actions #9

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #10

Updated by Adam King over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF