ffafebf87c
Introduced nova backend selection flag for Ceph and priority if multiple backends are configured Add mechanism to deploy arbitrary ceph.conf and keyring files into nova-compute and nova-libvirt containers Added documentation Change-Id: Id010ca9cc2d914e5358ef79edeb600a28220dd4b Implements: blueprint external-ceph
45 lines
1.6 KiB
YAML
45 lines
1.6 KiB
YAML
---
|
|
- include: ceph.yml
|
|
when:
|
|
- enable_ceph | bool and nova_backend == "rbd"
|
|
- inventory_hostname in groups['ceph-mon'] or
|
|
inventory_hostname in groups['compute'] or
|
|
inventory_hostname in groups['nova-api'] or
|
|
inventory_hostname in groups['nova-conductor'] or
|
|
inventory_hostname in groups['nova-consoleauth'] or
|
|
inventory_hostname in groups['nova-novncproxy'] or
|
|
inventory_hostname in groups['nova-scheduler']
|
|
|
|
- include: external-ceph.yml
|
|
when:
|
|
- enable_ceph | bool == False and nova_backend == "rbd"
|
|
- inventory_hostname in groups['compute']
|
|
|
|
- include: register.yml
|
|
when: inventory_hostname in groups['nova-api']
|
|
|
|
- include: config.yml
|
|
when: inventory_hostname in groups['compute'] or
|
|
inventory_hostname in groups['nova-api'] or
|
|
inventory_hostname in groups['nova-conductor'] or
|
|
inventory_hostname in groups['nova-consoleauth'] or
|
|
inventory_hostname in groups['nova-novncproxy'] or
|
|
inventory_hostname in groups['nova-scheduler']
|
|
|
|
- include: config-nova-fake.yml
|
|
when:
|
|
- enable_nova_fake | bool
|
|
- inventory_hostname in groups['compute']
|
|
|
|
- include: bootstrap.yml
|
|
when: inventory_hostname in groups['nova-api'] or
|
|
inventory_hostname in groups['compute']
|
|
|
|
- include: start.yml
|
|
when: inventory_hostname in groups['compute'] or
|
|
inventory_hostname in groups['nova-api'] or
|
|
inventory_hostname in groups['nova-conductor'] or
|
|
inventory_hostname in groups['nova-consoleauth'] or
|
|
inventory_hostname in groups['nova-novncproxy'] or
|
|
inventory_hostname in groups['nova-scheduler']
|