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 -%}
|
||||
-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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue