diff options
author | Justin chi <chigang@huawei.com> | 2015-10-13 11:35:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-10-13 11:35:11 +0000 |
commit | 9cb8fc08803b4bd21fb0f6da929d7cbc62c87b67 (patch) | |
tree | 75dfcd2821f06f3d4907f192434fc64927a8cac9 /deploy | |
parent | e617a3882c9a8dddaf495c41ccc0936ee13230e4 (diff) | |
parent | 87bebd92edcb7b83d8070f4762063f9673bfd9a8 (diff) |
Merge "fix glance image error when using ceph as backend storage"
Diffstat (limited to 'deploy')
-rw-r--r-- | deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml index c57151b7..b437d4a6 100644 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml +++ b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_openstack_conf.yml @@ -1,7 +1,7 @@ --- - name: modify glance-api.conf for ceph - shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "sed -i 's/^\(default_store\).*/\1 = rbd/' /etc/glance/glance-api.conf && sed -i '/^\[glance_store/a stores = rbd\nrbd_store_pool = images\nrbd_store_user = glance\nrbd_store_ceph_conf = /etc/ceph/ceph.conf\nrbd_store_chunk_size = 8' /etc/glance/glance-api.conf && sudo glance-control api restart" + shell: ssh -o StrictHostKeyChecking=no {{ item }} -t "sed -i 's/^\(default_store\).*/\1 = rbd/' /etc/glance/glance-api.conf && sed -i '/^\[glance_store/a stores = rbd\nrbd_store_pool = images\nrbd_store_user = glance\nrbd_store_ceph_conf = /etc/ceph/ceph.conf\nrbd_store_chunk_size = 8\nshow_image_direct_url=True' /etc/glance/glance-api.conf && sudo glance-control api restart" with_items: - "{{ groups['controller'] }}" tags: |