Commit Graph

7 Commits (9f44aa21b08b042c22e4e5fd3eae47c64c4d5ba2)

Author SHA1 Message Date
Teoman ONAY a5f589c8a9 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>
2023-02-14 10:52:14 +01:00
Wong Hoi Sing Edison 5938034e5e library: flake8 ceph-ansible modules
This commit ensure all ceph-ansible modules pass flake8 properly.

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
(cherry picked from commit beda1fe773)
2023-02-14 10:52:14 +01:00
Teoman ONAY 87c8e565ef Revert "library: flake8 ceph-ansible modules"
This reverts commit 35264b7381.

Signed-off-by: Teoman ONAY <tonay@ibm.com>
2023-02-14 10:52:14 +01:00
Teoman ONAY 971171d9e6 Revert "Initialize rbd pool at pool creation"
This reverts commit 5a750aa955.

Signed-off-by: Teoman ONAY <tonay@ibm.com>
2023-02-14 10:52:14 +01:00
Teoman ONAY f33c2ccd34 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 c39bbc3dea)

# Conflicts:
#	library/ceph_ec_profile.py
#	library/ceph_key.py
#	tests/library/test_ceph_key.py
2023-02-14 10:52:14 +01:00
Wong Hoi Sing Edison 35264b7381 library: flake8 ceph-ansible modules
This commit ensure all ceph-ansible modules pass flake8 properly.

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
(cherry picked from commit beda1fe773)
2021-07-07 13:16:04 +02:00
Dimitri Savineau 2e417ab901 library: add ceph_crush_rule module
This adds ceph_crush_rule ansible module for replacing the command
module usage with the ceph osd crush rule commands.
This module can manage both erasure and replicated crush rules.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2020-12-01 17:52:41 +01:00