ceph-ansible/roles/ceph-handler/templates
Dimitri Savineau 9cc5d1e903 ceph-handler: Fix radosgw_address default value
The rgw restart script set the RGW_IP variable depending on ansible
variables:
  - radosgw_address
  - radosgw_address_block
  - radosgw_interface

Those variables have default values defined in ceph-defaults role:

radosgw_interface: interface
radosgw_address: 0.0.0.0
radosgw_address_block: subnet

But in the rgw restart script we always use the radosgw_address value
instead of the radosgw_interface when defined because we aren't testing
the right default value.
As a consequence, the RGW_IP variable will be set to 0.0.0.0 even if
the ip address associated to the radosgw_interface variable is set
correctly. This causes the check_rest function to fail.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2019-07-07 07:24:38 +02:00
..
restart_mds_daemon.sh.j2 handler: show unit logs on error 2018-11-27 12:44:15 +00:00
restart_mgr_daemon.sh.j2 handler: show unit logs on error 2018-11-27 12:44:15 +00:00
restart_mon_daemon.sh.j2 handler: show unit logs on error 2018-11-27 12:44:15 +00:00
restart_nfs_daemon.sh.j2 handler: show unit logs on error 2018-11-27 12:44:15 +00:00
restart_osd_daemon.sh.j2 ceph-handler: Fix OSD restart script 2019-06-21 14:49:55 -04:00
restart_rbd_mirror_daemon.sh.j2 handler: show unit logs on error 2018-11-27 12:44:15 +00:00
restart_rbd_target_api.sh.j2 add ceph-handler role 2018-09-28 15:15:49 +00:00
restart_rbd_target_gw.sh.j2 add ceph-handler role 2018-09-28 15:15:49 +00:00
restart_rgw_daemon.sh.j2 ceph-handler: Fix radosgw_address default value 2019-07-07 07:24:38 +02:00
restart_tcmu_runner.sh.j2 add ceph-handler role 2018-09-28 15:15:49 +00:00