Project

General

Profile

Feature #48822

Add proper port management to mgr/cephadm

Added by Sebastian Wagner 4 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
ceph-nano
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

When thinking about co-locating daemons, we also have to think about the ports used by daemons:

  • Automatically change ports, when deploying daemons? (MONs?)
  • Prevent port conflicts in the scheduler (RGW)
  • Expose which ports are used by which daemon in the orch CLI
  • Allow co-location, if we don't have conflicts?

Related issues

Related to Orchestrator - Feature #45652: cephadm: Allow user to select monitoring stack ports New
Related to Orchestrator - Bug #45876: cephadm: handle port conflicts gracefully New
Blocks Orchestrator - Feature #47145: cephadm: Multiple daemons of the same service on single host Closed
Blocks Orchestrator - Feature #45996: adopted prometheus instance uses port 9095, regardless of original port number New

History

#1 Updated by Sebastian Wagner 3 months ago

  • Blocks Feature #47145: cephadm: Multiple daemons of the same service on single host added

#2 Updated by Sebastian Wagner 3 months ago

cat montioring.yaml

service_type: prometheus
placement:
  hosts:
  - label: monitoring
---
service_type: node-exporter
---
service_type: alertmanager
placement:
  hosts:
    label: monitoring
---
service_type: grafana
placement:
  hosts:
    label: monitoring

ceph orch apply -i monitoring.yaml

Juan Miguel, do you need anything else?

#3 Updated by Sebastian Wagner 3 months ago

  • Blocks Feature #45996: adopted prometheus instance uses port 9095, regardless of original port number added

#4 Updated by Sebastian Wagner 3 months ago

  • Related to Feature #45652: cephadm: Allow user to select monitoring stack ports added

#5 Updated by Sebastian Wagner 3 months ago

  • Related to Bug #45876: cephadm: handle port conflicts gracefully added

#6 Updated by Sebastian Wagner 2 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Sage Weil
  • Pull request ID set to 39931

#7 Updated by Sebastian Wagner about 1 month ago

  • Status changed from Fix Under Review to Closed

Also available in: Atom PDF