Merge pull request #959 from font/nfs

NFS fixes
pull/960/head
Leseb 2016-08-26 10:36:17 +02:00 committed by GitHub
commit 6b37c21cf1
7 changed files with 8 additions and 3 deletions

View File

@ -351,6 +351,7 @@ dummy:
# by ceph.conf.j2 template. so it should always be defined
#mon_containerized_deployment_with_kv: false
#mon_containerized_deployment: false
#mon_containerized_default_ceph_conf_with_kv: false
##################

View File

@ -72,6 +72,7 @@ dummy:
#mon_containerized_deployment: false
#mon_containerized_deployment_with_kv: false
# This is currently in ceph-common defaults because it is shared with ceph-nfs
#mon_containerized_default_ceph_conf_with_kv: false
#ceph_mon_docker_interface: eth0
#ceph_mon_docker_subnet: # subnet of the ceph_mon_docker_interface

View File

@ -343,6 +343,7 @@ docker: false
# by ceph.conf.j2 template. so it should always be defined
mon_containerized_deployment_with_kv: false
mon_containerized_deployment: false
mon_containerized_default_ceph_conf_with_kv: false
##################

View File

@ -64,7 +64,8 @@ openstack_keys:
mon_containerized_deployment: false
mon_containerized_deployment_with_kv: false
mon_containerized_default_ceph_conf_with_kv: false
# This is currently in ceph-common defaults because it is shared with ceph-nfs
#mon_containerized_default_ceph_conf_with_kv: false
ceph_mon_docker_interface: eth0
#ceph_mon_docker_subnet: # subnet of the ceph_mon_docker_interface
ceph_mon_docker_username: ceph

View File

@ -11,6 +11,7 @@
docker:
image: "{{ ceph_rgw_docker_username }}/{{ ceph_rgw_docker_imagename }}:{{ ceph_rgw_docker_image_tag }}"
name: ceph-{{ ansible_hostname }}-rgw-user
hostname: "{{ ansible_hostname }}"
expose: "{{ ceph_rgw_civetweb_port }}"
ports: "{{ ceph_rgw_civetweb_port }}:{{ ceph_rgw_civetweb_port }}"
state: running

View File

@ -55,7 +55,7 @@
- include: create_configs.yml
when:
inventory_hostname == groups.nfss[0] and
mon_containerized_default_ceph_conf_with_kv
not mon_containerized_default_ceph_conf_with_kv
# Copy Ganesha configs to host
- include: fetch_configs.yml

View File

@ -25,7 +25,7 @@
- name: push ceph files to the ansible server
fetch:
src: "{{ item.0 }}"
dest: "{{ fetch_directory }}/docker_mon_files/var/lib/ceph/radosgw/{{ ansible_hostname }}/keyring"
dest: "{{ fetch_directory }}/docker_mon_files/var/lib/ceph/radosgw/keyring"
flat: yes
with_together:
- rgw_config_keys