]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Initialize rbd pool at pool creation
authorTeoman ONAY <tonay@redhat.com>
Tue, 29 Nov 2022 08:47:58 +0000 (09:47 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 14 Feb 2023 09:52:14 +0000 (10:52 +0100)
commitf33c2ccd34be26d4938786e3ebe0461617e07004
treeb2c77044fd3d02787a644642952f12f5bdcefcdc
parent0ce0f6ab8eeb0ce96d932e69612d4c0e2a7f133f
Initialize rbd pool at pool creation

When creating a RBD pool it needs to be initialized as per documentation[1]
Modified (pre_)generate_ceph_cmd to make it usable with any command with
the same parameters as the ceph command

[1]https://docs.ceph.com/en/latest/rbd/rados-rbd-cmds/#create-a-block-device-pool

Signed-off-by: Teoman ONAY <tonay@redhat.com>
(cherry picked from commit c39bbc3deaf7a02d36daa39d752e91e94afb3c3e)

# Conflicts:
# library/ceph_ec_profile.py
# library/ceph_key.py
# tests/library/test_ceph_key.py
13 files changed:
library/ceph_crush_rule.py
library/ceph_dashboard_user.py
library/ceph_ec_profile.py
library/ceph_fs.py
library/ceph_key.py
library/ceph_mgr_module.py
library/ceph_osd.py
library/ceph_osd_flag.py
library/ceph_pool.py
module_utils/ca_common.py
tests/library/test_ceph_key.py
tests/library/test_ceph_pool.py
tests/module_utils/test_ca_common.py