kv scenario: add KV_PORT option

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>
pull/1363/head
Sébastien Han 2017-03-14 22:46:09 +01:00
parent 8320c14191
commit 8567609b7e
4 changed files with 4 additions and 0 deletions

View 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 \

View 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 \

View 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 \

View 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 \