![Jianghua Wang](/assets/img/avatar_default.png)
When the virt dirver is xenapi, we should explicitly specify host with dom0's hostname for nova-compute. The host field should be same as neutron-openvswitch-agent-xenapi. In order to use dom0's hostname, we need pull the bootstrap_xenapi to before running nova config tasks. The dom0's hostname will be included in the XenAPI facts. Change-Id: Ibfc964bbd6c569062ad33c1399f9a4612baf5b92 blueprint: xenserver-support
41 lines
1.1 KiB
YAML
41 lines
1.1 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:
|
|
- not enable_ceph | bool and nova_backend == "rbd"
|
|
- inventory_hostname in groups['compute']
|
|
|
|
- include: register.yml
|
|
when: inventory_hostname in groups['nova-api']
|
|
|
|
- include: bootstrap_xenapi.yml
|
|
when:
|
|
- inventory_hostname in groups['compute']
|
|
- nova_compute_virt_type == "xenapi"
|
|
|
|
- include: config.yml
|
|
|
|
- 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']
|
|
|
|
- name: Flush handlers
|
|
meta: flush_handlers
|
|
|
|
- include: simple_cell_setup.yml
|