]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
kv scenario: add KV_PORT option 1363/head
authorSébastien Han <seb@redhat.com>
Tue, 14 Mar 2017 21:46:09 +0000 (22:46 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 14 Mar 2017 21:46:09 +0000 (22:46 +0100)
This option was missing for rrgw, mds, rbd mirror and nfs making these
daemon impossible to run on a kv deployment with containers.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-mds/templates/ceph-mds.service.j2
roles/ceph-nfs/templates/ceph-nfs.service.j2
roles/ceph-rbd-mirror/templates/ceph-rbd-mirror.service.j2
roles/ceph-rgw/templates/ceph-rgw.service.j2

index dcf9ff2bf2df141c10175120528b4a2fdb4c2d4a..3ea1a32cb29a4edcc3fe8806083218507bcd8c8a 100644 (file)
@@ -13,6 +13,7 @@ ExecStart=/usr/bin/docker run --rm --net=host \
    {% else -%}
    -e KV_TYPE={{kv_type}} \
    -e KV_IP={{kv_endpoint}} \
+   -e KV_PORT={{kv_port}} \
    {% endif -%}
    -v /etc/localtime:/etc/localtime:ro \
    -e CEPH_DAEMON=MDS \
index d7471c61e4c0d70aa3c8654244951f4d48613979..3b228b4794568d3e82befa40108d01478baeb2e3 100644 (file)
@@ -14,6 +14,7 @@ ExecStart=/usr/bin/docker run --rm --net=host \
    {% else -%}
    -e KV_TYPE={{kv_type}} \
    -e KV_IP={{kv_endpoint}}\
+   -e KV_PORT={{kv_port}} \
    {% endif -%}
    -v /etc/localtime:/etc/localtime:ro \
    --privileged \
index 6cf8069ea428d114754debbcc372ef675099c598..7bf77061e74f60373b5dbda17af80a7da94b2f99 100644 (file)
@@ -12,6 +12,7 @@ ExecStart=/usr/bin/docker run --rm --net=host \
    {% else -%}
    -e KV_TYPE={{kv_type}} \
    -e KV_IP={{kv_endpoint}} \
+   -e KV_PORT={{kv_port}} \
    {% endif -%}
    -v /etc/localtime:/etc/localtime:ro \
    -e CEPH_DAEMON=RBD_MIRROR \
index 0573aa2e29165c6dd12a6f74f1790326fdfd38da..b63c60878aa6a07837cf886db39d1cd897eaab5d 100644 (file)
@@ -13,6 +13,7 @@ ExecStart=/usr/bin/docker run --rm --net=host \
    {% else -%}
    -e KV_TYPE={{kv_type}} \
    -e KV_IP={{kv_endpoint}} \
+   -e KV_PORT={{kv_port}} \
    {% endif -%}
    -v /etc/localtime:/etc/localtime:ro \
    --privileged \