Project

General

Profile

Actions

Feature #47774

closed

Dashboard - Tasks #46756: mgr/dashboard: orchestration workflows & enhancements

orch,cephadm: host search with filters

Added by Ernesto Puerta over 3 years ago. Updated over 2 years ago.

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

0%

Source:
Tags:
dashboard
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

For the bulk addition of nodes, a search command (or add --dry-run) would be useful. Additionally, for dashboard integration, a list of potential nodes should be presented in order to cherry-pick the specific nodes.

With masks/lengths and fnmatch for exclusion patterns:

> ceph orch host search 192.0.2.0/255.255.255.0 --exclude 192.0.2.1 --exclude 192.0.2.[5-9]

> ceph orch host search 192.0.2.0/24 --exclude 192.0.2.1 --exclude 192.0.2.[5-9]

# or, reusing a existing command:

> ceph orch host add --dry-run 192.0.2.0/255.255.255.0 --exclude 192.0.2.1 --exclude 192.0.2.[5-9]

> ceph orch host add --dry-run 192.0.2.0/255.255.255.0 --exclude 192.0.2.1 --exclude 192.0.2.[5-9]

Ideally this should also involve that the host add command supports wildcard, but it's ok if the hosts are still added one by one.

Actions

Also available in: Atom PDF