Run nova-compute and nova-compute-ironic at the same time on kolla-k8s

In kolla-kubernetes, nova-compute-ironic is ran with a separate virtual
interface with a different hostname. So it is OK to run nova-compute and
nova-compute-ironic on the same node.

Change-Id: I3b0f12f128af8210bc97502dbc01469f619dd1ac
This commit is contained in:
Jeffrey Zhang 2017-02-22 09:57:07 +08:00
parent df29551f8d
commit bc9130d822

View File

@ -112,7 +112,7 @@ nova_services:
group: "compute"
image: "{{ nova_compute_image_full }}"
privileged: True
enabled: "{{ not enable_nova_fake | bool and not enable_ironic | bool }}"
enabled: "{{ True if orchestration_engine == 'KUBERNETES' else not enable_nova_fake | bool and not enable_ironic | bool }}"
volumes:
- "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"