ceph-ansible/library
Guillaume Abrioux 2957b69c8b ceph_key: handle error in a better way
When calling the `ceph_key` module with `state: info`, if the ceph
command called fails, the actual error is hidden by the module which
makes it pretty difficult to troubleshoot.

The current code always states that if rc is not equal to 0 the keyring
doesn't exist.

`state: info` should always return the actual rc, stdout and stderr.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1964889

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit d58500ade0)
2021-06-30 20:34:30 +02:00
..
__init__.py tests for the ceph_volume module 2017-12-11 09:58:06 -06:00
ceph_add_users_buckets.py library: flake8 ceph-ansible modules 2020-10-01 09:26:13 -04:00
ceph_crush.py library: flake8 ceph-ansible modules 2020-10-01 09:26:13 -04:00
ceph_dashboard_user.py module_utils: don't add newline to the data 2021-01-18 14:46:53 -05:00
ceph_fs.py library: add ceph_fs module 2020-10-06 14:59:49 +02:00
ceph_key.py ceph_key: handle error in a better way 2021-06-30 20:34:30 +02:00
ceph_osd_flag.py library: add ceph_osd_flag module 2020-12-15 14:12:44 +01:00
ceph_pool.py library: add missing `target_size_ratio` parameter support in ceph_pool module 2020-12-16 10:57:33 -05:00
ceph_volume.py ceph_volume: fix bug in `is_lv()` 2021-03-24 09:20:24 +01:00
cephadm_adopt.py library: add cephadm_adopt module 2020-12-16 17:39:26 -05:00
cephadm_bootstrap.py library: add cephadm_bootstrap module 2020-12-16 17:39:36 -05:00
config_template Using config_template 2015-12-16 17:19:50 +01:00
igw_client.py iscsi module linting 2018-10-30 14:41:36 +01:00
igw_gateway.py igw: Add check for mismatch ceph-iscsi and iscsigws.yml settings 2019-07-03 22:13:19 +02:00
igw_lun.py library: flake8 ceph-ansible modules 2020-10-01 09:26:13 -04:00
igw_purge.py library: flake8 ceph-ansible modules 2020-10-01 09:26:13 -04:00
radosgw_realm.py library: add radosgw_realm module 2020-10-06 15:00:17 +02:00
radosgw_user.py library: add radosgw_user module 2020-10-06 15:00:17 +02:00
radosgw_zone.py library: fix bug in radosgw_zone.py 2021-01-28 16:37:32 -05:00
radosgw_zonegroup.py library: add radosgw_zonegroup module 2020-10-06 15:00:17 +02:00