mirror of https://github.com/ceph/ceph-ansible.git
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
parent
8320c14191
commit
8567609b7e
|
@ -13,6 +13,7 @@ ExecStart=/usr/bin/docker run --rm --net=host \
|
||||||
{% else -%}
|
{% else -%}
|
||||||
-e KV_TYPE={{kv_type}} \
|
-e KV_TYPE={{kv_type}} \
|
||||||
-e KV_IP={{kv_endpoint}} \
|
-e KV_IP={{kv_endpoint}} \
|
||||||
|
-e KV_PORT={{kv_port}} \
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-e CEPH_DAEMON=MDS \
|
-e CEPH_DAEMON=MDS \
|
||||||
|
|
|
@ -14,6 +14,7 @@ ExecStart=/usr/bin/docker run --rm --net=host \
|
||||||
{% else -%}
|
{% else -%}
|
||||||
-e KV_TYPE={{kv_type}} \
|
-e KV_TYPE={{kv_type}} \
|
||||||
-e KV_IP={{kv_endpoint}}\
|
-e KV_IP={{kv_endpoint}}\
|
||||||
|
-e KV_PORT={{kv_port}} \
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
--privileged \
|
--privileged \
|
||||||
|
|
|
@ -12,6 +12,7 @@ ExecStart=/usr/bin/docker run --rm --net=host \
|
||||||
{% else -%}
|
{% else -%}
|
||||||
-e KV_TYPE={{kv_type}} \
|
-e KV_TYPE={{kv_type}} \
|
||||||
-e KV_IP={{kv_endpoint}} \
|
-e KV_IP={{kv_endpoint}} \
|
||||||
|
-e KV_PORT={{kv_port}} \
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-e CEPH_DAEMON=RBD_MIRROR \
|
-e CEPH_DAEMON=RBD_MIRROR \
|
||||||
|
|
|
@ -13,6 +13,7 @@ ExecStart=/usr/bin/docker run --rm --net=host \
|
||||||
{% else -%}
|
{% else -%}
|
||||||
-e KV_TYPE={{kv_type}} \
|
-e KV_TYPE={{kv_type}} \
|
||||||
-e KV_IP={{kv_endpoint}} \
|
-e KV_IP={{kv_endpoint}} \
|
||||||
|
-e KV_PORT={{kv_port}} \
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
--privileged \
|
--privileged \
|
||||||
|
|
Loading…
Reference in New Issue