From 731c730c41acf01a2806eb369a0024c9d25de02a Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 6 Oct 2026 14:25:15 -0600 Subject: [PATCH 1/2] Update supported operating systems Signed-off-by: Zack Cerza --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bcd0302e..9debadc2 100644 --- a/README.md +++ b/README.md @@ -14,15 +14,15 @@ It is currently under active development and has not yet had a formal release. ## Supported Operating Systems -☑︎ CentOS 9.Stream should work out of the box +☑︎ RHEL 8+ and derivatives (CentOS Stream, AlmaLinux, Rocky Linux) -☑︎ CentOS 8.Stream mostly works - but has not yet passed a Ceph test +☑︎ Fedora 36+ -☐ A recent Fedora should work but has not been tested +☑︎ Ubuntu 24.04+ - actively tested in CI -☒ Ubuntu does not currently ship a new enough podman +☑︎ Debian 12+ "Bookworm" -☒ MacOS will require special effort to support since podman operations are done inside a VM +☑︎ macOS - supported via the podman machine VM ## Requirements @@ -192,4 +192,4 @@ ceph-devstack -v start ```bash ceph-devstack wait teuthology podman logs -f teuthology -``` \ No newline at end of file +``` From 42cb96d463a5ffafc2dd9d7c530f1fdfb6ffef1a Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 7 Oct 2026 13:48:30 -0600 Subject: [PATCH 2/2] requirements: Run command -v in a shell Fixes: #51 Signed-off-by: Zack Cerza --- ceph_devstack/requirements.py | 2 +- tests/test_requirements_core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ceph_devstack/requirements.py b/ceph_devstack/requirements.py index 1291dbea..b556bde2 100644 --- a/ceph_devstack/requirements.py +++ b/ceph_devstack/requirements.py @@ -231,7 +231,7 @@ def fix_cmd(self): class FuseOverlayfsPresence(FixableRequirement): - check_cmd = ["command", "-v", "fuse-overlayfs"] + check_cmd = ["sh", "-c", "command -v fuse-overlayfs"] suggest_msg = "Could not find fuse-overlayfs" fix_cmd = ["sudo", "dnf", "install", "-y", "fuse-overlayfs"] diff --git a/tests/test_requirements_core.py b/tests/test_requirements_core.py index 0d1a325a..4ef3fe9f 100644 --- a/tests/test_requirements_core.py +++ b/tests/test_requirements_core.py @@ -258,7 +258,7 @@ def cls(self): return requirements.FuseOverlayfsPresence def test_fuse_overlayfs_presence_check_cmd(self, req): - assert req.check_cmd == ["command", "-v", "fuse-overlayfs"] + assert req.check_cmd == ["sh", "-c", "command -v fuse-overlayfs"] def test_fuse_overlayfs_presence_fix_cmd(self, req): assert req.fix_cmd == ["sudo", "dnf", "install", "-y", "fuse-overlayfs"]