From 7e646d99589205633a21e19cbdc11b7999ae5da1 Mon Sep 17 00:00:00 2001 From: Redouane Kachach Date: Wed, 23 Feb 2022 11:39:40 +0100 Subject: [PATCH] mgr/cephadm: Adding python natsort module Needed by: https://tracker.ceph.com/issues/54026 Signed-off-by: Redouane Kachach --- admin/doc-requirements.txt | 1 + ceph.spec.in | 1 + debian/control | 3 ++- src/pybind/mgr/dashboard/requirements.txt | 1 + src/pybind/mgr/requirements-required.txt | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/doc-requirements.txt b/admin/doc-requirements.txt index 5532f6215c607..1ee0bd6beb24a 100644 --- a/admin/doc-requirements.txt +++ b/admin/doc-requirements.txt @@ -16,3 +16,4 @@ typed-ast sphinxcontrib-openapi sphinxcontrib-seqdiag mistune < 2.0.0 +natsort diff --git a/ceph.spec.in b/ceph.spec.in index bb3c0553af5a3..21764d2865ae8 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -656,6 +656,7 @@ Group: System/Filesystems %endif Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-asyncssh +Requires: python%{python3_pkgversion}-natsort Requires: cephadm = %{_epoch_prefix}%{version}-%{release} %if 0%{?suse_version} Requires: openssh diff --git a/debian/control b/debian/control index a49e44f96d88d..9c8684e172de3 100644 --- a/debian/control +++ b/debian/control @@ -344,7 +344,8 @@ Depends: ceph-mgr (= ${binary:Version}), ${python:Depends}, openssh-client, python3-jinja2, - python3-cherrypy + python3-cherrypy, + python3-natsort Description: cephadm orchestrator module for ceph-mgr Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, diff --git a/src/pybind/mgr/dashboard/requirements.txt b/src/pybind/mgr/dashboard/requirements.txt index 3aa1054dbe897..2901e9d193d6d 100644 --- a/src/pybind/mgr/dashboard/requirements.txt +++ b/src/pybind/mgr/dashboard/requirements.txt @@ -9,3 +9,4 @@ Routes prettytable pytest pyyaml +natsort diff --git a/src/pybind/mgr/requirements-required.txt b/src/pybind/mgr/requirements-required.txt index d71f25a027f47..226425f139202 100644 --- a/src/pybind/mgr/requirements-required.txt +++ b/src/pybind/mgr/requirements-required.txt @@ -13,3 +13,4 @@ pyyaml requests-mock scipy werkzeug +natsort