mirror of https://github.com/ceph/ceph-ansible.git
adfb9d3b2a
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
|
||
---|---|---|
.. | ||
__init__.py | ||
ceph_add_users_buckets.py | ||
ceph_crush.py | ||
ceph_crush_rule.py | ||
ceph_dashboard_user.py | ||
ceph_ec_profile.py | ||
ceph_fs.py | ||
ceph_key.py | ||
ceph_mgr_module.py | ||
ceph_osd.py | ||
ceph_osd_flag.py | ||
ceph_pool.py | ||
ceph_volume.py | ||
ceph_volume_simple_activate.py | ||
ceph_volume_simple_scan.py | ||
cephadm_adopt.py | ||
cephadm_bootstrap.py | ||
config_template | ||
igw_client.py | ||
igw_gateway.py | ||
igw_lun.py | ||
igw_purge.py | ||
radosgw_realm.py | ||
radosgw_user.py | ||
radosgw_zone.py | ||
radosgw_zonegroup.py |