]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
radosgw: remove INST_PORT environment variable
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 2 Jul 2020 14:47:45 +0000 (10:47 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 20 Jul 2020 19:23:27 +0000 (21:23 +0200)
This variable isn't consumed by the container so we can remove it.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 1361e84a4e5f339018762e1468f2bfddece7b38e)

roles/ceph-config/tasks/rgw_systemd_environment_file.yml
roles/ceph-rgw/templates/ceph-radosgw.service.j2

index 21a77850a3b2900e414c598ef87ed635a99d762a..ee310f11084a102e057a693f7744933099da48de 100644 (file)
@@ -16,7 +16,6 @@
     mode: "0644"
     content: |
       INST_NAME={{ item.instance_name }}
-      INST_PORT={{ item.radosgw_frontend_port }}
   with_items: "{{ rgw_instances }}"
   when:
     - containerized_deployment | bool
index 6266fb418554dbc5f441d434cb6c7298aeec8ae2..f6000c181bea5c5cbadf400759b33a60facb172a 100644 (file)
@@ -46,7 +46,6 @@ ExecStart=/usr/bin/{{ container_binary }} run --rm --net=host \
   -e CEPH_DAEMON=RGW \
   -e CLUSTER={{ cluster }} \
   -e RGW_NAME={{ ansible_hostname }}.${INST_NAME} \
-  -e RGW_CIVETWEB_PORT=${INST_PORT} \
   -e CONTAINER_IMAGE={{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }} \
   --name=ceph-rgw-{{ ansible_hostname }}-${INST_NAME} \
   {{ ceph_rgw_docker_extra_env }} \