making vagrant up work

pull/135/head
Cornelius Keller 2014-11-07 15:32:49 +01:00
parent ef5054394c
commit 497d987fa9
2 changed files with 9 additions and 6 deletions

View File

@ -16,7 +16,7 @@ dummy:
## Monitor options ## Monitor options
# #
#monitor_interface: eth1 monitor_interface: eth1
#mon_osd_down_out_interval: 600 #mon_osd_down_out_interval: 600
#mon_osd_min_down_reporters: 7 # number of OSDs per host + 1 #mon_osd_min_down_reporters: 7 # number of OSDs per host + 1

View File

@ -3,11 +3,14 @@
# Wait for mon discovery and quorum resolution # Wait for mon discovery and quorum resolution
# the admin key is not instantanely created so we have to wait a bit # the admin key is not instantanely created so we have to wait a bit
- name: If client.admin key exists #- name: If client.admin key exists
command: stat /etc/ceph/ceph.client.admin.keyring # command: stat /etc/ceph/ceph.client.admin.keyring
register: result # register: result
until: result.rc == 0 # until: result.rc == 0
changed_when: False # changed_when: False
- name: wait for client.admin key exists
wait_for: path=/etc/ceph/ceph.client.admin.keyring
- name: Create RGW keyring - name: Create RGW keyring
command: ceph auth get-or-create client.radosgw.gateway osd 'allow rwx' mon 'allow rw' -o /etc/ceph/keyring.radosgw.gateway creates=/etc/ceph/keyring.radosgw.gateway command: ceph auth get-or-create client.radosgw.gateway osd 'allow rwx' mon 'allow rw' -o /etc/ceph/keyring.radosgw.gateway creates=/etc/ceph/keyring.radosgw.gateway