Project

General

Profile

Bug #43700

cephadm: make it a proper python package

Added by Sebastian Wagner 28 days ago. Updated 5 days ago.

Status:
New
Priority:
High
Category:
bin/cephadm
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

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.

History

#1 Updated by Sebastian Wagner 28 days 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 28 days ago

  • Assignee set to Daniel Pivonka

#3 Updated by Juan Miguel Olmo Martínez 27 days 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 days ago

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

Also available in: Atom PDF