Fix hardcode in ceph options

* add usage of configuraion ceph username instead of harcoded

Change-Id: Ie62d5af2804d349a4a0bf53e1646f8a499a007a3
This commit is contained in:
Igor Yozhikov 2016-12-05 18:05:45 +03:00
parent 7a028195cb
commit 02f2872426
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
[client.cinder] [client.{{ cinder.ceph.username }}]
key = {{ cinder.ceph.key }} key = {{ cinder.ceph.key }}

View File

@ -54,5 +54,5 @@ files:
path: /etc/ceph/ceph.conf path: /etc/ceph/ceph.conf
content: ceph.conf.j2 content: ceph.conf.j2
nova-ceph-key: nova-ceph-key:
path: /etc/ceph/ceph.client.cinder.keyring path: /etc/ceph/ceph.client.{{ cinder.ceph.username }}.keyring
content: ceph.client.cinder.keyring.j2 content: ceph.client.cinder.keyring.j2