]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-handler: fix curl ipv6 command with rgw
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 22 Oct 2020 19:05:12 +0000 (15:05 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 2 Nov 2020 21:34:51 +0000 (16:34 -0500)
commitfa83929b8e57ca9b6ed00a33e2abaddd5be56496
treef71548287e0ae4d66b4999b4c22f078c14e5e681
parentb5985d2e8308f7ad885166194e8ca7810375f82c
ceph-handler: fix curl ipv6 command with rgw

When using the curl command with ipv6 address and brackets then we need
to use the -g option otherwise the command fails.

$ curl http://[fdc2:328:750b:6983::6]:8080
curl: (3) [globbing] error: bad range specification after pos 9

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit cdb7b09cd7631eb1af0c70360c0f9959526bc795)
roles/ceph-handler/templates/restart_rgw_daemon.sh.j2