Project

General

Profile

Cleanup #43700

cephadm: make it a proper python package

Added by Sebastian Wagner 6 months ago. Updated 7 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
cephadm (binary)
Target version:
-
% Done:

0%

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

Description

Having everything in a single file in the source tree has some disadvantages:

  • we cannot reference things from the rest of the Ceph tree
    python tool support is more awkward
  • We don't have the possibility to structure the code properly (whatever that means)
  • no one in the community can install c-d via pip
  • nothing can have c-d as a python dependency
  • we're breaking IDE support

That would be resolvable by making c-d a proper python package and then create a zip that can then be curled from somewhere else and then directly executed.


Related issues

Blocks Orchestrator - Feature #44925: Please give cephadm a --version option New

History

#1 Updated by Sebastian Wagner 6 months ago

  • Target version set to v15.0.0

Conclusions from https://pad.ceph.com/p/orchestration-weekly

  • pip install cephadm
  • only in addition to RPMs
  • as replacmeent for curl
This issue creates an issue with cephadm's "root" mode:
  • pip install only to be used on the bootstrap host
  • need to find a solution for transferring cephadm. zipped egg only? zip on demand?

#2 Updated by Sebastian Wagner 6 months ago

  • Assignee set to Daniel Pivonka

#3 Updated by Juan Miguel Olmo Martínez 6 months ago

Sebastian Wagner wrote:

Conclusions from https://pad.ceph.com/p/orchestration-weekly

  • pip install cephadm
  • only in addition to RPMs
  • as replacmeent for curl
This issue creates an issue with cephadm's "root" mode:
  • pip install only to be used on the bootstrap host
  • need to find a solution for transferring cephadm. zipped egg only? zip on demand?

What about to use scp?

#4 Updated by Sebastian Wagner 5 months ago

  • Status changed from In Progress to New
  • Priority changed from Normal to High

#5 Updated by Sebastian Wagner 3 months ago

#6 Updated by Sebastian Wagner 3 months ago

  • Tracker changed from Bug to Support

#7 Updated by Sebastian Wagner 7 days ago

  • Tracker changed from Support to Cleanup
  • Assignee deleted (Daniel Pivonka)
  • Target version deleted (v15.0.0)

Also available in: Atom PDF