set basic kolla structures for iscsid

* enable iscsid when ironic is enabled
* update sample inventory files with above
* add logrotate conf template for iscsid
* add 'common' role dependency for iscsi role

Change-Id: I3054b9139a43542febf26c3ce9a71b65f2fcdd84
Closes-bug: #1632850
This commit is contained in:
Waldemar Znoinski 2016-10-04 15:36:53 +00:00
parent b58147bcc0
commit 96016b756b
6 changed files with 10 additions and 1 deletions

View File

@ -259,7 +259,7 @@ enable_heat: "yes"
enable_horizon: "yes"
enable_influxdb: "no"
enable_ironic: "no"
enable_iscsid: "{{ enable_cinder_backend_iscsi | bool or enable_cinder_backend_lvm | bool }}"
enable_iscsid: "{{ enable_cinder_backend_iscsi | bool or enable_cinder_backend_lvm | bool or enable_ironic | bool }}"
enable_kuryr: "no"
enable_magnum: "no"
enable_manila: "no"

View File

@ -221,6 +221,7 @@ cloudkitty
[iscsid:children]
compute
storage
ironic-conductor
[tgtd:children]
storage

View File

@ -239,6 +239,7 @@ cloudkitty
[iscsid:children]
compute
storage
ironic-conductor
[tgtd:children]
storage

View File

@ -0,0 +1,3 @@
"/var/log/kolla/iscsi/iscsi.log"
{
}

View File

@ -9,6 +9,7 @@
( 'gnocchi', enable_gnocchi ),
( 'haproxy', enable_haproxy ),
( 'heat', enable_heat ),
( 'iscsid', enable_iscsid ),
( 'keepalived', enable_haproxy ),
( 'keystone', enable_keystone ),
( 'magnum', enable_magnum ),

View File

@ -0,0 +1,3 @@
---
dependencies:
- { role: common }