ceph-ansible/roles
Guillaume Abrioux adfb9d3b2a 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:17 +02:00
..
ceph-client Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-common rhcs: remove ISO install method 2021-06-30 20:33:44 +02:00
ceph-config Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-container-common Container: Fixing service name lvm2-lvmetad 2021-06-17 01:50:27 +02:00
ceph-container-engine Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-crash Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-dashboard Config the monitoring stack components api urls using a VIP 2021-04-16 08:33:16 +02:00
ceph-defaults rhcs: remove ISO install method 2021-06-30 20:33:44 +02:00
ceph-facts multisite: fix bug during switch2containers 2021-06-17 08:15:09 +02:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-14 17:36:17 +01:00
ceph-grafana dashboard: set cookie_secure in grafana 2021-06-07 15:12:19 +02:00
ceph-handler rolling_update: fix mon+rgw/multisite collocation 2021-06-14 13:58:50 +02:00
ceph-infra Use ansible_facts 2021-03-26 00:04:49 +01:00
ceph-iscsi-gw container/systemd: ensure /var/log/ceph exists 2021-04-14 20:04:54 +02:00
ceph-mds container/systemd: ensure /var/log/ceph exists 2021-04-14 20:04:54 +02:00
ceph-mgr container/systemd: ensure /var/log/ceph exists 2021-04-14 20:04:54 +02:00
ceph-mon ceph_key: handle error in a better way 2021-06-30 20:34:17 +02:00
ceph-nfs nfs: do no copy client.bootstrap-rgw when using mds 2021-06-17 08:15:36 +02:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-osd ceph-osd: allow to use ceph_tcmalloc_max_total_thread_cache for bluestore 2021-04-30 15:03:58 +02:00
ceph-prometheus dashboard: Add new prometheus alert 2021-06-30 15:30:31 +02:00
ceph-rbd-mirror container/systemd: ensure /var/log/ceph exists 2021-04-14 20:04:54 +02:00
ceph-rgw ceph-rgw: fix pg_autoscale_mode for pool 2021-05-07 13:36:09 +02:00
ceph-rgw-loadbalancer ceph-rgw-loadbalancer: Fix rgw_ports fact 2021-04-15 13:20:45 +02:00
ceph-validate rhcs: remove ISO install method 2021-06-30 20:33:44 +02:00