]> 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:51:55 +0000 (10:51 +0100)
commit89970915749902f71c3f11799b1968ad2da25459
tree3f16912f505142083d6170bcaee1f9b7bf320c74
parent4bdccef534d6635a1355c85bb634a2e1ad5c1118
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)
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