]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm/smb: Determine samba version within container
authorAnoop C S <anoopcs@cryptolab.net>
Mon, 15 Jul 2024 07:07:59 +0000 (12:37 +0530)
committerAnoop C S <anoopcs@cryptolab.net>
Tue, 16 Jul 2024 06:03:29 +0000 (11:33 +0530)
commit08d985933c529216c6e9aacc89fa1b03a0cdcc56
tree2f85a3581cc4f2a2d7fce8074d434bd2d0c8f0f2
parentf890abb06d6cddacb71f53d6a9b2be857d5308e9
cephadm/smb: Determine samba version within container

Implement a `get_version()` method to figure out the version of samba
running inside the container using smbd. This will help us to avoid
reporting version as "<unknown>" while listing the daemons via `ceph
orch ps`.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
src/cephadm/cephadm.py
src/cephadm/cephadmlib/daemons/smb.py