ceph-ansible/roles
Guillaume Abrioux c9d80af4e0 dashboard: fix timeout usage on rgw user creation command
For some reason, this is making the playbook failing like following:

```
TASK [ceph-dashboard : create radosgw system user] ************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
task path: /home/guits/ceph-ansible/roles/ceph-dashboard/tasks/configure_dashboard.yml:106
Tuesday 30 July 2019  10:04:54 +0200 (0:00:01.910)       0:11:22.319 **********
FAILED - RETRYING: create radosgw system user (3 retries left).
FAILED - RETRYING: create radosgw system user (2 retries left).
FAILED - RETRYING: create radosgw system user (1 retries left).
fatal: [mgr0 -> mon0]: FAILED! => changed=true
  attempts: 3
  cmd: timeout 20 podman exec ceph-mon-mon0 radosgw-admin user create --uid=ceph-dashboard --display-name='Ceph dashboard' --system
  delta: '0:00:20.021973'
  end: '2019-07-30 08:06:32.656066'
  msg: non-zero return code
  rc: 124
  start: '2019-07-30 08:06:12.634093'
  stderr: 'exec failed: container_linux.go:336: starting container process caused "process_linux.go:82: copying bootstrap data to pipe caused \"write init-p: broken pipe\""'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>
```

using `timeout -f -s KILL` fixes this issue.

Also, there is no need to use `shell` module here, let's switch to
`command`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2019-07-30 13:52:44 +02:00
..
ceph-client osd: add 'osd blacklist' cap for osp keyrings 2019-07-29 09:57:25 -04:00
ceph-common Change ansible_lsb by ansible_distribution_release 2019-06-21 11:55:05 -04:00
ceph-config Add radosgw_frontend_ssl_certificate parameter 2019-07-02 14:14:37 -04:00
ceph-container-common ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
ceph-container-engine ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
ceph-dashboard dashboard: fix timeout usage on rgw user creation command 2019-07-30 13:52:44 +02:00
ceph-defaults osd: add 'osd blacklist' cap for osp keyrings 2019-07-29 09:57:25 -04:00
ceph-facts dashboard: use dedicated group only 2019-07-29 14:42:45 +02:00
ceph-fetch-keys meta: set the right minimum ansible version required for galaxy 2018-12-11 09:59:25 +01:00
ceph-grafana Avoid to setup provisioners in a fully containerized environment 2019-07-23 09:06:50 +02:00
ceph-handler handler: fix bug in osd handlers 2019-07-18 16:22:51 +02:00
ceph-infra dashboard: use variables for port value 2019-07-18 07:22:13 +02:00
ceph-iscsi-gw ceph-iscsi: Update gateway config/template 2019-07-10 09:44:40 +02:00
ceph-mds Fix backward compat with old cephfs_pools format 2019-07-19 11:56:58 -04:00
ceph-mgr mgr: fix a typo 2019-07-29 14:42:45 +02:00
ceph-mon ceph-mon: Fix cluster name parameter 2019-07-07 07:21:29 +02:00
ceph-nfs nfs: clean template 2019-06-28 15:09:19 -04:00
ceph-node-exporter dashboard: remove cfg80211 module installation 2019-07-29 14:42:45 +02:00
ceph-osd ceph-osd: check container engine rc for pools 2019-07-29 15:55:04 +02:00
ceph-prometheus dashboard: use variables for port value 2019-07-18 07:22:13 +02:00
ceph-rbd-mirror container: rename docker directories 2019-07-24 16:31:46 +02:00
ceph-rgw container: rename docker directories 2019-07-24 16:31:46 +02:00
ceph-rgw-loadbalancer Add role definitions of ceph-rgw-loadbalancer 2019-06-06 17:12:04 +02:00
ceph-validate validate: add checks for grafana-server group definition 2019-07-29 14:42:45 +02:00